Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorspingel2007-04-29 22:14:16 -0400
committerspingel2007-04-29 22:14:16 -0400
commit81356842bbc28c134418f46ef13d0876f2e15de7 (patch)
tree3ac1dc1557d1e11655e6479ae15a5c96880279a5 /org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/internal
parentbf5df97e0f95fc78dc60b74b82a8f1b7192c6cd4 (diff)
downloadorg.eclipse.mylyn.tasks-81356842bbc28c134418f46ef13d0876f2e15de7.tar.gz
org.eclipse.mylyn.tasks-81356842bbc28c134418f46ef13d0876f2e15de7.tar.xz
org.eclipse.mylyn.tasks-81356842bbc28c134418f46ef13d0876f2e15de7.zip
NEW - bug 181913: links are broken at dashes, e.g. [source:/tags/xerces-1.1]
https://bugs.eclipse.org/bugs/show_bug.cgi?id=181913
Diffstat (limited to 'org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/internal')
-rw-r--r--org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/internal/trac/ui/TracHyperlinkUtilTest.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/internal/trac/ui/TracHyperlinkUtilTest.java b/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/internal/trac/ui/TracHyperlinkUtilTest.java
index 1becefc83..9905557f0 100644
--- a/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/internal/trac/ui/TracHyperlinkUtilTest.java
+++ b/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/internal/trac/ui/TracHyperlinkUtilTest.java
@@ -183,6 +183,11 @@ public class TracHyperlinkUtilTest extends TestCase {
assertNotNull(links);
assertEquals(1, links.length);
assertEquals("http://localhost/browser/trunk/foo?rev=123#L456", ((WebHyperlink) links[0]).getURLString());
+
+ links = TracHyperlinkUtil.findHyperlinks(repository, "source:/tags/foo_bar-1.1", 1, 0);
+ assertNotNull(links);
+ assertEquals(1, links.length);
+ assertEquals("http://localhost/browser/tags/foo_bar-1.1", ((WebHyperlink) links[0]).getURLString());
}
}

Back to the top