diff options
author | relves | 2010-02-13 02:30:26 +0000 |
---|---|---|
committer | relves | 2010-02-13 02:30:26 +0000 |
commit | 2688c3b3ae9a7ee351ba2e98ecdb392d3fe15d95 (patch) | |
tree | 44a1e4be6851879d10865452ff65f0d7185b97e7 /org.eclipse.mylyn.bugzilla.tests/src | |
parent | 473dda2d38aa3dd2eb30c3d14a03908b08b6a8d7 (diff) | |
download | org.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')
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); |