Changeset 34 in tmcsimulator for trunk/test/tmcsim/cadsimulator/CADSimulatorTest.java
- Timestamp:
- 04/29/2016 12:56:43 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/tmcsim/cadsimulator/CADSimulatorTest.java
r5 r34 59 59 { 60 60 System.out.println("CADSimulator constructor"); 61 System.setProperty("C AD_SIM_PROPERTIES", "config/cad_simulator_config.properties");61 System.setProperty("CONFIG_DIR", "config/testConfig"); 62 62 Window cadwindow = null; 63 if (System.getProperty("C AD_SIM_PROPERTIES") != null)63 if (System.getProperty("CONFIG_DIR") != null) 64 64 { 65 65 cadwindow = WindowInterceptor.run(new Trigger() … … 69 69 try 70 70 { 71 app = new CADSimulator(System.getProperty("C AD_SIM_PROPERTIES"));71 app = new CADSimulator(System.getProperty("CONFIG_DIR") + System.getProperty("file.separator") + "cad_simulator_config.properties"); 72 72 } 73 73 catch (Exception e) … … 80 80 else 81 81 { 82 fail("C AD_SIM_PROPERTIESsystem property not defined.");82 fail("CONFIG_DIR system property not defined."); 83 83 } 84 84 assertEquals("CAD Simulator", cadwindow.getTitle());
Note: See TracChangeset
for help on using the changeset viewer.
