Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorspingel2009-09-23 19:47:13 +0000
committerspingel2009-09-23 19:47:13 +0000
commit4faa99a157a6060fc31d22cb569fe970886d5949 (patch)
tree79bc1852036fa0da7cbabb8fc74fd4804723170e /org.eclipse.mylyn.tests.util/src/org/eclipse/mylyn
parentc0f56c1bdc2beec9de5da87a39d73442da53c569 (diff)
downloadorg.eclipse.mylyn.tasks-4faa99a157a6060fc31d22cb569fe970886d5949.tar.gz
org.eclipse.mylyn.tasks-4faa99a157a6060fc31d22cb569fe970886d5949.tar.xz
org.eclipse.mylyn.tasks-4faa99a157a6060fc31d22cb569fe970886d5949.zip
NEW - bug 288347: JIRA task editor should update only a comment if this is the only change for the task
https://bugs.eclipse.org/bugs/show_bug.cgi?id=288347
Diffstat (limited to 'org.eclipse.mylyn.tests.util/src/org/eclipse/mylyn')
-rw-r--r--org.eclipse.mylyn.tests.util/src/org/eclipse/mylyn/tests/util/TestUtil.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/org.eclipse.mylyn.tests.util/src/org/eclipse/mylyn/tests/util/TestUtil.java b/org.eclipse.mylyn.tests.util/src/org/eclipse/mylyn/tests/util/TestUtil.java
index fbc41569e..bc54175c3 100644
--- a/org.eclipse.mylyn.tests.util/src/org/eclipse/mylyn/tests/util/TestUtil.java
+++ b/org.eclipse.mylyn.tests.util/src/org/eclipse/mylyn/tests/util/TestUtil.java
@@ -7,6 +7,7 @@
*
* Contributors:
* Tasktop Technologies - initial API and implementation
+ * Pawel Niewiadomski - fixes for bug 288347
*******************************************************************************/
package org.eclipse.mylyn.tests.util;
@@ -28,7 +29,7 @@ public class TestUtil {
public static final String KEY_CREDENTIALS_FILE = "mylyn.credentials";
public enum PrivilegeLevel {
- ANONYMOUS, GUEST, USER, ADMIN
+ ANONYMOUS, GUEST, USER, ADMIN, READ_ONLY
};
public static class Credentials {
@@ -91,6 +92,8 @@ public class TestUtil {
return createCredentials(properties, realm + "guest.", "guest@mylyn.eclipse.org", defaultPassword);
case USER:
return createCredentials(properties, realm, "tests@mylyn.eclipse.org", defaultPassword);
+ case READ_ONLY:
+ return createCredentials(properties, realm, "read-only@mylyn.eclipse.org", defaultPassword);
case ADMIN:
return createCredentials(properties, realm + "admin.", "admin@mylyn.eclipse.org", null);
}

Back to the top