Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorspingel2009-09-23 04:45:24 +0000
committerspingel2009-09-23 04:45:24 +0000
commit1e6cc032fd7e445ddc75eb35f51f6a13c304c8ba (patch)
tree50a8fe91276a0cb703012b5e14b1e2ea4c4de81b /org.eclipse.mylyn.tests.util/src/org/eclipse/mylyn/tests
parent7032f6c9cea4f9937563699363acb967ebb2bf02 (diff)
downloadorg.eclipse.mylyn.tasks-1e6cc032fd7e445ddc75eb35f51f6a13c304c8ba.tar.gz
org.eclipse.mylyn.tasks-1e6cc032fd7e445ddc75eb35f51f6a13c304c8ba.tar.xz
org.eclipse.mylyn.tasks-1e6cc032fd7e445ddc75eb35f51f6a13c304c8ba.zip
NEW - bug 290198: move test utilities to a separate plug-in
https://bugs.eclipse.org/bugs/show_bug.cgi?id=290198
Diffstat (limited to 'org.eclipse.mylyn.tests.util/src/org/eclipse/mylyn/tests')
-rw-r--r--org.eclipse.mylyn.tests.util/src/org/eclipse/mylyn/tests/util/TestUtil.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/org.eclipse.mylyn.tests.util/src/org/eclipse/mylyn/tests/util/TestUtil.java b/org.eclipse.mylyn.tests.util/src/org/eclipse/mylyn/tests/util/TestUtil.java
index 2b7346e08..fbc41569e 100644
--- a/org.eclipse.mylyn.tests.util/src/org/eclipse/mylyn/tests/util/TestUtil.java
+++ b/org.eclipse.mylyn.tests.util/src/org/eclipse/mylyn/tests/util/TestUtil.java
@@ -64,6 +64,9 @@ public class TestUtil {
if (filename == null) {
try {
file = getFile(TestUtil.class, "credentials.properties");
+ if (!file.exists()) {
+ throw new AssertionFailedError();
+ }
} catch (AssertionFailedError e) {
file = getFile(TestUtil.class, "../org.eclipse.mylyn.context.tests/credentials.properties");
// lookup may have reverted to this plug-in, try to lookup file in org.eclipse.context.tests plug-in

Back to the top