Skip to content

Commit e5eceed

Browse files
Refactored tests to Kotlin. (#10034)
1 parent 6611925 commit e5eceed

File tree

8 files changed

+285
-284
lines changed

8 files changed

+285
-284
lines changed

buildSrc/build.gradle.kts

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -86,25 +86,13 @@ testing {
8686
@Suppress("UnstableApiUsage")
8787
suites {
8888
val test by getting(JvmTestSuite::class) {
89-
dependencies {
90-
implementation(libs.groovy)
91-
implementation(libs.spock.core)
92-
}
9389
targets.configureEach {
9490
testTask.configure {
9591
enabled = project.hasProperty("runBuildSrcTests")
9692
}
9793
}
9894
}
9995

100-
val integTest by registering(JvmTestSuite::class) {
101-
dependencies {
102-
implementation(gradleTestKit())
103-
}
104-
// Makes the gradle plugin publish its declared plugins to this source set
105-
gradlePlugin.testSourceSet(sources)
106-
}
107-
10896
withType(JvmTestSuite::class).configureEach {
10997
useJUnitJupiter(libs.versions.junit5)
11098
targets.configureEach {

buildSrc/src/main/kotlin/datadog/gradle/plugin/dump/DumpHangedTestPlugin.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ import javax.inject.Inject
2424
/**
2525
* Plugin to collect thread and heap dumps for hanged tests.
2626
*/
27+
@Suppress("unused")
2728
class DumpHangedTestPlugin : Plugin<Project> {
2829
companion object {
2930
private const val DUMP_FUTURE_KEY = "dumping_future"

buildSrc/src/test/groovy/CallSiteInstrumentationPluginTest.groovy

Lines changed: 0 additions & 146 deletions
This file was deleted.

buildSrc/src/test/groovy/InstrumentPluginTest.groovy

Lines changed: 0 additions & 125 deletions
This file was deleted.

0 commit comments

Comments
 (0)