Skip to content

Commit

Permalink
update java dep test
Browse files Browse the repository at this point in the history
Signed-off-by: Emily McMullan <emcmulla@redhat.com>
  • Loading branch information
eemcmullan committed Mar 25, 2024
1 parent fe73801 commit 4aafa52
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions provider/internal/java/dependency_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ func Test_parseMavenDepLines(t *testing.T) {
artifactIdKey: "junit",
pomPathKey: "pom.xml",
},
FileURIPrefix: "file://testdata/junit/junit/4.11",
FileURIPrefix: "file:///junit/junit/4.11",
},
AddedDeps: []provider.DepDAGItem{
{
Expand All @@ -83,7 +83,7 @@ func Test_parseMavenDepLines(t *testing.T) {
artifactIdKey: "hamcrest-core",
pomPathKey: "pom.xml",
},
FileURIPrefix: "file://testdata/org/hamcrest/hamcrest-core/1.3",
FileURIPrefix: "file:///org/hamcrest/hamcrest-core/1.3",
},
},
},
Expand All @@ -104,7 +104,7 @@ func Test_parseMavenDepLines(t *testing.T) {
artifactIdKey: "kubernetes-client",
pomPathKey: "pom.xml",
},
FileURIPrefix: "file://testdata/io/fabric8/kubernetes-client/6.0.0",
FileURIPrefix: "file:///io/fabric8/kubernetes-client/6.0.0",
},
AddedDeps: []provider.DepDAGItem{
{
Expand All @@ -124,7 +124,7 @@ func Test_parseMavenDepLines(t *testing.T) {
artifactIdKey: "netty-transport-native-epoll",
pomPathKey: "pom.xml",
},
FileURIPrefix: "file://testdata/io/netty/netty-transport-native-epoll/4.1.76.Final",
FileURIPrefix: "file:///io/netty/netty-transport-native-epoll/4.1.76.Final",
},
},
{
Expand All @@ -143,7 +143,7 @@ func Test_parseMavenDepLines(t *testing.T) {
artifactIdKey: "kubernetes-httpclient-okhttp",
pomPathKey: "pom.xml",
},
FileURIPrefix: "file://testdata/io/fabric8/kubernetes-httpclient-okhttp/6.0.0",
FileURIPrefix: "file:///io/fabric8/kubernetes-httpclient-okhttp/6.0.0",
},
},
{
Expand All @@ -162,7 +162,7 @@ func Test_parseMavenDepLines(t *testing.T) {
artifactIdKey: "okhttp",
pomPathKey: "pom.xml",
},
FileURIPrefix: "file://testdata/com/squareup/okhttp3/okhttp/3.12.12",
FileURIPrefix: "file:///com/squareup/okhttp3/okhttp/3.12.12",
},
},
{
Expand All @@ -181,7 +181,7 @@ func Test_parseMavenDepLines(t *testing.T) {
artifactIdKey: "okio",
pomPathKey: "pom.xml",
},
FileURIPrefix: "file://testdata/com/squareup/okio/okio/1.15.0",
FileURIPrefix: "file:///com/squareup/okio/okio/1.15.0",
},
},
{
Expand All @@ -200,7 +200,7 @@ func Test_parseMavenDepLines(t *testing.T) {
artifactIdKey: "logging-interceptor",
pomPathKey: "pom.xml",
},
FileURIPrefix: "file://testdata/com/squareup/okhttp3/logging-interceptor/3.12.12",
FileURIPrefix: "file:///com/squareup/okhttp3/logging-interceptor/3.12.12",
},
},
{
Expand All @@ -219,7 +219,7 @@ func Test_parseMavenDepLines(t *testing.T) {
artifactIdKey: "zjsonpatch",
pomPathKey: "pom.xml",
},
FileURIPrefix: "file://testdata/io/fabric8/zjsonpatch/0.3.0",
FileURIPrefix: "file:///io/fabric8/zjsonpatch/0.3.0",
},
},
},
Expand Down Expand Up @@ -259,7 +259,7 @@ func Test_parseMavenDepLines(t *testing.T) {
artifactIdKey: "junit",
pomPathKey: "pom.xml",
},
FileURIPrefix: "file://testdata/junit/junit/4.11",
FileURIPrefix: "file:///junit/junit/4.11",
},
AddedDeps: []provider.DepDAGItem{
{
Expand All @@ -279,7 +279,7 @@ func Test_parseMavenDepLines(t *testing.T) {
artifactIdKey: "hamcrest-core",
pomPathKey: "pom.xml",
},
FileURIPrefix: "file://testdata/org/hamcrest/hamcrest-core/1.3",
FileURIPrefix: "file:///org/hamcrest/hamcrest-core/1.3",
},
},
},
Expand All @@ -300,7 +300,7 @@ func Test_parseMavenDepLines(t *testing.T) {
artifactIdKey: "kubernetes-client",
pomPathKey: "pom.xml",
},
FileURIPrefix: "file://testdata/io/fabric8/kubernetes-client/6.0.0",
FileURIPrefix: "file:///io/fabric8/kubernetes-client/6.0.0",
},
AddedDeps: []provider.DepDAGItem{
{
Expand All @@ -319,7 +319,7 @@ func Test_parseMavenDepLines(t *testing.T) {
artifactIdKey: "kubernetes-httpclient-okhttp",
pomPathKey: "pom.xml",
},
FileURIPrefix: "file://testdata/io/fabric8/kubernetes-httpclient-okhttp/6.0.0",
FileURIPrefix: "file:///io/fabric8/kubernetes-httpclient-okhttp/6.0.0",
},
},
{
Expand All @@ -338,7 +338,7 @@ func Test_parseMavenDepLines(t *testing.T) {
artifactIdKey: "okhttp",
pomPathKey: "pom.xml",
},
FileURIPrefix: "file://testdata/com/squareup/okhttp3/okhttp/3.12.12",
FileURIPrefix: "file:///com/squareup/okhttp3/okhttp/3.12.12",
},
},
{
Expand All @@ -357,7 +357,7 @@ func Test_parseMavenDepLines(t *testing.T) {
artifactIdKey: "okio",
pomPathKey: "pom.xml",
},
FileURIPrefix: "file://testdata/com/squareup/okio/okio/1.15.0",
FileURIPrefix: "file:///com/squareup/okio/okio/1.15.0",
},
},
{
Expand All @@ -376,7 +376,7 @@ func Test_parseMavenDepLines(t *testing.T) {
artifactIdKey: "logging-interceptor",
pomPathKey: "pom.xml",
},
FileURIPrefix: "file://testdata/com/squareup/okhttp3/logging-interceptor/3.12.12",
FileURIPrefix: "file:///com/squareup/okhttp3/logging-interceptor/3.12.12",
},
},
{
Expand All @@ -395,7 +395,7 @@ func Test_parseMavenDepLines(t *testing.T) {
artifactIdKey: "zjsonpatch",
pomPathKey: "pom.xml",
},
FileURIPrefix: "file://testdata/io/fabric8/zjsonpatch/0.3.0",
FileURIPrefix: "file:///io/fabric8/zjsonpatch/0.3.0",
},
},
},
Expand Down

0 comments on commit 4aafa52

Please sign in to comment.