Package it.polito.appeal.traci

Examples of it.polito.appeal.traci.RemoveVehicleQuery


  }
 
  @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


   * @throws IOException
   */
  @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

Related Classes of it.polito.appeal.traci.RemoveVehicleQuery

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.