Author: nickboldt
Date: 2010-04-01 10:41:29 -0400 (Thu, 01 Apr 2010)
New Revision: 21194
Removed:
branches/modular_build/common/tests/org.jboss.tools.common.test/src/org/jboss/tools/common/zip/test/ZipBaseTest.java
branches/modular_build/common/tests/org.jboss.tools.common.test/src/org/jboss/tools/common/zip/test/ZipBaseTestCase.java
Log:
refactored to AbstractZipTestCase
Deleted:
branches/modular_build/common/tests/org.jboss.tools.common.test/src/org/jboss/tools/common/zip/test/ZipBaseTest.java
===================================================================
---
branches/modular_build/common/tests/org.jboss.tools.common.test/src/org/jboss/tools/common/zip/test/ZipBaseTest.java 2010-04-01
14:37:08 UTC (rev 21193)
+++
branches/modular_build/common/tests/org.jboss.tools.common.test/src/org/jboss/tools/common/zip/test/ZipBaseTest.java 2010-04-01
14:41:29 UTC (rev 21194)
@@ -1,37 +0,0 @@
-package org.jboss.tools.common.zip.test;
-
-import java.io.File;
-
-import org.eclipse.core.runtime.FileLocator;
-import org.eclipse.core.runtime.Platform;
-
-import junit.framework.TestCase;
-
-public class ZipBaseTest extends TestCase {
-
- public static final String JAVA_IO_TMPDIR = "java.io.tmpdir";
- public static final String ORG_ECLIPSE_CORE_RUNTIME_ID =
"org.eclipse.core.runtime";
-
- private File zip;
- private File temp;
-
- @Override
- protected void setUp() throws Exception {
- zip = FileLocator.getBundleFile(Platform.getBundle(ORG_ECLIPSE_CORE_RUNTIME_ID));
- temp = new File(System.getProperty(JAVA_IO_TMPDIR));
- }
-
- @Override
- protected void tearDown() throws Exception {
- zip = null;
- temp = null;
- }
-
- public File getZip() {
- return zip;
- }
-
- public File getTemp() {
- return temp;
- }
-}
Deleted:
branches/modular_build/common/tests/org.jboss.tools.common.test/src/org/jboss/tools/common/zip/test/ZipBaseTestCase.java
===================================================================
---
branches/modular_build/common/tests/org.jboss.tools.common.test/src/org/jboss/tools/common/zip/test/ZipBaseTestCase.java 2010-04-01
14:37:08 UTC (rev 21193)
+++
branches/modular_build/common/tests/org.jboss.tools.common.test/src/org/jboss/tools/common/zip/test/ZipBaseTestCase.java 2010-04-01
14:41:29 UTC (rev 21194)
@@ -1,37 +0,0 @@
-package org.jboss.tools.common.zip.test;
-
-import java.io.File;
-
-import org.eclipse.core.runtime.FileLocator;
-import org.eclipse.core.runtime.Platform;
-
-import junit.framework.TestCase;
-
-public class ZipBaseTestCase extends TestCase {
-
- public static final String JAVA_IO_TMPDIR = "java.io.tmpdir";
- public static final String ORG_ECLIPSE_CORE_RUNTIME_ID =
"org.eclipse.core.runtime";
-
- private File zip;
- private File temp;
-
- @Override
- protected void setUp() throws Exception {
- zip = FileLocator.getBundleFile(Platform.getBundle(ORG_ECLIPSE_CORE_RUNTIME_ID));
- temp = new File(System.getProperty(JAVA_IO_TMPDIR));
- }
-
- @Override
- protected void tearDown() throws Exception {
- zip = null;
- temp = null;
- }
-
- public File getZip() {
- return zip;
- }
-
- public File getTemp() {
- return temp;
- }
-}
Show replies by date