Package nz.ac.waikato.modeljunit.timing.examples

Examples of nz.ac.waikato.modeljunit.timing.examples.PhoneModel


{

  @Test
  public void testLoadModel()
  {
    TimedModel model = new TimedModel(new PhoneModel());

    //make sure the Time and 2 Timeouts were read properly
    assertEquals(0, model.getTime());
    assertEquals(2, model.getNumTimeouts());
    assertEquals("dialTimeout", model.getTimeoutName(0));
View Full Code Here


  }

  @Test
  public void testGetTime()
  {
    PhoneModel phoneFSM = new PhoneModel();
    TimedModel model = new TimedModel(phoneFSM);

    assertEquals(0, phoneFSM.now);
    assertEquals(0, model.getTime());
View Full Code Here

TOP

Related Classes of nz.ac.waikato.modeljunit.timing.examples.PhoneModel

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.