diff --git a/instrumentation/test-module-1/HeaderOutOfDate.java b/instrumentation/test-module-1/HeaderOutOfDate.java new file mode 100644 index 0000000000..d9c2c475b0 --- /dev/null +++ b/instrumentation/test-module-1/HeaderOutOfDate.java @@ -0,0 +1,10 @@ +/* + * + * * Copyright 2024 New Relic Corporation. All rights reserved. + * * SPDX-License-Identifier: Apache-2.0 + * + */ + +class HeaderOutOfDate { + +} \ No newline at end of file diff --git a/instrumentation/test-module-1/build.gradle b/instrumentation/test-module-1/build.gradle new file mode 100644 index 0000000000..8cedc632f8 --- /dev/null +++ b/instrumentation/test-module-1/build.gradle @@ -0,0 +1,7 @@ +jar { + manifest { attributes 'Implementation-Title': 'com.newrelic.instrumentation.test-module-1'} +} + +verifyInstrumentation { + passesOnly "something:else:something-made-up" +} diff --git a/instrumentation/test-module-2/HeaderMissing.java b/instrumentation/test-module-2/HeaderMissing.java new file mode 100644 index 0000000000..f74aabb36b --- /dev/null +++ b/instrumentation/test-module-2/HeaderMissing.java @@ -0,0 +1,9 @@ +/* + * + * * No-Header-Here! + * + */ + +class HeaderMissing { + +} \ No newline at end of file diff --git a/instrumentation/test-module-2/HeaderPresent.java b/instrumentation/test-module-2/HeaderPresent.java new file mode 100644 index 0000000000..b2f66c4089 --- /dev/null +++ b/instrumentation/test-module-2/HeaderPresent.java @@ -0,0 +1,10 @@ +/* + * + * * Copyright 2025 New Relic Corporation. All rights reserved. + * * SPDX-License-Identifier: Apache-2.0 + * + */ + +class HeaderPresent { + +} diff --git a/instrumentation/test-module-2/build.gradle b/instrumentation/test-module-2/build.gradle new file mode 100644 index 0000000000..d798578cf9 --- /dev/null +++ b/instrumentation/test-module-2/build.gradle @@ -0,0 +1,5 @@ +jar { + manifest { attributes 'Implementation-Title': 'com.newrelic.foo.instrumentation.test-module-2'} +} + +// no verify block \ No newline at end of file diff --git a/instrumentation/test-module-3/build.gradle b/instrumentation/test-module-3/build.gradle new file mode 100644 index 0000000000..b3da9e080c --- /dev/null +++ b/instrumentation/test-module-3/build.gradle @@ -0,0 +1,7 @@ +jar { + manifest { attributes 'Implementation-Title': 'com.newrelic.instrumentation.not-3'} +} + +verifyInstrumentation { + passesOnly "something-made-up" +} \ No newline at end of file diff --git a/instrumentation/test-module-4/build.gradle b/instrumentation/test-module-4/build.gradle new file mode 100644 index 0000000000..ccf13d6ea5 --- /dev/null +++ b/instrumentation/test-module-4/build.gradle @@ -0,0 +1,8 @@ +jar { + manifest { attributes 'Implementation-Title': 'com.newrelic.instrumentation.test-module-4'} +} + + +verifyInstrumentation { + passes "passes is not preferred!" +} \ No newline at end of file