Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrelves2010-02-13 02:30:26 +0000
committerrelves2010-02-13 02:30:26 +0000
commit2688c3b3ae9a7ee351ba2e98ecdb392d3fe15d95 (patch)
tree44a1e4be6851879d10865452ff65f0d7185b97e7 /org.eclipse.mylyn.bugzilla.tests/src
parent473dda2d38aa3dd2eb30c3d14a03908b08b6a8d7 (diff)
downloadorg.eclipse.mylyn.tasks-2688c3b3ae9a7ee351ba2e98ecdb392d3fe15d95.tar.gz
org.eclipse.mylyn.tasks-2688c3b3ae9a7ee351ba2e98ecdb392d3fe15d95.tar.xz
org.eclipse.mylyn.tasks-2688c3b3ae9a7ee351ba2e98ecdb392d3fe15d95.zip
290465: fix Bugzilla test suite
https://bugs.eclipse.org/bugs/show_bug.cgi?id=290465
Diffstat (limited to 'org.eclipse.mylyn.bugzilla.tests/src')
-rw-r--r--org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/BugzillaAttachmentHandlerTest.java3
-rw-r--r--org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/BugzillaRepositoryConnectorTest.java4
2 files changed, 5 insertions, 2 deletions
diff --git a/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/BugzillaAttachmentHandlerTest.java b/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/BugzillaAttachmentHandlerTest.java
index 374199e08..4490d70f2 100644
--- a/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/BugzillaAttachmentHandlerTest.java
+++ b/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/BugzillaAttachmentHandlerTest.java
@@ -342,7 +342,8 @@ public class BugzillaAttachmentHandlerTest extends AbstractBugzillaTest {
fail("CoreException expected but not reached");
} catch (CoreException e) {
IStatus status = e.getStatus();
- System.err.println("\n\n>>> " + status.getClass().getName() + " >>> " + status.getMessage() + "\n\n");
+ System.err.println("\n\ntestAttachmentToken >>> " + status.getClass().getName() + " >>> "
+ + status.getMessage() + "\n\n");
assertTrue(status instanceof BugzillaStatus);
assertEquals(IBugzillaConstants.REPOSITORY_STATUS_SUSPICIOUS_ACTION, status.getCode());
}
diff --git a/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/BugzillaRepositoryConnectorTest.java b/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/BugzillaRepositoryConnectorTest.java
index 2c5ce2ef6..b294d285a 100644
--- a/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/BugzillaRepositoryConnectorTest.java
+++ b/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/BugzillaRepositoryConnectorTest.java
@@ -576,7 +576,9 @@ public class BugzillaRepositoryConnectorTest extends AbstractBugzillaTest {
// Submit changes
RepositoryResponse response = BugzillaFixture.current().submitTask(data, client);
assertNotNull(response);
- assertEquals(ResponseKind.TASK_UPDATED, response.getReposonseKind());
+ //assertEquals(ResponseKind.TASK_UPDATED, response.getReposonseKind());
+ System.err.println("\n\ntestMidAirCollision >>> ResponseKind:" + response.getReposonseKind().toString()
+ + "\n\n");
fail("Mid-air collision expected");
} catch (CoreException e) {
assertTrue(e.getStatus().getMessage().indexOf("Mid-air collision occurred while submitting") != -1);

Back to the top