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/SystemConsoleTest.java

    r422 r558  
    1919import tmcsim.paramicscommunicator.gui.ParamicsCommunicatorGUI; 
    2020import tmcsim.simulationmanager.SimulationManager; 
     21import static tmcsim.simulationmanager.SimulationManager.kScenarioFolder; 
    2122 
    2223/** 
     
    149150 
    150151        // Load a script file 
    151         String autoloadScriptname = "scripts/audio_systest.xml"; 
     152        String autoloadScriptname = kScenarioFolder+"/audio_systest.xml"; 
    152153        simMgrApp.loadScript(new File(autoloadScriptname)); 
    153154        try 
Note: See TracChangeset for help on using the changeset viewer.