diff --git a/pom.xml b/pom.xml index a82d0dc..0604f08 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ org.spdx spdx-rdf-store - 1.1.7-SNAPSHOT + 1.1.8-SNAPSHOT jar spdx-rdf-store @@ -84,7 +84,7 @@ org.spdx java-spdx-library - 1.1.6 + 1.1.9 org.apache.jena diff --git a/src/test/java/org/spdx/library/model/SpdxPackageTest.java b/src/test/java/org/spdx/library/model/SpdxPackageTest.java index bc59c0a..8c8ce31 100644 --- a/src/test/java/org/spdx/library/model/SpdxPackageTest.java +++ b/src/test/java/org/spdx/library/model/SpdxPackageTest.java @@ -222,15 +222,15 @@ public void testVerify() throws InvalidSPDXAnalysisException { assertEquals(0, result.size()); // verification code pkg.setPackageVerificationCode(null); - assertEquals(1, pkg.verify().size()); + assertEquals(0, pkg.verify().size()); // Make sure no files are allowed when filesAnalyzed is false pkg.setFilesAnalyzed(false); - assertEquals(1, pkg.verify().size()); + assertEquals(2, pkg.verify().size()); //Make sure we're valid with no files and no verification code when filesAnalyzed = false. pkg.getFiles().clear(); - assertEquals(0, pkg.verify().size()); + assertEquals(1, pkg.verify().size()); } public void testEquivalent() throws InvalidSPDXAnalysisException {