Skip to content

Commit

Permalink
chore: update lockfile tests (#291)
Browse files Browse the repository at this point in the history
  • Loading branch information
orsagie authored Sep 30, 2024
1 parent 628c688 commit 756bc8e
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 104 deletions.
2 changes: 1 addition & 1 deletion test/fixtures-with-wrappers/with-lock-file/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ dependencyLocking {
dependencies {
implementation 'org.codehaus.groovy:groovy:[3.0.0,3.0.4)'
runtimeOnly 'com.google.guava:guava:+'
}
}
109 changes: 11 additions & 98 deletions test/fixtures-with-wrappers/with-lock-file/dep-graph.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,10 @@
}
},
{
"id": "com.google.guava:[email protected].0-jre",
"id": "com.google.guava:[email protected].1-jre",
"info": {
"name": "com.google.guava:guava",
"version": "33.3.0-jre"
}
},
{
"id": "com.google.guava:[email protected]",
"info": {
"name": "com.google.guava:guava",
"version": "31.1-jre"
"version": "33.3.1-jre"
}
},
{
Expand Down Expand Up @@ -68,31 +61,10 @@
}
},
{
"id": "com.google.errorprone:[email protected]",
"info": {
"name": "com.google.errorprone:error_prone_annotations",
"version": "2.11.0"
}
},
{
"id": "com.google.guava:[email protected]",
"info": {
"name": "com.google.guava:failureaccess",
"version": "1.0.1"
}
},
{
"id": "org.checkerframework:[email protected]",
"info": {
"name": "org.checkerframework:checker-qual",
"version": "3.12.0"
}
},
{
"id": "com.google.j2objc:[email protected]",
"id": "com.google.j2objc:[email protected]",
"info": {
"name": "com.google.j2objc:j2objc-annotations",
"version": "1.3"
"version": "3.0.0"
}
}
],
Expand All @@ -107,10 +79,7 @@
"nodeId": "org.codehaus.groovy:[email protected]"
},
{
"nodeId": "com.google.guava:[email protected]"
},
{
"nodeId": "com.google.guava:[email protected]"
"nodeId": "com.google.guava:[email protected]"
}
]
},
Expand All @@ -120,8 +89,8 @@
"deps": []
},
{
"nodeId": "com.google.guava:[email protected].0-jre",
"pkgId": "com.google.guava:[email protected].0-jre",
"nodeId": "com.google.guava:[email protected].1-jre",
"pkgId": "com.google.guava:[email protected].1-jre",
"deps": [
{
"nodeId": "com.google.guava:[email protected]"
Expand All @@ -137,30 +106,9 @@
},
{
"nodeId": "com.google.errorprone:[email protected]"
}
]
},
{
"nodeId": "com.google.guava:[email protected]",
"pkgId": "com.google.guava:[email protected]",
"deps": [
{
"nodeId": "com.google.guava:[email protected]:pruned"
},
{
"nodeId": "com.google.code.findbugs:[email protected]:pruned"
},
{
"nodeId": "com.google.errorprone:[email protected]"
},
{
"nodeId": "com.google.guava:[email protected]"
},
{
"nodeId": "org.checkerframework:[email protected]"
},
{
"nodeId": "com.google.j2objc:[email protected]"
"nodeId": "com.google.j2objc:[email protected]"
}
]
},
Expand Down Expand Up @@ -190,45 +138,10 @@
"deps": []
},
{
"nodeId": "com.google.guava:[email protected]:pruned",
"pkgId": "com.google.guava:[email protected]",
"deps": [],
"info": {
"labels": {
"pruned": "true"
}
}
},
{
"nodeId": "com.google.code.findbugs:[email protected]:pruned",
"pkgId": "com.google.code.findbugs:[email protected]",
"deps": [],
"info": {
"labels": {
"pruned": "true"
}
}
},
{
"nodeId": "com.google.errorprone:[email protected]",
"pkgId": "com.google.errorprone:[email protected]",
"deps": []
},
{
"nodeId": "com.google.guava:[email protected]",
"pkgId": "com.google.guava:[email protected]",
"deps": []
},
{
"nodeId": "org.checkerframework:[email protected]",
"pkgId": "org.checkerframework:[email protected]",
"deps": []
},
{
"nodeId": "com.google.j2objc:[email protected]",
"pkgId": "com.google.j2objc:[email protected]",
"nodeId": "com.google.j2objc:[email protected]",
"pkgId": "com.google.j2objc:[email protected]",
"deps": []
}
]
}
}
}
10 changes: 5 additions & 5 deletions test/fixtures-with-wrappers/with-lock-file/gradle.lockfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
# Manual edits can break the build and are not advised.
# This file is expected to be part of source control.
com.google.code.findbugs:jsr305:3.0.2=runtimeClasspath,testRuntimeClasspath
com.google.errorprone:error_prone_annotations:2.11.0=runtimeClasspath,testRuntimeClasspath
com.google.guava:failureaccess:1.0.1=runtimeClasspath,testRuntimeClasspath
com.google.guava:guava:31.1-jre=runtimeClasspath,testRuntimeClasspath
com.google.errorprone:error_prone_annotations:2.28.0=runtimeClasspath,testRuntimeClasspath
com.google.guava:failureaccess:1.0.2=runtimeClasspath,testRuntimeClasspath
com.google.guava:guava:33.3.1-jre=runtimeClasspath,testRuntimeClasspath
com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava=runtimeClasspath,testRuntimeClasspath
com.google.j2objc:j2objc-annotations:1.3=runtimeClasspath,testRuntimeClasspath
org.checkerframework:checker-qual:3.12.0=runtimeClasspath,testRuntimeClasspath
com.google.j2objc:j2objc-annotations:3.0.0=runtimeClasspath,testRuntimeClasspath
org.checkerframework:checker-qual:3.43.0=runtimeClasspath,testRuntimeClasspath
org.codehaus.groovy:groovy:3.0.3=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
empty=annotationProcessor,testAnnotationProcessor

0 comments on commit 756bc8e

Please sign in to comment.