Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions instrumentation/test-module-1/HeaderOutOfDate.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
/*
*
* * Copyright 2024 New Relic Corporation. All rights reserved.
* * SPDX-License-Identifier: Apache-2.0
*
*/

class HeaderOutOfDate {

}
7 changes: 7 additions & 0 deletions instrumentation/test-module-1/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
jar {
manifest { attributes 'Implementation-Title': 'com.newrelic.instrumentation.test-module-1'}
}

verifyInstrumentation {
passesOnly "something:else:something-made-up"
}
9 changes: 9 additions & 0 deletions instrumentation/test-module-2/HeaderMissing.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
/*
*
* * No-Header-Here!
*
*/

class HeaderMissing {

}
10 changes: 10 additions & 0 deletions instrumentation/test-module-2/HeaderPresent.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
/*
*
* * Copyright 2025 New Relic Corporation. All rights reserved.
* * SPDX-License-Identifier: Apache-2.0
*
*/

class HeaderPresent {

}
5 changes: 5 additions & 0 deletions instrumentation/test-module-2/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
jar {
manifest { attributes 'Implementation-Title': 'com.newrelic.foo.instrumentation.test-module-2'}
}

// no verify block
7 changes: 7 additions & 0 deletions instrumentation/test-module-3/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
jar {
manifest { attributes 'Implementation-Title': 'com.newrelic.instrumentation.not-3'}
}

verifyInstrumentation {
passesOnly "something-made-up"
}
8 changes: 8 additions & 0 deletions instrumentation/test-module-4/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
jar {
manifest { attributes 'Implementation-Title': 'com.newrelic.instrumentation.test-module-4'}
}


verifyInstrumentation {
passes "passes is not preferred!"
}
Loading