Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorspingel2009-06-13 07:04:31 +0000
committerspingel2009-06-13 07:04:31 +0000
commit4baf499d7c56f0b535f5a251bbf702000d25257f (patch)
tree2acdbab13a9f2ff26fc07641fc67dbe4b13f3b11 /org.eclipse.mylyn.trac.tests
parent835e522a4e7c4d4876c529127ed73c422a469747 (diff)
downloadorg.eclipse.mylyn.tasks-4baf499d7c56f0b535f5a251bbf702000d25257f.tar.gz
org.eclipse.mylyn.tasks-4baf499d7c56f0b535f5a251bbf702000d25257f.tar.xz
org.eclipse.mylyn.tasks-4baf499d7c56f0b535f5a251bbf702000d25257f.zip
RESOLVED - bug 268427: query only returns first 100 matches
https://bugs.eclipse.org/bugs/show_bug.cgi?id=268427
Diffstat (limited to 'org.eclipse.mylyn.trac.tests')
-rw-r--r--org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/core/TracRepositoryConnectorTest.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/core/TracRepositoryConnectorTest.java b/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/core/TracRepositoryConnectorTest.java
index e129d717b..ce3b0bd03 100644
--- a/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/core/TracRepositoryConnectorTest.java
+++ b/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/core/TracRepositoryConnectorTest.java
@@ -24,6 +24,7 @@ import junit.framework.TestCase;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.NullProgressMonitor;
+import org.eclipse.core.runtime.Status;
import org.eclipse.jface.wizard.WizardDialog;
import org.eclipse.mylyn.internal.context.core.ContextCorePlugin;
import org.eclipse.mylyn.internal.tasks.core.AbstractTask;
@@ -179,7 +180,7 @@ public class TracRepositoryConnectorTest extends TestCase {
}
};
IStatus queryStatus = connector.performQuery(repository, query, hitCollector, null, new NullProgressMonitor());
- assertTrue(queryStatus.isOK());
+ assertEquals(Status.OK_STATUS, queryStatus);
assertEquals(3, result.size());
assertEquals(data.tickets.get(0).getId() + "", result.get(0).getTaskId());
assertEquals(data.tickets.get(1).getId() + "", result.get(1).getTaskId());

Back to the top