package org.muml.psm.allocation.algorithm.ilp.tests;

import org.eclipse.emf.common.EMFPlugin;
import org.junit.BeforeClass;
import org.junit.runner.RunWith;
import org.junit.runners.Suite;
import org.junit.runners.Suite.SuiteClasses;
import org.muml.psm.allocation.ilp.lpsolve.xtext.LPSolveStandaloneSetup;
import org.muml.psm.allocation.language.xtext.AllocationSpecificationLanguageStandaloneSetup;

@RunWith(Suite.class)
@SuiteClasses({
	OclContext2ILPTest.class
})
public class AllTestsSuite {
	@BeforeClass
	public static void setup() {
		if (!EMFPlugin.IS_ECLIPSE_RUNNING) {
			LPSolveStandaloneSetup.doSetup();
			AllocationSpecificationLanguageStandaloneSetup.doSetup();
		}
	}
}
@@ -51,49 +51,8 @@
 s;%0A%0A
-import org.eclipse.emf.common.EMFPlugin;%0A
 impo
@@ -499,48 +499,8 @@
 ) %7B%0A
-%09%09if (!EMFPlugin.IS_ECLIPSE_RUNNING) %7B%0A%09
 %09%09LP
@@ -531,17 +531,16 @@
 etup();%0A
-%09
 %09%09Alloca
@@ -595,12 +595,8 @@
 ();%0A
-%09%09%7D%0A
 %09%7D%0A%7D

Revert "Only call the standalone setups if eclipse is not running"