Search in sources :

Example 31 with ArchimateTestModel

use of com.archimatetool.testingtools.ArchimateTestModel in project archi by archimatetool.

the class ViewChildrenDataSourceTests method runOnceBeforeAllTests.

@BeforeClass
public static void runOnceBeforeAllTests() throws IOException {
    // Load ArchiMate model
    ArchimateTestModel tm = new ArchimateTestModel(TestData.TEST_MODEL_FILE_ARCHISURANCE);
    model = tm.loadModel();
    dm = model.getDiagramModels().get(1);
}
Also used : ArchimateTestModel(com.archimatetool.testingtools.ArchimateTestModel) BeforeClass(org.junit.BeforeClass)

Example 32 with ArchimateTestModel

use of com.archimatetool.testingtools.ArchimateTestModel in project archi by archimatetool.

the class ViewModelDataSourceTests method runOnceBeforeAllTests.

@BeforeClass
public static void runOnceBeforeAllTests() throws IOException {
    // Load ArchiMate model
    ArchimateTestModel tm = new ArchimateTestModel(TestData.TEST_MODEL_FILE_ARCHISURANCE);
    model = tm.loadModel();
}
Also used : ArchimateTestModel(com.archimatetool.testingtools.ArchimateTestModel) BeforeClass(org.junit.BeforeClass)

Example 33 with ArchimateTestModel

use of com.archimatetool.testingtools.ArchimateTestModel in project archi by archimatetool.

the class ZestViewerContentProviderTests method runOnceBeforeAllTests.

@BeforeClass
public static void runOnceBeforeAllTests() throws IOException {
    // Load ArchiMate model
    tm = new ArchimateTestModel(TestData.TEST_MODEL_FILE_ARCHISURANCE);
    tm.loadModel();
    provider = new ZestViewerContentProvider();
}
Also used : ArchimateTestModel(com.archimatetool.testingtools.ArchimateTestModel) BeforeClass(org.junit.BeforeClass)

Aggregations

ArchimateTestModel (com.archimatetool.testingtools.ArchimateTestModel)33 Test (org.junit.Test)14 IArchimateModel (com.archimatetool.model.IArchimateModel)13 BeforeClass (org.junit.BeforeClass)11 IArchimateElement (com.archimatetool.model.IArchimateElement)8 IArchimateRelationship (com.archimatetool.model.IArchimateRelationship)6 IDiagramModelArchimateObject (com.archimatetool.model.IDiagramModelArchimateObject)6 Before (org.junit.Before)6 IDiagramModelArchimateConnection (com.archimatetool.model.IDiagramModelArchimateConnection)5 File (java.io.File)4 IDiagramModel (com.archimatetool.model.IDiagramModel)3 IDiagramModelObject (com.archimatetool.model.IDiagramModelObject)3 ArchimateTestEditor (com.archimatetool.testingtools.ArchimateTestEditor)3 ArrayList (java.util.ArrayList)3 IIssue (com.archimatetool.hammer.validation.issues.IIssue)2 IArchimateDiagramModel (com.archimatetool.model.IArchimateDiagramModel)2 IAssignmentRelationship (com.archimatetool.model.IAssignmentRelationship)2 IDiagramModelConnection (com.archimatetool.model.IDiagramModelConnection)2 DuplicateCommandHandler (com.archimatetool.editor.views.tree.commands.DuplicateCommandHandler)1 NewMapViewCommand (com.archimatetool.help.cheatsheets.CreateMapViewCheatSheetAction.NewMapViewCommand)1