diff options
author | John Arthorne | 2009-08-19 17:38:39 +0000 |
---|---|---|
committer | John Arthorne | 2009-08-19 17:38:39 +0000 |
commit | 232ef9afc20af8a4807c6a4884d9739cc263fd32 (patch) | |
tree | af11e77a11bc69aa7b09deb31ff32a52ffdd5932 /bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/engine | |
parent | 83c18fcacffc9616b5d77510bca1729c1ad90b77 (diff) | |
download | rt.equinox.p2-232ef9afc20af8a4807c6a4884d9739cc263fd32.tar.gz rt.equinox.p2-232ef9afc20af8a4807c6a4884d9739cc263fd32.tar.xz rt.equinox.p2-232ef9afc20af8a4807c6a4884d9739cc263fd32.zip |
Bug 285028 Use compressed profiles in tests
Diffstat (limited to 'bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/engine')
-rw-r--r-- | bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/engine/ProfileMetadataRepositoryTest.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/engine/ProfileMetadataRepositoryTest.java b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/engine/ProfileMetadataRepositoryTest.java index 5429ff0eb..02c33b6f1 100644 --- a/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/engine/ProfileMetadataRepositoryTest.java +++ b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/engine/ProfileMetadataRepositoryTest.java @@ -64,7 +64,7 @@ public class ProfileMetadataRepositoryTest extends AbstractProvisioningTest { public void testLoad() { File testData = getTestData("0.1", "testData/sdkpatchingtest"); //assert that test data is intact (see bug 285158) - File profileFile = new File(new File(testData, "SDKPatchingTest.profile"), "1228337371455.profile"); + File profileFile = new File(new File(testData, "SDKPatchingTest.profile"), "1228337371455.profile.gz"); assertTrue("0.15", profileFile.exists()); File tempFolder = getTempFolder(); copy("0.2", testData, tempFolder); @@ -107,7 +107,7 @@ public class ProfileMetadataRepositoryTest extends AbstractProvisioningTest { File simpleProfileFolder = new File(tempFolder, "SDKPatchingTest.profile"); assertTrue("0.5", simpleProfileFolder.exists()); - File timeStampedProfile = new File(simpleProfileFolder, "" + profile.getTimestamp() + ".profile"); + File timeStampedProfile = new File(simpleProfileFolder, "" + profile.getTimestamp() + ".profile.gz"); assertTrue("0.6", timeStampedProfile.exists()); ProfileMetadataRepositoryFactory factory = new ProfileMetadataRepositoryFactory(); |