Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMykola Nikishov2018-12-22 17:14:11 -0500
committerMykola Nikishov2018-12-23 03:44:24 -0500
commit1bb7ee1ff6e43146e4bbb29d32be64012a63ae98 (patch)
tree629822859f40e0b004175f9fce60b48f80e30bb2
parent3f4541ab3218cb89725fcb2a9cb32e6784fb814c (diff)
downloadrt.equinox.p2-1bb7ee1ff6e43146e4bbb29d32be64012a63ae98.tar.gz
rt.equinox.p2-1bb7ee1ff6e43146e4bbb29d32be64012a63ae98.tar.xz
rt.equinox.p2-1bb7ee1ff6e43146e4bbb29d32be64012a63ae98.zip
Change-Id: Ib9ea44a308d9fe856a0d2a561efc2f38e9360184 Signed-off-by: Mykola Nikishov <mn@mn.com.ua>
-rw-r--r--bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/artifact/processors/ChecksumUtilitiesTest.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/artifact/processors/ChecksumUtilitiesTest.java b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/artifact/processors/ChecksumUtilitiesTest.java
index d16ed44bc..7e426901e 100644
--- a/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/artifact/processors/ChecksumUtilitiesTest.java
+++ b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/artifact/processors/ChecksumUtilitiesTest.java
@@ -14,7 +14,9 @@
package org.eclipse.equinox.p2.tests.artifact.processors;
import static java.util.Arrays.asList;
+import static java.util.Collections.emptyList;
import static java.util.Collections.emptySet;
+import static java.util.Collections.singleton;
import static org.junit.Assert.assertEquals;
import java.util.Collection;
@@ -76,4 +78,10 @@ public class ChecksumUtilitiesTest {
assertEquals(Status.OK_STATUS, verifier.getStatus());
}
+ @Test
+ public void testChecksumsToSkip() {
+ Collection<ProcessingStep> checksumVerifiers = ChecksumUtilities.getChecksumVerifiers(artifactDescriptor, propertyType, singleton(algorithmId));
+
+ assertEquals(emptyList(), checksumVerifiers);
+ }
}

Back to the top