Changeset 653 in tmcsimulator for trunk/test/tmcsim/cadsimulator/CADSimulatorConsoleTest.java
- Timestamp:
- 09/08/2022 02:22:57 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/tmcsim/cadsimulator/CADSimulatorConsoleTest.java
r558 r653 9 9 import java.util.logging.Logger; 10 10 import junit.framework.TestCase; 11 import org.apache.commons.lang.StringUtils; 11 12 import static org.mockito.Mockito.mock; 12 13 import tmcsim.cadsimulator.viewer.CADConsoleViewer; … … 74 75 { 75 76 String result = sw.toString().trim(); 77 System.out.println(""+result); 76 78 result = result.replaceAll("\n", ","); 77 79 String fullExpect = expect.trim(); … … 221 223 + "Network Loaded : None\n" 222 224 + "-- Info Messages --\n" 223 + ". = Console Info Message.\n" 225 + ". = Console Info Message." 226 + "tmcsim.cadsimulator.Coordinator.copyXMLfile = Loaded script copied to webapps/dynamicdata/incident_script.xml\n" 224 227 + "-- Error Messages --\n" 225 228 + "Someclass.Somemethod = Sample error message.\n"; … … 233 236 + "Network Loaded : None\n" 234 237 + "-- Info Messages --\n" 235 + ". = Console Info Message.\n" 238 + ". = Console Info Message." 239 + "tmcsim.cadsimulator.Coordinator.copyXMLfile = Loaded script copied to webapps/dynamicdata/incident_script.xml\n" 236 240 + "-- Error Messages --\n" 237 241 + "Someclass.Somemethod = Sample error message.\n"; … … 240 244 String autoloadScriptname = kScenarioFolder+"/one-incident.xml"; 241 245 app.theCoordinator.loadScriptFile(new File(autoloadScriptname)); 242 pause( 500);246 pause(2000); 243 247 verify("Status should be 'ready'", expected8); 244 248 // startSimulation to put status at Running
Note: See TracChangeset
for help on using the changeset viewer.
