diff options
author | Mykola Nikishov | 2016-03-17 06:22:30 +0000 |
---|---|---|
committer | Pascal Rapicault | 2016-04-21 03:32:22 +0000 |
commit | ae7c096597eaaed93d9832a41f3065792f9b41c5 (patch) | |
tree | b4f29b36b055a479c3ce9a913d795b68b109fca9 | |
parent | 5b2f061cd8ecf96a37783657e7ee7a0110c9d26d (diff) | |
download | rt.equinox.p2-ae7c096597eaaed93d9832a41f3065792f9b41c5.tar.gz rt.equinox.p2-ae7c096597eaaed93d9832a41f3065792f9b41c5.tar.xz rt.equinox.p2-ae7c096597eaaed93d9832a41f3065792f9b41c5.zip |
Bug 336246 - Remove the metadata generatorY20160421-1000I20160424-2000
With 439356b40487f691fc68c0c90eedce5d73d65c0f, references to
MetadataGeneratorHelper's method had been replaced with a call to
PublisherHelper. Now testGeneration*2 methods are just duplicates of
existing ones (check testGenerationFolder vs testGenerationFile2).
Remove tests that used to call MetadataGeneratorHelper's methods and are
the same as the tests for PublisherHelper.
Change-Id: I74670f196a5a2b3b24c8a6e36120e9885d9ea7d6
Signed-off-by: Mykola Nikishov <mn@mn.com.ua>
-rw-r--r-- | bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/publisher/actions/MD5GenerationTest.java | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/publisher/actions/MD5GenerationTest.java b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/publisher/actions/MD5GenerationTest.java index a3d84e2b3..4f93ecc7a 100644 --- a/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/publisher/actions/MD5GenerationTest.java +++ b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/publisher/actions/MD5GenerationTest.java @@ -22,28 +22,13 @@ public class MD5GenerationTest extends AbstractProvisioningTest { assertEquals("50d4ea58b02706ab373a908338877e02", ad.getProperty(IArtifactDescriptor.DOWNLOAD_MD5)); } - public void testGenerationFile2() { - IArtifactDescriptor ad = PublisherHelper.createArtifactDescriptor(new ArtifactKey("classifierTest", "idTest", Version.createOSGi(1, 0, 0)), getTestData("Artifact to generate from", "testData/artifactRepo/simpleWithMD5/plugins/aaPlugin_1.0.0.jar")); - assertEquals("50d4ea58b02706ab373a908338877e02", ad.getProperty(IArtifactDescriptor.DOWNLOAD_MD5)); - } - public void testGenerationFolder() { IArtifactDescriptor ad = PublisherHelper.createArtifactDescriptor(new ArtifactKey("classifierTest", "idTest", Version.createOSGi(1, 0, 0)), getTestData("Artifact to generate from", "testData/artifactRepo/simpleWithMD5/plugins/")); assertNull(ad.getProperty(IArtifactDescriptor.DOWNLOAD_MD5)); } - public void testGenerationFolder2() { - IArtifactDescriptor ad = PublisherHelper.createArtifactDescriptor(new ArtifactKey("classifierTest", "idTest", Version.createOSGi(1, 0, 0)), getTestData("Artifact to generate from", "testData/artifactRepo/simpleWithMD5/plugins/")); - assertNull(ad.getProperty(IArtifactDescriptor.DOWNLOAD_MD5)); - } - public void testGenerationNoFolder() { IArtifactDescriptor ad = PublisherHelper.createArtifactDescriptor(new ArtifactKey("classifierTest", "idTest", Version.createOSGi(1, 0, 0)), null); assertNull(ad.getProperty(IArtifactDescriptor.DOWNLOAD_MD5)); } - - public void testGenerationNoFolder2() { - IArtifactDescriptor ad = PublisherHelper.createArtifactDescriptor(new ArtifactKey("classifierTest", "idTest", Version.createOSGi(1, 0, 0)), null); - assertNull(ad.getProperty(IArtifactDescriptor.DOWNLOAD_MD5)); - } } |