Skip to content

Commit 3beaefa

Browse files
committed
ST6RI-953 Removed logic stand-alone set-up from ParserPostProcessorTest.
- This was adversely interacting with the SysMLInteractiveTest Xtext setup, so that, in particular, global name resolution sometimes failed. - This set up is not necessary in the test, because all components being tested are called directly.
1 parent 6e8cc42 commit 3beaefa

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

org.omg.sysml.interactive.tests/src/org/omg/sysml/interactive/tests/ParserPostProcessorTest.java

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
import static org.junit.Assert.assertNotSame;
1818
import static org.junit.Assert.assertTrue;
1919

20-
import org.junit.BeforeClass;
2120
import org.junit.Test;
2221
import org.omg.kerml.xtext.postprocessing.ElementParserPostProcessor;
2322
import org.omg.kerml.xtext.postprocessing.ImportParserPostProcessor;
@@ -40,19 +39,11 @@
4039
import org.omg.sysml.lang.sysml.PortUsage;
4140
import org.omg.sysml.lang.sysml.PortionKind;
4241
import org.omg.sysml.lang.sysml.SysMLFactory;
43-
import org.omg.sysml.lang.sysml.SysMLPackage;
4442
import org.omg.sysml.lang.sysml.Usage;
45-
import org.omg.sysml.logic.SysMLLogicStandaloneSetup;
4643
import org.omg.sysml.util.TypeUtil;
4744

4845
public class ParserPostProcessorTest extends SysMLInteractiveTest {
4946

50-
@BeforeClass
51-
public static void setUp() {
52-
SysMLLogicStandaloneSetup.doSetup();
53-
SysMLPackage.eINSTANCE.eClass();
54-
}
55-
5647
@Test
5748
public void factorySelectsTheMostSpecificParserPostProcessorWithoutAttachingIt() {
5849
PortUsage port = SysMLFactory.eINSTANCE.createPortUsage();

0 commit comments

Comments
 (0)