Skip to content

Commit

Permalink
Fix tests for now, will need to adapt range-dependent tests in the fu…
Browse files Browse the repository at this point in the history
…ture
  • Loading branch information
johannesduesing committed Sep 5, 2024
1 parent 7230b7f commit 85c0f28
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/test/java/org/tudo/sse/MavenCentralAnalysisTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -73,13 +73,13 @@ public void analyzeArtifact(Artifact current) {
assertEquals(Integer.parseInt(currentExp.get(3)), result.getUntil());

if(result.getToCoordinates() != null) {
assertEquals(currentExp.get(4), result.getToCoordinates().toString());
assertEquals(currentExp.get(4), result.getToCoordinates().toString().replace("\\","/"));
} else {
assertEquals(currentExp.get(4), "null");
}

if(result.getToIndexPos() != null) {
assertEquals(currentExp.get(5), result.getToIndexPos().toString());
assertEquals(currentExp.get(5), result.getToIndexPos().toString().replace("\\","/"));
} else {
assertEquals(currentExp.get(5), "null");
}
Expand Down
8 changes: 4 additions & 4 deletions src/test/resources/PomInputs.json
Original file line number Diff line number Diff line change
Expand Up @@ -343,9 +343,9 @@
"log4j:log4j:1.2.16:compile",
"org.eclipse.xtext:org.eclipse.xtext.xbase:2.6.2:compile",
"org.eclipse.xtext:org.eclipse.xtext.xbase.lib:2.6.2:compile",
"org.eclipse.emf:org.eclipse.emf.common:2.30.0:compile",
"org.eclipse.emf:org.eclipse.emf.ecore:2.36.0:compile",
"org.eclipse.emf:org.eclipse.emf.codegen:2.23.0:runtime",
"org.eclipse.emf:org.eclipse.emf.common:2.31.0:compile",
"org.eclipse.emf:org.eclipse.emf.ecore:2.37.0:compile",
"org.eclipse.emf:org.eclipse.emf.codegen:2.24.0:runtime",
"com.google.inject:guice:3.0:compile",
"com.google.guava:guava:14.0.1:compile"
]
Expand All @@ -362,7 +362,7 @@
"org.springframework.boot:spring-boot-starter-web:2.5.0:compile",
"com.fasterxml.jackson.core:jackson-databind:2.10.0:compile",
"org.hibernate:hibernate-core:5.3.0.CR2:compile",
"com.google.guava:guava:33.2.1-jre:compile",
"com.google.guava:guava:33.3.0-jre:compile",
"org.apache.httpcomponents:httpclient:4.5.13:compile",
"commons-io:commons-io:2.16.1:compile"
]
Expand Down

0 comments on commit 85c0f28

Please sign in to comment.