Package it.polito.appeal.traci

Examples of it.polito.appeal.traci.RemoveVehicleQuery.run()


  @Test
  public void testRemoveVehicle() throws IOException {
    getFirstVehicle();
    RemoveVehicleQuery rvq = conn.queryRemoveVehicle();
    rvq.setVehicleData(firstVehicle, 1);
    rvq.run();
    conn.nextSimStep();
    assertNull(conn.getVehicleRepository().getByID(firstVehicle.getID()));
  }
 
  // TODO add induction loop tests
View Full Code Here


  @Test
  public void testRemoveVehicle() throws IOException {
    getFirstVehicle();
    RemoveVehicleQuery rvq = conn.queryRemoveVehicle();
    rvq.setVehicleData(firstVehicle, 1);
    rvq.run();
    conn.nextSimStep();
    assertNull(conn.getVehicleRepository().getByID(firstVehicle.getID()));
  }
 
  /**
 
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.