Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrelves2010-05-25 21:08:33 +0000
committerrelves2010-05-25 21:08:33 +0000
commit59230af2cab7f285ff5d2e74484f0e48fe4ae64b (patch)
tree59a34d6f98e0147df7f93fa7e6e2c73811e5872d /org.eclipse.mylyn.tasks.tests/src
parentfb465fd26be2b505c2c2ffda3fe12af4d8f323be (diff)
downloadorg.eclipse.mylyn.tasks-59230af2cab7f285ff5d2e74484f0e48fe4ae64b.tar.gz
org.eclipse.mylyn.tasks-59230af2cab7f285ff5d2e74484f0e48fe4ae64b.tar.xz
org.eclipse.mylyn.tasks-59230af2cab7f285ff5d2e74484f0e48fe4ae64b.zip
NEW - bug 263528: display a repository service message to warn users of problems, updates, and other relevant information
https://bugs.eclipse.org/bugs/show_bug.cgi?id=263528
Diffstat (limited to 'org.eclipse.mylyn.tasks.tests/src')
-rw-r--r--org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/util/ServiceMessageManagerTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/util/ServiceMessageManagerTest.java b/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/util/ServiceMessageManagerTest.java
index 0cfc8568a..251dcd694 100644
--- a/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/util/ServiceMessageManagerTest.java
+++ b/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/util/ServiceMessageManagerTest.java
@@ -33,7 +33,7 @@ public class ServiceMessageManagerTest extends TestCase {
private static final String MESSAGE_XML_URL = "http://eclipse.org/mylyn/messageTest.xml";
public void testRetrievingMessage() throws Exception {
- ServiceMessageManager manager = new ServiceMessageManager(MESSAGE_XML_URL, "", "");
+ ServiceMessageManager manager = new ServiceMessageManager(MESSAGE_XML_URL, "", "", 0l);
int status = manager.updateServiceMessage(new NullProgressMonitor());
assertEquals(HttpStatus.SC_OK, status);
ServiceMessage message = manager.getServiceMessages().get(0);
@@ -48,7 +48,7 @@ public class ServiceMessageManagerTest extends TestCase {
public void testETag() throws Exception {
- ServiceMessageManager manager = new ServiceMessageManager(MESSAGE_XML_URL, "", "");
+ ServiceMessageManager manager = new ServiceMessageManager(MESSAGE_XML_URL, "", "", 0l);
int status = manager.updateServiceMessage(new NullProgressMonitor());
assertEquals(HttpStatus.SC_OK, status);
ServiceMessage message = manager.getServiceMessages().get(0);

Back to the top