summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrey Sobolev2013-07-15 08:05:15 (EDT)
committerAndrey Sobolev2013-07-15 08:05:15 (EDT)
commitb83992f6673d1f848dcc29154b9fcc2ca8e759c5 (patch)
tree16b96465b4fcadb6f272e91acd2493339990df13
parent5c7f72e826ae45ad9fd3c8e121bc0b55a275b35d (diff)
downloadorg.eclipse.dltk.core-b83992f6673d1f848dcc29154b9fcc2ca8e759c5.zip
org.eclipse.dltk.core-b83992f6673d1f848dcc29154b9fcc2ca8e759c5.tar.gz
org.eclipse.dltk.core-b83992f6673d1f848dcc29154b9fcc2ca8e759c5.tar.bz2
* Applied patch for issue Bug 412550
Fix tests compilation with JUnit from Kepler Thanks to Alexander Kurtakov <akurtakov@gmail.com>
-rw-r--r--core/tests/org.eclipse.dltk.core.tests/src/org/eclipse/dltk/core/tests/buildpath/SetContainerEventsTest.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/core/tests/org.eclipse.dltk.core.tests/src/org/eclipse/dltk/core/tests/buildpath/SetContainerEventsTest.java b/core/tests/org.eclipse.dltk.core.tests/src/org/eclipse/dltk/core/tests/buildpath/SetContainerEventsTest.java
index e917535..eeb75d6 100644
--- a/core/tests/org.eclipse.dltk.core.tests/src/org/eclipse/dltk/core/tests/buildpath/SetContainerEventsTest.java
+++ b/core/tests/org.eclipse.dltk.core.tests/src/org/eclipse/dltk/core/tests/buildpath/SetContainerEventsTest.java
@@ -14,6 +14,7 @@ package org.eclipse.dltk.core.tests.buildpath;
import static org.hamcrest.CoreMatchers.instanceOf;
import java.io.File;
+import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
@@ -96,7 +97,7 @@ public class SetContainerEventsTest extends Assert {
};
@Test
- public void setContainer() throws ModelException {
+ public void setContainer() throws ModelException,IOException {
final File folder1 = temp.newFolder("folder1");
DLTKCore.addElementChangedListener(listener,
IResourceChangeEvent.POST_CHANGE);
@@ -116,7 +117,7 @@ public class SetContainerEventsTest extends Assert {
}
@Test
- public void changeContainer() throws ModelException {
+ public void changeContainer() throws ModelException,IOException {
final File folder1 = temp.newFolder("folder1");
final File folder2 = temp.newFolder("folder2");
DLTKCore.setBuildpathContainer(TestContainer2.CONTAINER_ID,