Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteffen Pingel2011-09-16 16:36:16 +0000
committerSteffen Pingel2011-09-16 17:29:26 +0000
commitf0a938ef1ecb5be71a68e7203e65bdfcea888d3c (patch)
tree8ca1df373b8717a7bba56ad845197eab38c494aa /org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn
parent6e184421ca62955dc533b039f58e824abb4786c6 (diff)
downloadorg.eclipse.mylyn.tasks-f0a938ef1ecb5be71a68e7203e65bdfcea888d3c.tar.gz
org.eclipse.mylyn.tasks-f0a938ef1ecb5be71a68e7203e65bdfcea888d3c.tar.xz
org.eclipse.mylyn.tasks-f0a938ef1ecb5be71a68e7203e65bdfcea888d3c.zip
bug 309255: unable to open the trac ticket
https://bugs.eclipse.org/bugs/show_bug.cgi?id=309255 Change-Id: Ie878e68336aa3bcf41c39bfaaac6c38fd11cc2e3
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/client/TracClientFactoryTest.java9
1 files changed, 3 insertions, 6 deletions
diff --git a/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/client/TracClientFactoryTest.java b/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/client/TracClientFactoryTest.java
index 27a7a41db..31a6e5fc1 100644
--- a/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/client/TracClientFactoryTest.java
+++ b/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/client/TracClientFactoryTest.java
@@ -49,12 +49,9 @@ public class TracClientFactoryTest extends TestCase {
}
public void testCreateClientNull() throws Exception {
- try {
- WebLocation location = new WebLocation(fixture.getRepositoryUrl(), "user", "password");
- TracClientFactory.createClient(location, null);
- fail("Expected Exception");
- } catch (Exception e) {
- }
+ WebLocation location = new WebLocation(fixture.getRepositoryUrl(), "user", "password");
+ ITracClient client = TracClientFactory.createClient(location, null);
+ assertEquals(Version.XML_RPC, client.getAccessMode());
}
public void testProbeClient() throws Exception {

Back to the top