Commit 1e9b3ffb authored by Johannes Eder's avatar Johannes Eder
Browse files

fixed test

Issue-Ref: 3891
Issue-Url: https://af3-developer.fortiss.org/issues/3891

Signed-off-by: Johannes Eder's avatarJohannes Eder <eder@fortiss.org>
parent e32858ba
...@@ -15,13 +15,11 @@ ...@@ -15,13 +15,11 @@
+--------------------------------------------------------------------------*/ +--------------------------------------------------------------------------*/
package test.org.fortiss.af3.project; package test.org.fortiss.af3.project;
import static org.fortiss.af3.project.utils.ProjectModelElementFactory.createDummyDevelopmentProcess;
import static org.fortiss.af3.project.utils.ProjectModelElementFactory.createDummyTypeSystem; import static org.fortiss.af3.project.utils.ProjectModelElementFactory.createDummyTypeSystem;
import static org.fortiss.af3.project.utils.ProjectModelElementFactory.createExecutionConfigurationStore; import static org.fortiss.af3.project.utils.ProjectModelElementFactory.createExecutionConfigurationStore;
import static org.fortiss.af3.project.utils.ProjectModelElementFactory.createProjectConfiguration; import static org.fortiss.af3.project.utils.ProjectModelElementFactory.createProjectConfiguration;
import org.fortiss.af3.project.model.FileProject; import org.fortiss.af3.project.model.FileProject;
import org.fortiss.af3.project.model.development.IDevelopmentProcess;
import org.fortiss.af3.project.model.execution.ExecutionConfiguration; import org.fortiss.af3.project.model.execution.ExecutionConfiguration;
import org.fortiss.af3.project.model.execution.ExecutionConfigurationStore; import org.fortiss.af3.project.model.execution.ExecutionConfigurationStore;
import org.fortiss.af3.project.model.typesystem.ITypeSystem; import org.fortiss.af3.project.model.typesystem.ITypeSystem;
...@@ -54,7 +52,7 @@ public class ProjectTestModelBase implements ITestModel { ...@@ -54,7 +52,7 @@ public class ProjectTestModelBase implements ITestModel {
@Override @Override
public void setupModel() { public void setupModel() {
project = ProjectModelElementFactory.createFileProject("SimulatorTestBase", project = ProjectModelElementFactory.createFileProject("SimulatorTestBase",
createProjectConfiguration(setupTypeSystem(), setupDevelopmentProcess())); createProjectConfiguration(setupTypeSystem()));
store = createExecutionConfigurationStore(); store = createExecutionConfigurationStore();
project.getRootElements().add(store); project.getRootElements().add(store);
...@@ -97,8 +95,4 @@ public class ProjectTestModelBase implements ITestModel { ...@@ -97,8 +95,4 @@ public class ProjectTestModelBase implements ITestModel {
return createDummyTypeSystem(); return createDummyTypeSystem();
} }
/** Setup development process in configuration. Sub-classes may override. */
protected IDevelopmentProcess setupDevelopmentProcess() {
return createDummyDevelopmentProcess();
}
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment