Changeset 345 in tmcsimulator for trunk/test/tmcsim
- Timestamp:
- 03/24/2019 09:48:29 AM (7 years ago)
- Location:
- trunk/test/tmcsim
- Files:
-
- 2 edited
-
cadsimulator/CADSimulatorConsoleTest.java (modified) (3 diffs)
-
utilities/BuildHighwayFileTest.java (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/tmcsim/cadsimulator/CADSimulatorConsoleTest.java
r228 r345 75 75 fullExpect = fullExpect.replaceAll("\n", ","); 76 76 // System.out.println(fullExpect); 77 //System.out.println(result.substring(result.length() - fullExpect.length(), result.length()));77 System.out.println(result.substring(result.length() - fullExpect.length(), result.length())); 78 78 // String diff = StringUtils.difference(fullExpect, result); 79 79 boolean match = result.endsWith(fullExpect); … … 276 276 +"Events_File = config/vds_data/atmsBatchEvents.txt\n" 277 277 +"FEPSim_IP_addr = localhost\n" 278 +"Output_Destination = Console\n"; 278 +"Output_Destination = Console\n" 279 +"Json_Path = /tmp/highway_status.json\n"; 279 280 static final String paramicsData = "ParamicsCommHost = 127.0.0.1\n" 280 281 + "ParamicsCommPort = 4450\n" … … 303 304 cf.delete(); 304 305 writedata("config.txt", configData); 306 File tf = new File ("tconfig.txt"); 307 tf.delete(); 305 308 writedata("tconfig.txt", trafficMgrData); 306 309 writedata("pconfig.txt", paramicsData); -
trunk/test/tmcsim/utilities/BuildHighwayFileTest.java
r338 r345 29 29 } 30 30 31 public void testCreateVDSlookup() 31 /** Just a smoke test to see if it creates the output file */ 32 public void testCheckFileCreated() 32 33 { 33 34 System.out.println("createVDSlookup"); 34 BuildHighwayFile instance = new BuildHighwayFile(); 35 instance.createLanelookup(); 35 BuildHighwayFile app = new BuildHighwayFile(); 36 app.createLDSdict(); 37 app.createVDSdict(); 38 app.createLanelookup(); 39 app.createHighwayFile(); 40 app.showLeftoverVDS(); 41 36 42 String filename = BuildHighwayFile.dirpath +BuildHighwayFile.loopFileName; 37 43 File f = new File(filename);
Note: See TracChangeset
for help on using the changeset viewer.
