diff options
Diffstat (limited to 'testplugins/org.eclipse.objectteams.otdt.tests/hierarchy/org/eclipse/objectteams/otdt/tests/superhierarchy/OTSuperTypeHierarchyTest016_Regression.java')
-rw-r--r-- | testplugins/org.eclipse.objectteams.otdt.tests/hierarchy/org/eclipse/objectteams/otdt/tests/superhierarchy/OTSuperTypeHierarchyTest016_Regression.java | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/testplugins/org.eclipse.objectteams.otdt.tests/hierarchy/org/eclipse/objectteams/otdt/tests/superhierarchy/OTSuperTypeHierarchyTest016_Regression.java b/testplugins/org.eclipse.objectteams.otdt.tests/hierarchy/org/eclipse/objectteams/otdt/tests/superhierarchy/OTSuperTypeHierarchyTest016_Regression.java index 43eadd0d7..12c751bae 100644 --- a/testplugins/org.eclipse.objectteams.otdt.tests/hierarchy/org/eclipse/objectteams/otdt/tests/superhierarchy/OTSuperTypeHierarchyTest016_Regression.java +++ b/testplugins/org.eclipse.objectteams.otdt.tests/hierarchy/org/eclipse/objectteams/otdt/tests/superhierarchy/OTSuperTypeHierarchyTest016_Regression.java @@ -1,20 +1,20 @@ /********************************************************************** * This file is part of "Object Teams Development Tooling"-Software - * + * * Copyright 2004, 2010 Fraunhofer Gesellschaft, Munich, Germany, * for its Fraunhofer Institute and Computer Architecture and Software * Technology (FIRST), Berlin, Germany and Technical University Berlin, * Germany. - * + * * This program and the accompanying materials * are made available under the terms of the Eclipse Public License 2.0 * which accompanies this distribution, and is available at * https://www.eclipse.org/legal/epl-2.0/ * * SPDX-License-Identifier: EPL-2.0 - * + * * Please visit http://www.eclipse.org/objectteams for updates and contact. - * + * * Contributors: * Fraunhofer FIRST - Initial API and implementation * Technical University Berlin - Initial API and implementation @@ -30,14 +30,14 @@ import org.eclipse.objectteams.otdt.tests.hierarchy.FileBasedHierarchyTest; public class OTSuperTypeHierarchyTest016_Regression extends FileBasedHierarchyTest { - private IType _T1; + private IType _T1; private IType _T1_IR; public OTSuperTypeHierarchyTest016_Regression(String name) { super(name); } - + @SuppressWarnings("unused") // variants to statically choose from public static Test suite() { @@ -45,24 +45,24 @@ public class OTSuperTypeHierarchyTest016_Regression extends FileBasedHierarchyTe { return new Suite(OTSuperTypeHierarchyTest016_Regression.class); } - junit.framework.TestSuite suite = + junit.framework.TestSuite suite = new Suite(OTSuperTypeHierarchyTest016_Regression.class.getName()); return suite; } - + public void setUpSuite() throws Exception { setTestProjectDir("HierarchyRegression"); super.setUpSuite(); - + String srcFolder = "src"; String pkg = "t"; - + _T1 = getType(getTestProjectDir(), srcFolder, pkg, "T1"); - + _T1_IR = getRole(_T1, "T1.IR"); } - + // see http://bugs.eclipse.org/366976 public void testInterfaceAtSyntaxError() throws JavaModelException @@ -73,8 +73,8 @@ public class OTSuperTypeHierarchyTest016_Regression extends FileBasedHierarchyTe // due to severe syntax errors, T1.IR is not connected: IType [] actual = OTTypeHierarchies.getInstance().getAllSuperInterfaces(_testObj, _focusType); assertEquals(0, actual.length); - + actual = OTTypeHierarchies.getInstance().getSuperclasses(_testObj, _focusType); - assertEquals(0, actual.length); + assertEquals(0, actual.length); } } |