Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrank Becker2012-11-25 23:12:58 -0500
committerFrank Becker2012-11-25 23:12:58 -0500
commit2af240f8f333efadb22b98575da380759d24e42a (patch)
tree8b50b541307a6b5dddee7ba63a5e6bd85561badd /org.eclipse.mylyn.bugzilla.tests/src
parenta04d4b804771adfff6e5f98a187d5f88e4a40701 (diff)
downloadorg.eclipse.mylyn.tasks-2af240f8f333efadb22b98575da380759d24e42a.tar.gz
org.eclipse.mylyn.tasks-2af240f8f333efadb22b98575da380759d24e42a.tar.xz
org.eclipse.mylyn.tasks-2af240f8f333efadb22b98575da380759d24e42a.zip
372600: refactor change RepositoryConfiguration.addItem2Configuration to
RepositoryConfiguration.addItem Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=372600
Diffstat (limited to 'org.eclipse.mylyn.bugzilla.tests/src')
-rw-r--r--org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/core/BugzillaRepositoryConnectorStandaloneTest.java36
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..97f50cb72 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.addItem(BugzillaAttribute.PRIORITY, "MostHighest");
+ config.addItem(BugzillaAttribute.PRIORITY, "Highest");
+ config.addItem(BugzillaAttribute.PRIORITY, "Higher");
+ config.addItem(BugzillaAttribute.PRIORITY, "High");
+ config.addItem(BugzillaAttribute.PRIORITY, "Normal");
+ config.addItem(BugzillaAttribute.PRIORITY, "Low");
+ config.addItem(BugzillaAttribute.PRIORITY, "Lower");
+ config.addItem(BugzillaAttribute.PRIORITY, "Lowest");
+ config.addItem(BugzillaAttribute.PRIORITY, "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.addItem(BugzillaAttribute.PRIORITY, "MostHighest");
+ config.addItem(BugzillaAttribute.PRIORITY, "Highest");
+ config.addItem(BugzillaAttribute.PRIORITY, "Higher");
+ config.addItem(BugzillaAttribute.PRIORITY, "High");
+ config.addItem(BugzillaAttribute.PRIORITY, "Normal");
+ config.addItem(BugzillaAttribute.PRIORITY, "Low");
+ config.addItem(BugzillaAttribute.PRIORITY, "Lower");
+ config.addItem(BugzillaAttribute.PRIORITY, "Lowest");
+ config.addItem(BugzillaAttribute.PRIORITY, "MostLowest");
taskData.getRoot().createMappedAttribute(BugzillaAttribute.PRIORITY.getKey()).setValue("P1");
assertEquals(PriorityLevel.P1, mapping.getPriorityLevel());

Back to the top