Search in sources :

Example 1 with TrexApp

use of com.exalttech.trex.application.TrexApp in project trex-stateless-gui by cisco-system-traffic-generator.

the class TestBase method start.

@Override
public void start(Stage stage) throws Exception {
    FileManager.createDirectoryIfNotExists(FileManager.getLocalFilePath());
    FileUtils.cleanDirectory(new File(FileManager.getLocalFilePath()));
    FileManager.createDirectoryIfNotExists(FileManager.getProfilesFilePath());
    TrexApp.setPrimaryStage(stage);
    app = new TrexApp();
    app.start(stage);
}
Also used : TrexApp(com.exalttech.trex.application.TrexApp) File(java.io.File)

Aggregations

TrexApp (com.exalttech.trex.application.TrexApp)1 File (java.io.File)1