commit | 2f512280149d687451bcfbe3e2bccac36a8b66fa | [log] [tgz] |
---|---|---|
author | vbhadrir <vbhadrir> | Tue Apr 05 21:12:40 2005 +0000 |
committer | vbhadrir <vbhadrir> | Tue Apr 05 21:12:40 2005 +0000 |
tree | cbeb4ada3e31a580dc401a4bc770a4960e5fa997 | |
parent | 4c28d79cd8cc9e7fe3ccd499869038a0f092b02d [diff] |
[nobug] API Tools + Committed for BLB
diff --git a/tests/org.eclipse.wst.common.tests/frameworktests/org/eclipse/wst/common/frameworks/artifactedit/tests/ArtifactEditTest.java b/tests/org.eclipse.wst.common.tests/frameworktests/org/eclipse/wst/common/frameworks/artifactedit/tests/ArtifactEditTest.java index ba2d05d..12c9b05 100644 --- a/tests/org.eclipse.wst.common.tests/frameworktests/org/eclipse/wst/common/frameworks/artifactedit/tests/ArtifactEditTest.java +++ b/tests/org.eclipse.wst.common.tests/frameworktests/org/eclipse/wst/common/frameworks/artifactedit/tests/ArtifactEditTest.java
@@ -91,17 +91,23 @@ } public boolean createProject() { + IPath localZipPath = getLocalPath(); + ProjectUnzipUtil util = new ProjectUnzipUtil(localZipPath, PROJECT_NAME); + return util.createProject(); + } + + private IPath getLocalPath() { URL url = CommonTestsPlugin.instance.find(zipFilePath); try { url = Platform.asLocalURL(url); } catch (IOException e) { e.printStackTrace(); } - IPath path = new Path(url.getPath()); - ProjectUnzipUtil util = new ProjectUnzipUtil(path, PROJECT_NAME); - return util.createProject(); + return new Path(url.getPath()); } + + public ArtifactEditTest() { super();