Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorspingel2010-10-18 23:36:42 +0000
committerspingel2010-10-18 23:36:42 +0000
commitccd62723c12920f4cef0a12d9a673fd7383b623b (patch)
treefe4730b093b094db65fabed1185354a9bf839930 /org.eclipse.mylyn.tasks.tests
parent2a781f966d4a4803783f87dc1eb799574b8d363f (diff)
downloadorg.eclipse.mylyn.tasks-ccd62723c12920f4cef0a12d9a673fd7383b623b.tar.gz
org.eclipse.mylyn.tasks-ccd62723c12920f4cef0a12d9a673fd7383b623b.tar.xz
org.eclipse.mylyn.tasks-ccd62723c12920f4cef0a12d9a673fd7383b623b.zip
NEW - bug 316835: [api] add a flag to TaskRepository to track if it was added automatically
https://bugs.eclipse.org/bugs/show_bug.cgi?id=316835
Diffstat (limited to 'org.eclipse.mylyn.tasks.tests')
-rw-r--r--org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/RepositoryTemplateManagerTest.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/RepositoryTemplateManagerTest.java b/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/RepositoryTemplateManagerTest.java
index 88b6f749d..cdd3352f6 100644
--- a/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/RepositoryTemplateManagerTest.java
+++ b/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/RepositoryTemplateManagerTest.java
@@ -44,4 +44,10 @@ public class RepositoryTemplateManagerTest extends TestCase {
}
}
+ public void testStripSlashes() {
+ RepositoryTemplate template = new RepositoryTemplate("Mock", MockRepositoryConnector.REPOSITORY_URL + "///",
+ "", "", "", "", "", "", false, true);
+ assertEquals(MockRepositoryConnector.REPOSITORY_URL, template.repositoryUrl);
+ }
+
}

Back to the top