Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn')
-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