diff options
author | Frank Becker | 2012-11-18 20:06:58 +0000 |
---|---|---|
committer | Frank Becker | 2012-11-18 20:06:58 +0000 |
commit | e8f49283d766cd89db0fd47e5423fe6604fa62ab (patch) | |
tree | 1648ce5d6deef27ec715313496f95b99e3b15bc1 /org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/core/BugzillaRepositoryConnectorStandaloneTest.java | |
parent | 7f7476c395b29111303ad0bf97a562dc3c787a31 (diff) | |
download | org.eclipse.mylyn.tasks-e8f49283d766cd89db0fd47e5423fe6604fa62ab.tar.gz org.eclipse.mylyn.tasks-e8f49283d766cd89db0fd47e5423fe6604fa62ab.tar.xz org.eclipse.mylyn.tasks-e8f49283d766cd89db0fd47e5423fe6604fa62ab.zip |
Revert "372600: redesign of RepositoryConfiguration create new creation api Change-Id: If45d6c1daaedeed9771f2aad4bf94775e4da69cb Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=372600"
This reverts commit 0c7924dc3215b1403bf760edc4cf97f4d054c65c.
Diffstat (limited to 'org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/core/BugzillaRepositoryConnectorStandaloneTest.java')
-rw-r--r-- | org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/core/BugzillaRepositoryConnectorStandaloneTest.java | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/core/BugzillaRepositoryConnectorStandaloneTest.java b/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/core/BugzillaRepositoryConnectorStandaloneTest.java index 10710fcc0..7bdee2973 100644 --- a/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/core/BugzillaRepositoryConnectorStandaloneTest.java +++ b/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/core/BugzillaRepositoryConnectorStandaloneTest.java @@ -384,15 +384,15 @@ public class BugzillaRepositoryConnectorStandaloneTest extends TestCase { connector.removeConfiguration(config); config = new RepositoryConfiguration(); config.setRepositoryUrl(repository.getRepositoryUrl()); - config.addItem2Configuration(BugzillaAttribute.PRIORITY, "MostHighest"); - config.addItem2Configuration(BugzillaAttribute.PRIORITY, "Highest"); - config.addItem2Configuration(BugzillaAttribute.PRIORITY, "Higher"); - config.addItem2Configuration(BugzillaAttribute.PRIORITY, "High"); - config.addItem2Configuration(BugzillaAttribute.PRIORITY, "Normal"); - config.addItem2Configuration(BugzillaAttribute.PRIORITY, "Low"); - config.addItem2Configuration(BugzillaAttribute.PRIORITY, "Lower"); - config.addItem2Configuration(BugzillaAttribute.PRIORITY, "Lowest"); - config.addItem2Configuration(BugzillaAttribute.PRIORITY, "MostLowest"); + config.addPriority("MostHighest"); + config.addPriority("Highest"); + config.addPriority("Higher"); + config.addPriority("High"); + config.addPriority("Normal"); + config.addPriority("Low"); + config.addPriority("Lower"); + config.addPriority("Lowest"); + config.addPriority("MostLowest"); connector.addRepositoryConfiguration(config); taskData.getRoot().createMappedAttribute(BugzillaAttribute.PRIORITY.getKey()).setValue("P1"); @@ -448,15 +448,15 @@ public class BugzillaRepositoryConnectorStandaloneTest extends TestCase { connector.removeConfiguration(config); config = new RepositoryConfiguration(); config.setRepositoryUrl(repository.getRepositoryUrl()); - config.addItem2Configuration(BugzillaAttribute.PRIORITY, "MostHighest"); - config.addItem2Configuration(BugzillaAttribute.PRIORITY, "Highest"); - config.addItem2Configuration(BugzillaAttribute.PRIORITY, "Higher"); - config.addItem2Configuration(BugzillaAttribute.PRIORITY, "High"); - config.addItem2Configuration(BugzillaAttribute.PRIORITY, "Normal"); - config.addItem2Configuration(BugzillaAttribute.PRIORITY, "Low"); - config.addItem2Configuration(BugzillaAttribute.PRIORITY, "Lower"); - config.addItem2Configuration(BugzillaAttribute.PRIORITY, "Lowest"); - config.addItem2Configuration(BugzillaAttribute.PRIORITY, "MostLowest"); + config.addPriority("MostHighest"); + config.addPriority("Highest"); + config.addPriority("Higher"); + config.addPriority("High"); + config.addPriority("Normal"); + config.addPriority("Low"); + config.addPriority("Lower"); + config.addPriority("Lowest"); + config.addPriority("MostLowest"); taskData.getRoot().createMappedAttribute(BugzillaAttribute.PRIORITY.getKey()).setValue("P1"); assertEquals(PriorityLevel.P1, mapping.getPriorityLevel()); |