Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorspingel2010-06-08 00:56:51 +0000
committerspingel2010-06-08 00:56:51 +0000
commite052605293a075a02d4e74d7d0c5bd6020a483b7 (patch)
tree8cc3cbf901212e60b25fc22651dc398db991bc85 /org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac
parent325a6e3b26de835600fcfb1aa44d04c55b6d3444 (diff)
downloadorg.eclipse.mylyn.tasks-e052605293a075a02d4e74d7d0c5bd6020a483b7.tar.gz
org.eclipse.mylyn.tasks-e052605293a075a02d4e74d7d0c5bd6020a483b7.tar.xz
org.eclipse.mylyn.tasks-e052605293a075a02d4e74d7d0c5bd6020a483b7.zip
RESOLVED - bug 296894: [releng] fix failing tests for 3.4
https://bugs.eclipse.org/bugs/show_bug.cgi?id=296894
Diffstat (limited to 'org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac')
-rw-r--r--org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/ui/TracRepositorySettingsPageTest.java10
1 files changed, 6 insertions, 4 deletions
diff --git a/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/ui/TracRepositorySettingsPageTest.java b/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/ui/TracRepositorySettingsPageTest.java
index e85bfe019..4ab84d63e 100644
--- a/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/ui/TracRepositorySettingsPageTest.java
+++ b/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/ui/TracRepositorySettingsPageTest.java
@@ -106,7 +106,7 @@ public class TracRepositorySettingsPageTest extends TestCase {
page.applyValidatorResult(validator);
assertEquals(Version.XML_RPC, page.getTracVersion());
- assertEquals("Repository is valid.", page.getMessage());
+ assertEquals("Authentication credentials are valid.", page.getMessage());
}
public void testValidateWeb() throws Exception {
@@ -118,7 +118,7 @@ public class TracRepositorySettingsPageTest extends TestCase {
page.applyValidatorResult(validator);
assertEquals(Version.TRAC_0_9, page.getTracVersion());
- assertEquals("Repository is valid.", page.getMessage());
+ assertEquals("Authentication credentials are valid.", page.getMessage());
}
public void testValidateAutomaticUser() throws Exception {
@@ -133,7 +133,7 @@ public class TracRepositorySettingsPageTest extends TestCase {
page.applyValidatorResult(validator);
assertEquals(Version.XML_RPC, page.getTracVersion());
- assertEquals("Repository is valid.", page.getMessage());
+ assertEquals("Authentication credentials are valid.", page.getMessage());
}
public void testValidateAutomaticAnonymous() throws Exception {
@@ -150,7 +150,9 @@ public class TracRepositorySettingsPageTest extends TestCase {
page.applyValidatorResult(validator);
assertEquals(Version.TRAC_0_9, page.getTracVersion());
- assertEquals("Repository is valid.", page.getMessage());
+ assertEquals(
+ "Authentication credentials are valid. Note: Insufficient permissions for XML-RPC access, falling back to web access.",
+ page.getMessage());
}
public void testValidateInvalid() throws Exception {

Back to the top