mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 08:27: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 result = IFileSpec.GlobSpec(toClassPaths(testConfig.testIncludes))
|
||||
.toFiles(project.directory, path, testConfig.testExcludes.map {
|
||||
Glob(it)
|
||||
})
|
||||
.map {
|
||||
Pair(it, it.toString().replace("/", ".").replace("\\", ".").replace(".class", ""))
|
||||
}.filter {
|
||||
acceptClass(it.first, it.second, testClasspath, File(testClassDir))
|
||||
}
|
||||
.toFiles(project.directory, path, testConfig.testExcludes.map {
|
||||
Glob(it)
|
||||
}).map {
|
||||
Pair(it, it.toString().replace("/", ".").replace("\\", ".").replace(".class", ""))
|
||||
}.filter {
|
||||
acceptClass(it.first, it.second, testClasspath, File(testClassDir))
|
||||
}
|
||||
|
||||
log(2, "Found ${result.size} test classes")
|
||||
return result.map { it.second }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue