Package lejos.nxt

Examples of lejos.nxt.Poll


  @Test
  public void setPollerTest() {
    // setPoller() can only be called via setThrottle(...) since
    // modifier is private
    Poll poll = new Poll();
    poll.setThrottle(1);
    assertTrue(isCalled);
  }
View Full Code Here


    isCalled = true;
  }

  @Test
  public void setThrottleTest() {
    Poll poll = new Poll();
    poll.setThrottle(1);
    assertTrue(isCalled);
    assertTrue(hasExpectedParams);
  }
View Full Code Here

TOP

Related Classes of lejos.nxt.Poll

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.