Ignore:
Timestamp:
01/16/2020 12:13:14 PM (6 years ago)
Author:
jdalbey
Message:

Change hardcoded "scripts" as name of folder to a constant in SimulationManager?. See #228.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/tmcsim/cadsimulator/CADSimulatorGUITest.java

    r422 r558  
    1616import tmcsim.interfaces.CADClientInterface; 
    1717import tmcsim.interfaces.SimulationManagerInterface; 
     18import static tmcsim.simulationmanager.SimulationManager.kScenarioFolder; 
    1819 
    1920/** 
     
    139140 
    140141        // Load a script file 
    141         String autoloadScriptname = "scripts/one-incident.xml"; 
     142        String autoloadScriptname = kScenarioFolder+"/one-incident.xml"; 
    142143        app.theCoordinator.loadScriptFile(new File(autoloadScriptname)); 
    143144        // The status should now say Ready 
Note: See TracChangeset for help on using the changeset viewer.