Skip to content

Commit

Permalink
Merge pull request #55 from spdx/libver119
Browse files Browse the repository at this point in the history
Update SPDX Java Library to version 1.1.9
  • Loading branch information
goneall authored Dec 13, 2023
2 parents b6002c3 + 3866f7e commit 6722f8d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>org.spdx</groupId>
<artifactId>spdx-rdf-store</artifactId>
<version>1.1.7-SNAPSHOT</version>
<version>1.1.8-SNAPSHOT</version>
<packaging>jar</packaging>

<name>spdx-rdf-store</name>
Expand Down Expand Up @@ -84,7 +84,7 @@
<dependency>
<groupId>org.spdx</groupId>
<artifactId>java-spdx-library</artifactId>
<version>1.1.6</version>
<version>1.1.9</version>
</dependency>
<dependency>
<groupId>org.apache.jena</groupId>
Expand Down
6 changes: 3 additions & 3 deletions src/test/java/org/spdx/library/model/SpdxPackageTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 6722f8d

Please sign in to comment.