Skip to content

Commit

Permalink
test(gradle-inspector): Adjust expected results
Browse files Browse the repository at this point in the history
Update expected results from the `Gradle` package manager to match those
for the `GradleInspector` package manager. This highlights the
differences between the two implementations.

Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
  • Loading branch information
sschuberth committed Apr 19, 2023
1 parent a6f688e commit 9b6a7a2
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 182 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -396,10 +396,10 @@ packages:
description: "An HTTP+HTTP/2 client for Android and Java applications"
homepage_url: "https://github.com/square/okhttp/okhttp"
binary_artifact:
url: ""
url: "https://repo.maven.apache.org/maven2/com/squareup/okhttp3/okhttp/3.10.0/okhttp-3.10.0.jar"
hash:
value: ""
algorithm: ""
value: "7ef0f1d95bf4c0b3ba30bbae25e0e562b05cf75e"
algorithm: "SHA-1"
source_artifact:
url: "https://repo.maven.apache.org/maven2/com/squareup/okhttp3/okhttp/3.10.0/okhttp-3.10.0-sources.jar"
hash:
Expand All @@ -426,10 +426,10 @@ packages:
description: "A modern I/O API for Java"
homepage_url: "https://github.com/square/okio/okio"
binary_artifact:
url: ""
url: "https://repo.maven.apache.org/maven2/com/squareup/okio/okio/1.14.0/okio-1.14.0.jar"
hash:
value: ""
algorithm: ""
value: "102d7be47241d781ef95f1581d414b0943053130"
algorithm: "SHA-1"
source_artifact:
url: "https://repo.maven.apache.org/maven2/com/squareup/okio/okio/1.14.0/okio-1.14.0-sources.jar"
hash:
Expand Down Expand Up @@ -463,10 +463,10 @@ packages:
\ and Kent Beck."
homepage_url: "http://junit.org"
binary_artifact:
url: ""
url: "https://repo.maven.apache.org/maven2/junit/junit/4.12/junit-4.12.jar"
hash:
value: ""
algorithm: ""
value: "2973d150c0dc1fefe998f834810d68f278ea58ec"
algorithm: "SHA-1"
source_artifact:
url: "https://repo.maven.apache.org/maven2/junit/junit/4.12/junit-4.12-sources.jar"
hash:
Expand Down Expand Up @@ -507,10 +507,10 @@ packages:
\ and ar, cpio, jar, tar, zip, dump, 7z, arj."
homepage_url: "https://commons.apache.org/proper/commons-compress/"
binary_artifact:
url: ""
url: "https://repo.maven.apache.org/maven2/org/apache/commons/commons-compress/1.17/commons-compress-1.17.jar"
hash:
value: ""
algorithm: ""
value: "474c20609032e7f815ef534cd8174d2e400d9a8d"
algorithm: "SHA-1"
source_artifact:
url: "https://repo.maven.apache.org/maven2/org/apache/commons/commons-compress/1.17/commons-compress-1.17-sources.jar"
hash:
Expand Down Expand Up @@ -558,10 +558,10 @@ packages:
\ as to justify existence in java.lang."
homepage_url: "http://commons.apache.org/proper/commons-lang/"
binary_artifact:
url: ""
url: "https://repo.maven.apache.org/maven2/org/apache/commons/commons-lang3/3.7/commons-lang3-3.7.jar"
hash:
value: ""
algorithm: ""
value: "557edd918fd41f9260963583ebf5a61a43a6b423"
algorithm: "SHA-1"
source_artifact:
url: "https://repo.maven.apache.org/maven2/org/apache/commons/commons-lang3/3.7/commons-lang3-3.7-sources.jar"
hash:
Expand Down Expand Up @@ -596,10 +596,10 @@ packages:
\ strings."
homepage_url: "http://commons.apache.org/proper/commons-text/"
binary_artifact:
url: ""
url: "https://repo.maven.apache.org/maven2/org/apache/commons/commons-text/1.2/commons-text-1.2.jar"
hash:
value: ""
algorithm: ""
value: "74acdec7237f576c4803fff0c1008ab8a3808b2b"
algorithm: "SHA-1"
source_artifact:
url: "https://repo.maven.apache.org/maven2/org/apache/commons/commons-text/1.2/commons-text-1.2-sources.jar"
hash:
Expand Down Expand Up @@ -634,10 +634,10 @@ packages:
\ strings."
homepage_url: "http://commons.apache.org/proper/commons-text/"
binary_artifact:
url: ""
url: "https://repo.maven.apache.org/maven2/org/apache/commons/commons-text/1.3/commons-text-1.3.jar"
hash:
value: ""
algorithm: ""
value: "9abf61708a66ab5e55f6169a200dbfc584b546d9"
algorithm: "SHA-1"
source_artifact:
url: "https://repo.maven.apache.org/maven2/org/apache/commons/commons-text/1.3/commons-text-1.3-sources.jar"
hash:
Expand Down Expand Up @@ -672,10 +672,10 @@ packages:
\ for common operations."
homepage_url: "https://github.com/hamcrest/JavaHamcrest/hamcrest-core"
binary_artifact:
url: ""
url: "https://repo.maven.apache.org/maven2/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar"
hash:
value: ""
algorithm: ""
value: "42a25dc3219429f0e5d060061f71acb49bf010a0"
algorithm: "SHA-1"
source_artifact:
url: "https://repo.maven.apache.org/maven2/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3-sources.jar"
hash:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,57 +17,22 @@ project:
homepage_url: ""
scopes:
- name: "compileClasspath"
dependencies:
- id: "Unknown:org.apache.commons:commons-text:1.1"
issues:
- timestamp: "1970-01-01T00:00:00Z"
source: "Gradle"
message: "Unresolved: ModuleVersionNotFoundException: Cannot resolve external\
\ dependency org.apache.commons:commons-text:1.1 because no repositories\
\ are defined."
severity: "ERROR"
dependencies: []
- name: "runtimeClasspath"
dependencies:
- id: "Unknown:org.apache.commons:commons-text:1.1"
issues:
- timestamp: "1970-01-01T00:00:00Z"
source: "Gradle"
message: "Unresolved: ModuleVersionNotFoundException: Cannot resolve external\
\ dependency org.apache.commons:commons-text:1.1 because no repositories\
\ are defined."
severity: "ERROR"
dependencies: []
- name: "testCompileClasspath"
dependencies:
- id: "Unknown:junit:junit:4.12"
issues:
- timestamp: "1970-01-01T00:00:00Z"
source: "Gradle"
message: "Unresolved: ModuleVersionNotFoundException: Cannot resolve external\
\ dependency junit:junit:4.12 because no repositories are defined."
severity: "ERROR"
- id: "Unknown:org.apache.commons:commons-text:1.1"
issues:
- timestamp: "1970-01-01T00:00:00Z"
source: "Gradle"
message: "Unresolved: ModuleVersionNotFoundException: Cannot resolve external\
\ dependency org.apache.commons:commons-text:1.1 because no repositories\
\ are defined."
severity: "ERROR"
dependencies: []
- name: "testRuntimeClasspath"
dependencies:
- id: "Unknown:junit:junit:4.12"
issues:
- timestamp: "1970-01-01T00:00:00Z"
source: "Gradle"
message: "Unresolved: ModuleVersionNotFoundException: Cannot resolve external\
\ dependency junit:junit:4.12 because no repositories are defined."
severity: "ERROR"
- id: "Unknown:org.apache.commons:commons-text:1.1"
issues:
- timestamp: "1970-01-01T00:00:00Z"
source: "Gradle"
message: "Unresolved: ModuleVersionNotFoundException: Cannot resolve external\
\ dependency org.apache.commons:commons-text:1.1 because no repositories\
\ are defined."
severity: "ERROR"
dependencies: []
packages: []
issues:
- timestamp: "1970-01-01T00:00:00Z"
source: "GradleInspector"
message: "Cannot resolve external dependency org.apache.commons:commons-text:1.1\
\ because no repositories are defined from project :lib-without-repo."
severity: "WARNING"
- timestamp: "1970-01-01T00:00:00Z"
source: "GradleInspector"
message: "Cannot resolve external dependency junit:junit:4.12 because no repositories\
\ are defined from project :lib-without-repo."
severity: "WARNING"
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,6 @@ project:
dependencies:
- id: "Maven:org.jetbrains:annotations:13.0"
- id: "Maven:org.jetbrains.kotlin:kotlin-stdlib-common:1.7.20"
- name: "implementationDependenciesMetadata"
dependencies:
- id: "Gradle:org.gradle.kotlin.dsl.samples.multiproject:core:1.0"
linkage: "PROJECT_DYNAMIC"
- id: "Maven:org.jetbrains.kotlin:kotlin-stdlib:1.7.20"
dependencies:
- id: "Maven:org.jetbrains:annotations:13.0"
- id: "Maven:org.jetbrains.kotlin:kotlin-stdlib-common:1.7.20"
- name: "kotlinCompilerClasspath"
dependencies:
- id: "Maven:org.jetbrains.kotlin:kotlin-compiler-embeddable:1.7.20"
Expand All @@ -42,9 +34,6 @@ project:
- id: "Maven:org.jetbrains.kotlin:kotlin-reflect:1.7.20"
dependencies:
- id: "Maven:org.jetbrains.kotlin:kotlin-stdlib:1.7.20"
dependencies:
- id: "Maven:org.jetbrains:annotations:13.0"
- id: "Maven:org.jetbrains.kotlin:kotlin-stdlib-common:1.7.20"
- id: "Maven:org.jetbrains.kotlin:kotlin-script-runtime:1.7.20"
- id: "Maven:org.jetbrains.kotlin:kotlin-stdlib:1.7.20"
dependencies:
Expand All @@ -66,23 +55,9 @@ project:
dependencies:
- id: "Maven:org.jetbrains.kotlin:kotlin-script-runtime:1.7.20"
- id: "Maven:org.jetbrains.kotlin:kotlin-scripting-common:1.7.20"
dependencies:
- id: "Maven:org.jetbrains.kotlin:kotlin-stdlib:1.7.20"
dependencies:
- id: "Maven:org.jetbrains:annotations:13.0"
- id: "Maven:org.jetbrains.kotlin:kotlin-stdlib-common:1.7.20"
- id: "Maven:org.jetbrains.kotlin:kotlin-stdlib:1.7.20"
dependencies:
- id: "Maven:org.jetbrains:annotations:13.0"
- id: "Maven:org.jetbrains.kotlin:kotlin-stdlib-common:1.7.20"
- id: "Maven:org.jetbrains.kotlin:kotlin-stdlib:1.7.20"
dependencies:
- id: "Maven:org.jetbrains:annotations:13.0"
- id: "Maven:org.jetbrains.kotlin:kotlin-stdlib-common:1.7.20"
- id: "Maven:org.jetbrains.kotlin:kotlin-stdlib:1.7.20"
dependencies:
- id: "Maven:org.jetbrains:annotations:13.0"
- id: "Maven:org.jetbrains.kotlin:kotlin-stdlib-common:1.7.20"
- name: "kotlinCompilerPluginClasspathTest"
dependencies:
- id: "Maven:org.jetbrains.kotlin:kotlin-scripting-compiler-embeddable:1.7.20"
Expand All @@ -99,23 +74,9 @@ project:
dependencies:
- id: "Maven:org.jetbrains.kotlin:kotlin-script-runtime:1.7.20"
- id: "Maven:org.jetbrains.kotlin:kotlin-scripting-common:1.7.20"
dependencies:
- id: "Maven:org.jetbrains.kotlin:kotlin-stdlib:1.7.20"
dependencies:
- id: "Maven:org.jetbrains:annotations:13.0"
- id: "Maven:org.jetbrains.kotlin:kotlin-stdlib-common:1.7.20"
- id: "Maven:org.jetbrains.kotlin:kotlin-stdlib:1.7.20"
dependencies:
- id: "Maven:org.jetbrains:annotations:13.0"
- id: "Maven:org.jetbrains.kotlin:kotlin-stdlib-common:1.7.20"
- id: "Maven:org.jetbrains.kotlin:kotlin-stdlib:1.7.20"
dependencies:
- id: "Maven:org.jetbrains:annotations:13.0"
- id: "Maven:org.jetbrains.kotlin:kotlin-stdlib-common:1.7.20"
- id: "Maven:org.jetbrains.kotlin:kotlin-stdlib:1.7.20"
dependencies:
- id: "Maven:org.jetbrains:annotations:13.0"
- id: "Maven:org.jetbrains.kotlin:kotlin-stdlib-common:1.7.20"
- name: "kotlinKlibCommonizerClasspath"
dependencies:
- id: "Maven:org.jetbrains.kotlin:kotlin-klib-commonizer-embeddable:1.7.20"
Expand All @@ -128,14 +89,8 @@ project:
- id: "Maven:org.jetbrains.kotlin:kotlin-reflect:1.7.20"
dependencies:
- id: "Maven:org.jetbrains.kotlin:kotlin-stdlib:1.7.20"
dependencies:
- id: "Maven:org.jetbrains:annotations:13.0"
- id: "Maven:org.jetbrains.kotlin:kotlin-stdlib-common:1.7.20"
- id: "Maven:org.jetbrains.kotlin:kotlin-script-runtime:1.7.20"
- id: "Maven:org.jetbrains.kotlin:kotlin-stdlib:1.7.20"
dependencies:
- id: "Maven:org.jetbrains:annotations:13.0"
- id: "Maven:org.jetbrains.kotlin:kotlin-stdlib-common:1.7.20"
- id: "Maven:org.jetbrains.kotlin:kotlin-stdlib:1.7.20"
dependencies:
- id: "Maven:org.jetbrains:annotations:13.0"
Expand All @@ -150,9 +105,6 @@ project:
- id: "Maven:org.jetbrains:annotations:13.0"
- id: "Maven:org.jetbrains.kotlin:kotlin-stdlib-common:1.7.20"
- id: "Maven:org.jetbrains.kotlin:kotlin-stdlib:1.7.20"
dependencies:
- id: "Maven:org.jetbrains:annotations:13.0"
- id: "Maven:org.jetbrains.kotlin:kotlin-stdlib-common:1.7.20"
- name: "testCompileClasspath"
dependencies:
- id: "Gradle:org.gradle.kotlin.dsl.samples.multiproject:core:1.0"
Expand All @@ -161,14 +113,6 @@ project:
dependencies:
- id: "Maven:org.jetbrains:annotations:13.0"
- id: "Maven:org.jetbrains.kotlin:kotlin-stdlib-common:1.7.20"
- name: "testImplementationDependenciesMetadata"
dependencies:
- id: "Gradle:org.gradle.kotlin.dsl.samples.multiproject:core:1.0"
linkage: "PROJECT_DYNAMIC"
- id: "Maven:org.jetbrains.kotlin:kotlin-stdlib:1.7.20"
dependencies:
- id: "Maven:org.jetbrains:annotations:13.0"
- id: "Maven:org.jetbrains.kotlin:kotlin-stdlib-common:1.7.20"
- name: "testRuntimeClasspath"
dependencies:
- id: "Gradle:org.gradle.kotlin.dsl.samples.multiproject:core:1.0"
Expand All @@ -179,9 +123,6 @@ project:
- id: "Maven:org.jetbrains:annotations:13.0"
- id: "Maven:org.jetbrains.kotlin:kotlin-stdlib-common:1.7.20"
- id: "Maven:org.jetbrains.kotlin:kotlin-stdlib:1.7.20"
dependencies:
- id: "Maven:org.jetbrains:annotations:13.0"
- id: "Maven:org.jetbrains.kotlin:kotlin-stdlib-common:1.7.20"
packages:
- id: "Maven:net.java.dev.jna:jna:5.6.0"
purl: "pkg:maven/net.java.dev.jna/jna@5.6.0"
Expand Down
Loading

0 comments on commit 9b6a7a2

Please sign in to comment.