Skip to content

Commit

Permalink
Fixing junit tests - (Task #1184)
Browse files Browse the repository at this point in the history
- due to spotbugs changes
---
Task #1184: Updating to Eclipse 2024/03 and all dependencies
  • Loading branch information
PhilMFischer committed Jul 11, 2024
1 parent b5c5e9b commit 013668e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,6 @@ public void setup() {
addEditingDomainAndRepository();
}

@Test(expected = IllegalArgumentException.class)
public void testConstructor() {
//Should result in exception as concept is not active. Test expects exception
executeAsCommand(() -> loadConceptAndInstallToRepository(CORE_CONCEPT_NAME));
new ConceptActivationHelper(loadConceptFromPlugin(TEST_CONCEPT_NAME));
}

@Test
public void testActivateConcepts() {
executeAsCommand(() -> loadConceptAndInstallToRepository(CORE_CONCEPT_NAME));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
import de.dlr.sc.virsat.model.concept.types.structural.tree.BeanStructuralTreeTraverserTest;
import de.dlr.sc.virsat.model.concept.types.util.BeanCategoryAssignmentHelperTest;
import de.dlr.sc.virsat.model.concept.types.util.BeanStructuralElementInstanceHelperTest;
import de.dlr.sc.virsat.model.concept.util.ConceptActivationHelperTest;
import de.dlr.sc.virsat.model.dvlm.mat.MatExporterTest;
import de.dlr.sc.virsat.model.dvlm.mat.MatImporterTest;
import de.dlr.sc.virsat.model.dvlm.structural.command.DeleteStructuralElementInstanceCommandAcceptanceTest;
Expand Down Expand Up @@ -87,7 +88,8 @@
de.dlr.sc.virsat.model.extension.tests.model.json.TestCategoryCompositionArrayTest.class,
de.dlr.sc.virsat.model.extension.tests.model.json.TestCategoryReferenceArrayTest.class,
de.dlr.sc.virsat.model.extension.tests.model.json.TestStructuralElementInstanceTest.class,
BeanQudvTest.class
BeanQudvTest.class,
ConceptActivationHelperTest.class
})

/**
Expand Down

0 comments on commit 013668e

Please sign in to comment.