Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteffen Pingel2012-03-03 18:46:24 +0000
committerSteffen Pingel2012-03-03 18:46:24 +0000
commit5e0920d22820e746d18e11aa7135da2041333e52 (patch)
tree508af43e8e6659eea99d0138399b751b4462352c /org.eclipse.mylyn.trac.tests
parent71dd781b3871ea984b27b1295487aa5253a590c9 (diff)
downloadorg.eclipse.mylyn.tasks-5e0920d22820e746d18e11aa7135da2041333e52.tar.gz
org.eclipse.mylyn.tasks-5e0920d22820e746d18e11aa7135da2041333e52.tar.xz
org.eclipse.mylyn.tasks-5e0920d22820e746d18e11aa7135da2041333e52.zip
avoid failure when admin credentials are not available
Diffstat (limited to 'org.eclipse.mylyn.trac.tests')
-rw-r--r--org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/AllTracTests.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/AllTracTests.java b/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/AllTracTests.java
index 0848399a6..7573f90e9 100644
--- a/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/AllTracTests.java
+++ b/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/AllTracTests.java
@@ -50,7 +50,8 @@ public class AllTracTests {
}
public static void addTests(TestSuite suite, TestConfiguration configuration) {
- if (configuration.hasKind(TestKind.INTEGRATION) && CommonTestUtil.getCredentials(PrivilegeLevel.ADMIN) != null) {
+ if (configuration.hasKind(TestKind.INTEGRATION) && !configuration.isLocalOnly()
+ && CommonTestUtil.hasCredentials(PrivilegeLevel.ADMIN)) {
suite.addTestSuite(TracTestCleanupUtil.class);
}

Back to the top