Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergey Prigogin2013-03-30 20:48:29 +0000
committerSergey Prigogin2013-03-30 20:48:29 +0000
commit35e8c70211bd5c5e704e3474d719cf93f9947401 (patch)
tree049ddcd5dfeaf480cceef6d8bdb09fa099e653ea /core/org.eclipse.cdt.core.tests/misc
parentc2306c20e5e609333e870b9595d28c47faf7adc4 (diff)
downloadorg.eclipse.cdt-35e8c70211bd5c5e704e3474d719cf93f9947401.tar.gz
org.eclipse.cdt-35e8c70211bd5c5e704e3474d719cf93f9947401.tar.xz
org.eclipse.cdt-35e8c70211bd5c5e704e3474d719cf93f9947401.zip
Fixed interference between test cases.
Diffstat (limited to 'core/org.eclipse.cdt.core.tests/misc')
-rw-r--r--core/org.eclipse.cdt.core.tests/misc/org/eclipse/cdt/core/internal/tests/ResourceLookupTests.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/org.eclipse.cdt.core.tests/misc/org/eclipse/cdt/core/internal/tests/ResourceLookupTests.java b/core/org.eclipse.cdt.core.tests/misc/org/eclipse/cdt/core/internal/tests/ResourceLookupTests.java
index f001d9053c..2bf62a71a1 100644
--- a/core/org.eclipse.cdt.core.tests/misc/org/eclipse/cdt/core/internal/tests/ResourceLookupTests.java
+++ b/core/org.eclipse.cdt.core.tests/misc/org/eclipse/cdt/core/internal/tests/ResourceLookupTests.java
@@ -6,7 +6,7 @@
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
- * Markus Schorn - initial API and implementation
+ * Markus Schorn - initial API and implementation
*******************************************************************************/
package org.eclipse.cdt.core.internal.tests;
@@ -40,7 +40,7 @@ public class ResourceLookupTests extends TestCase {
@Override
protected void setUp() {
final IWorkspaceRoot root = ResourcesPlugin.getWorkspace().getRoot();
- fProject= root.getProject("reslookup");
+ fProject= root.getProject("reslookup_" + getName());
}
@Override
@@ -65,7 +65,7 @@ public class ResourceLookupTests extends TestCase {
}
public void testNameLookup() throws CoreException {
- IProject[] prjs= new IProject[]{fProject};
+ IProject[] prjs= new IProject[] { fProject };
fProject.create(new NullProgressMonitor());
fProject.open(new NullProgressMonitor());

Back to the top