Search in sources :

Example 1 with EditorModelManager

use of com.archimatetool.editor.model.impl.EditorModelManager in project archi by archimatetool.

the class ModelCheckerTests method checkAll.

@Test
public void checkAll() {
    File file = TestData.TEST_MODEL_FILE_ARCHISURANCE;
    IArchimateModel model = new EditorModelManager().loadModel(file);
    assertNotNull(model);
    ModelChecker modelChecker = new ModelChecker(model);
    assertTrue(modelChecker.checkAll());
}
Also used : EditorModelManager(com.archimatetool.editor.model.impl.EditorModelManager) File(java.io.File) IArchimateModel(com.archimatetool.model.IArchimateModel) Test(org.junit.Test)

Aggregations

EditorModelManager (com.archimatetool.editor.model.impl.EditorModelManager)1 IArchimateModel (com.archimatetool.model.IArchimateModel)1 File (java.io.File)1 Test (org.junit.Test)1