Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'tests/org.eclipse.eef.tests/src/org')
-rw-r--r--tests/org.eclipse.eef.tests/src/org/eclipse/eef/tests/internal/core/EEFDomainClassTesterTests.java9
1 files changed, 2 insertions, 7 deletions
diff --git a/tests/org.eclipse.eef.tests/src/org/eclipse/eef/tests/internal/core/EEFDomainClassTesterTests.java b/tests/org.eclipse.eef.tests/src/org/eclipse/eef/tests/internal/core/EEFDomainClassTesterTests.java
index 252eb9004..cfd90ab97 100644
--- a/tests/org.eclipse.eef.tests/src/org/eclipse/eef/tests/internal/core/EEFDomainClassTesterTests.java
+++ b/tests/org.eclipse.eef.tests/src/org/eclipse/eef/tests/internal/core/EEFDomainClassTesterTests.java
@@ -10,12 +10,9 @@
*******************************************************************************/
package org.eclipse.eef.tests.internal.core;
-import java.util.ArrayList;
-import java.util.List;
-
import org.eclipse.eef.EefFactory;
import org.eclipse.eef.EefPackage;
-import org.eclipse.eef.core.api.EEFDomainClassTester;
+import org.eclipse.eef.core.internal.EEFDomainClassTester;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.ecore.EPackage;
import org.junit.Test;
@@ -31,9 +28,7 @@ import static org.junit.Assert.assertTrue;
public class EEFDomainClassTesterTests {
private void test(EPackage ePackage, EObject eObject, String domainClass) {
- List<EPackage> ePackages = new ArrayList<>();
- ePackages.add(ePackage);
- assertTrue(new EEFDomainClassTester().eInstanceOf(ePackages, eObject, domainClass));
+ assertTrue(new EEFDomainClassTester().eInstanceOf(eObject, domainClass));
}
@Test

Back to the top