diff options
author | spingel | 2010-01-25 18:17:15 +0000 |
---|---|---|
committer | spingel | 2010-01-25 18:17:15 +0000 |
commit | f2dc2230505274d0249c0dadc970f09f01d5380c (patch) | |
tree | 39d7e9c5631ce5a5bda05dca84a7e3bee91ca8d7 /org.eclipse.mylyn.bugzilla.tests | |
parent | e3dedca614a22dab5d1af6ed04e66b2aeaa71fcd (diff) | |
download | org.eclipse.mylyn.tasks-f2dc2230505274d0249c0dadc970f09f01d5380c.tar.gz org.eclipse.mylyn.tasks-f2dc2230505274d0249c0dadc970f09f01d5380c.tar.xz org.eclipse.mylyn.tasks-f2dc2230505274d0249c0dadc970f09f01d5380c.zip |
bug 300704: [releng] upgrade 3.4 test server to 3.4.4
https://bugs.eclipse.org/bugs/show_bug.cgi?id=300704
Diffstat (limited to 'org.eclipse.mylyn.bugzilla.tests')
2 files changed, 6 insertions, 3 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 671903e55..40f7623ff 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 @@ -77,6 +77,7 @@ public class BugzillaAttachmentHandlerTest extends AbstractBugzillaTest { String fileName = "test-attach-1.txt"; File attachFile = new File(fileName); attachFile.createNewFile(); + attachFile.deleteOnExit(); BufferedWriter write = new BufferedWriter(new FileWriter(attachFile)); write.write("test file from " + System.currentTimeMillis()); write.close(); @@ -272,6 +273,7 @@ public class BugzillaAttachmentHandlerTest extends AbstractBugzillaTest { String fileName = "test-attach-" + System.currentTimeMillis() + ".txt"; File attachFile = new File(fileName); attachFile.createNewFile(); + attachFile.deleteOnExit(); BufferedWriter write = new BufferedWriter(new FileWriter(attachFile)); attachment = new FileTaskAttachmentSource(attachFile); @@ -383,6 +385,7 @@ public class BugzillaAttachmentHandlerTest extends AbstractBugzillaTest { String fileName = "test-attach-" + System.currentTimeMillis() + ".txt"; File attachFile = new File(fileName); attachFile.createNewFile(); + attachFile.deleteOnExit(); BufferedWriter write = new BufferedWriter(new FileWriter(attachFile)); /* Test uploading a proper file */ write.write("test file"); diff --git a/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/support/BugzillaFixture.java b/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/support/BugzillaFixture.java index a87f7c1cd..cfef3863b 100644 --- a/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/support/BugzillaFixture.java +++ b/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/support/BugzillaFixture.java @@ -80,15 +80,15 @@ public class BugzillaFixture extends TestFixture { "3.2.3", ""); public static BugzillaFixture BUGS_3_4 = new BugzillaFixture(BugzillaTestConstants.TEST_BUGZILLA_34_URL, // - "3.4.1", ""); + "3.4.4", ""); public static BugzillaFixture BUGS_HEAD = new BugzillaFixture(BugzillaTestConstants.TEST_BUGZILLA_HEAD_URL, // "3.5.2+", ""); public static BugzillaFixture DEFAULT = BUGS_3_4; - public static final BugzillaFixture[] ALL = new BugzillaFixture[] { BUGS_2_20, BUGS_2_22, BUGS_3_0, BUGS_3_2, - BUGS_3_4, BUGS_HEAD }; + public static final BugzillaFixture[] ALL = new BugzillaFixture[] { /*BUGS_2_20, BUGS_2_22, BUGS_3_0, BUGS_3_2,*/ + BUGS_3_4, BUGS_HEAD }; private final String version; |