Package it.polito.appeal.traci.POI

Examples of it.polito.appeal.traci.POI.ChangeColorQuery


  @Test
  public void testSetPOIColor() throws IOException {
    Repository<POI> poiRepo = conn.getPOIRepository();
    POI poi = poiRepo.getByID("0");
    final Color newColor = Color.cyan;
    ChangeColorQuery q = poi.getChangeColorQuery();
    q.setValue(newColor);
    q.run();
    assertEquals(newColor, poi.getReadColorQuery().get());
  }
View Full Code Here

TOP

Related Classes of it.polito.appeal.traci.POI.ChangeColorQuery

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.