mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 16:28:12 -07:00
Formatting.
This commit is contained in:
parent
d9ea1dae02
commit
9271aaf398
1 changed files with 7 additions and 8 deletions
|
@ -43,14 +43,13 @@ abstract class GenericTestRunner: ITestRunnerContributor {
|
||||||
}
|
}
|
||||||
val testClasspath = dependencyManager.transitiveClosure(allDeps)
|
val testClasspath = dependencyManager.transitiveClosure(allDeps)
|
||||||
val result = IFileSpec.GlobSpec(toClassPaths(testConfig.testIncludes))
|
val result = IFileSpec.GlobSpec(toClassPaths(testConfig.testIncludes))
|
||||||
.toFiles(project.directory, path, testConfig.testExcludes.map {
|
.toFiles(project.directory, path, testConfig.testExcludes.map {
|
||||||
Glob(it)
|
Glob(it)
|
||||||
})
|
}).map {
|
||||||
.map {
|
Pair(it, it.toString().replace("/", ".").replace("\\", ".").replace(".class", ""))
|
||||||
Pair(it, it.toString().replace("/", ".").replace("\\", ".").replace(".class", ""))
|
}.filter {
|
||||||
}.filter {
|
acceptClass(it.first, it.second, testClasspath, File(testClassDir))
|
||||||
acceptClass(it.first, it.second, testClasspath, File(testClassDir))
|
}
|
||||||
}
|
|
||||||
|
|
||||||
log(2, "Found ${result.size} test classes")
|
log(2, "Found ${result.size} test classes")
|
||||||
return result.map { it.second }
|
return result.map { it.second }
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue