Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrelves2006-08-21 14:34:28 -0400
committerrelves2006-08-21 14:34:28 -0400
commit5b1abc21f74bb9e9c7cc85f3769079abda4fbf86 (patch)
tree5138ab69a4f26a9061f04a1615b423105152ddc9 /org.eclipse.mylyn.trac.tests
parent8155b9b28af3e8ead9f364f510f6bd00cd8b707f (diff)
downloadorg.eclipse.mylyn.tasks-5b1abc21f74bb9e9c7cc85f3769079abda4fbf86.tar.gz
org.eclipse.mylyn.tasks-5b1abc21f74bb9e9c7cc85f3769079abda4fbf86.tar.xz
org.eclipse.mylyn.tasks-5b1abc21f74bb9e9c7cc85f3769079abda4fbf86.zip
Progress on: 154464: any web page is accepted as valid Trac repository
https://bugs.eclipse.org/bugs/show_bug.cgi?id=154464
Diffstat (limited to 'org.eclipse.mylyn.trac.tests')
-rw-r--r--org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/Trac09ClientTest.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/Trac09ClientTest.java b/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/Trac09ClientTest.java
index 5812bfb2b..ff3581cad 100644
--- a/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/Trac09ClientTest.java
+++ b/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/Trac09ClientTest.java
@@ -15,6 +15,7 @@ import java.util.Arrays;
import java.util.Comparator;
import org.eclipse.core.runtime.NullProgressMonitor;
+import org.eclipse.mylar.internal.trac.core.TracException;
import org.eclipse.mylar.internal.trac.core.ITracClient.Version;
import org.eclipse.mylar.internal.trac.model.TracVersion;
@@ -31,6 +32,15 @@ public class Trac09ClientTest extends AbstractTracClientRepositoryTest {
validate(Constants.TEST_TRAC_096_URL);
}
+ public void testValidateAnyPage() throws Exception {
+ connect("http://mylar.eclipse.org/");
+ try {
+ repository.validate();
+ fail("Expected TracException");
+ } catch (TracException e) {
+ }
+ }
+
public void testValidateAnonymousLogin() throws Exception {
connect(Constants.TEST_TRAC_010_URL, "", "");
repository.validate();

Back to the top