public void TestLoadingTestVM() { if (!File.Exists(modelPath)) { // TODO: Find a better way to find the example files if app base is incorrect modelPath = "/home/travis/build/se-passau/SPLConqueror/SPLConqueror/Example" + "Files/VariabilityModelSampling.xml"; } Assert.IsTrue(model.loadXML(modelPath)); GlobalState.varModel = model; }
public static bool loadVM() { if (!File.Exists(modelPath)) { // TODO: Find a better way to find the example files if app base is incorrect modelPath = "/home/travis/build/se-passau/SPLConqueror/SPLConqueror/Example" + "Files/VariabilityModelSampling.xml"; } model = new VariabilityModel("test"); bool wasSuccessful = model.loadXML(modelPath); GlobalState.varModel = model; return(wasSuccessful); }