Skip to content

Commit fec7677

Browse files
committed
feat: update tests for trustify-da-ignore
1 parent 3859c06 commit fec7677

20 files changed

Lines changed: 26 additions & 26 deletions

File tree

src/test/resources/tst_manifests/golang/go_mod_with_all_ignore/go.mod

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ require(
66
github.com/labstack/echo/v4 v4.1.18-0.20201215153152-4422e3b66b9f //exhortignore
77
github.com/russellhaering/goxmldsig v1.1.0 //exhortignore
88
github.com/gin-gonic/gin v1.6.0 //exhortignore
9-
github.com/miekg/dns v1.0.4-0.20180125103619-43913f2f4fbd //exhortignore
10-
github.com/ipld/go-car v0.3.0 //exhortignore
11-
go.elastic.co/apm v1.11.0 //exhortignore
12-
gopkg.in/yaml.v3 v3.0.0-20220521103104-8f96da9f5d5e //exhortignore
9+
github.com/miekg/dns v1.0.4-0.20180125103619-43913f2f4fbd //trustify-da-ignore
10+
github.com/ipld/go-car v0.3.0 //trustify-da-ignore
11+
go.elastic.co/apm v1.11.0 //trustify-da-ignore
12+
gopkg.in/yaml.v3 v3.0.0-20220521103104-8f96da9f5d5e //trustify-da-ignore
1313
)

src/test/resources/tst_manifests/golang/go_mod_with_ignore/go.mod

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ go 1.19
55
require (
66
github.com/gin-gonic/gin v1.9.1
77
github.com/google/uuid v1.1.2
8-
github.com/jessevdk/go-flags v1.5.0 //exhortignore
8+
github.com/jessevdk/go-flags v1.5.0 //trustify-da-ignore
99
github.com/kr/pretty v0.3.1
1010
gopkg.in/yaml.v2 v2.4.0
1111
k8s.io/apimachinery v0.26.1
@@ -15,13 +15,13 @@ require (
1515
require (
1616
github.com/davecgh/go-spew v1.1.1 // indirect
1717
github.com/emicklei/go-restful/v3 v3.9.0 // indirect
18-
github.com/go-logr/logr v1.2.3 // indirect exhortignore
18+
github.com/go-logr/logr v1.2.3 // indirect trustify-da-ignore
1919
github.com/go-openapi/jsonpointer v0.19.5 // indirect
2020
github.com/go-openapi/jsonreference v0.20.0 // indirect
2121
github.com/go-openapi/swag v0.19.14 // indirect
2222
github.com/gogo/protobuf v1.3.2 // indirect
2323
github.com/golang/protobuf v1.5.2 // indirect
24-
github.com/google/gnostic v0.5.7-v3refs // indirect //exhortignore
24+
github.com/google/gnostic v0.5.7-v3refs // indirect //trustify-da-ignore
2525
github.com/google/go-cmp v0.5.9 // indirect
2626
github.com/google/gofuzz v1.1.0 // indirect
2727
github.com/imdario/mergo v0.3.6 // indirect

src/test/resources/tst_manifests/golang/go_mod_with_one_ignored_prefix_go/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ require(
1111
github.com/miekg/dns v1.0.4-0.20180125103619-43913f2f4fbd
1212
github.com/ipld/go-car v0.3.0
1313
go.elastic.co/apm v1.11.0
14-
gopkg.in/yaml.v3 v3.0.0-20220521103104-8f96da9f5d5e //exhortignore
14+
gopkg.in/yaml.v3 v3.0.0-20220521103104-8f96da9f5d5e //trustify-da-ignore
1515
)

src/test/resources/tst_manifests/gradle-groovy/deps_with_ignore_full_specification/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ dependencies {
2121
implementation "jakarta.validation:jakarta.validation-api:2.0.2"
2222
implementation "io.quarkus:quarkus-resteasy-multipart:2.13.7.Final"
2323
implementation "io.quarkus:quarkus-hibernate-orm-deployment:2.0.2.Final"
24-
implementation "log4j:log4j:1.2.17" // exhortignore
24+
implementation "log4j:log4j:1.2.17" // trustify-da-ignore
2525
}
2626
test {
2727
useJUnitPlatform()

src/test/resources/tst_manifests/gradle-groovy/deps_with_ignore_named_params/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ dependencies {
2121
implementation "jakarta.validation:jakarta.validation-api:2.0.2"
2222
implementation "io.quarkus:quarkus-resteasy-multipart:2.13.7.Final"
2323
implementation "io.quarkus:quarkus-hibernate-orm-deployment:2.0.2.Final"
24-
implementation group: 'log4j', name: 'log4j', version: '1.2.17' // exhortignore
24+
implementation group: 'log4j', name: 'log4j', version: '1.2.17' // trustify-da-ignore
2525
implementation "com.acme:invented.dependency:1.0.0"
2626

2727
}

src/test/resources/tst_manifests/gradle-groovy/deps_with_ignore_notations/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ dependencies {
3232
api libs.io.quarkus.quarkus.container.image.docker
3333
api libs.jakarta.validation.jakarta.validation.api
3434
api libs.io.quarkus.quarkus.vertx.http
35-
api libs.log4j // exhortignore
35+
api libs.log4j // trustify-da-ignore
3636
compileOnly libs.io.quarkus.quarkus.hibernate.orm.deployment
3737
}
3838

src/test/resources/tst_manifests/gradle-kotlin/deps_with_ignore_full_specification/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ dependencies {
2121
implementation("jakarta.validation:jakarta.validation-api:2.0.2")
2222
implementation("io.quarkus:quarkus-resteasy-multipart:2.13.7.Final")
2323
implementation("io.quarkus:quarkus-hibernate-orm-deployment:2.0.2.Final")
24-
implementation("log4j:log4j:1.2.17") // exhortignore
24+
implementation("log4j:log4j:1.2.17") // trustify-da-ignore
2525
}
2626
tasks.test {
2727
useJUnitPlatform()

src/test/resources/tst_manifests/gradle-kotlin/deps_with_ignore_named_params/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ dependencies {
2121
implementation("jakarta.validation:jakarta.validation-api:2.0.2")
2222
implementation("io.quarkus:quarkus-resteasy-multipart:2.13.7.Final")
2323
implementation("io.quarkus:quarkus-hibernate-orm-deployment:2.0.2.Final")
24-
implementation(group: "log4j", name: "log4j", version: "1.2.17") // exhortignore
24+
implementation(group: "log4j", name: "log4j", version: "1.2.17") // trustify-da-ignore
2525
implementation("com.acme:invented.dependency:1.0.0")
2626

2727
}

src/test/resources/tst_manifests/gradle-kotlin/deps_with_ignore_notations/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ dependencies {
3232
api(libs.io.quarkus.quarkus.container.image.docker)
3333
api(libs.jakarta.validation.jakarta.validation.api)
3434
api(libs.io.quarkus.quarkus.vertx.http)
35-
api(libs.log4j) // exhortignore
35+
api(libs.log4j) // trustify-da-ignore
3636
compileOnly(libs.io.quarkus.quarkus.hibernate.orm.deployment)
3737
}
3838

src/test/resources/tst_manifests/maven/deps_no_trivial_with_ignore/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
</dependency>
3636
<dependency>
3737
<groupId>io.quarkus</groupId>
38-
<artifactId>quarkus-jdbc-postgresql</artifactId> <!-- exhortignore-->
38+
<artifactId>quarkus-jdbc-postgresql</artifactId> <!-- trustify-da-ignore-->
3939
<version>2.13.6.Final</version>
4040
</dependency>
4141
</dependencies>

0 commit comments

Comments
 (0)