Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add KPlatform & KDefaultPlatform #12

Merged
merged 18 commits into from
Aug 8, 2023
Merged
Show file tree
Hide file tree
Changes from 17 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
12 changes: 9 additions & 3 deletions api/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ private val deleteServiceFilesFromBuildDir by
}

/**
* Task for running tests from the FluentLoggerTest.java file.
* Task for running tests using FluentLogger.
*
* It depends on deleteServiceFilesFromBuildDir in order to remove service files that persist during
* DefaultPlatformServiceLoadingTest. If not deleted, this will automatically try to load the
Expand All @@ -140,12 +140,18 @@ private val deleteServiceFilesFromBuildDir by
*/
private val jvmFluentLoggerTest by
tasks.registering(Test::class) {
filter { includeTestsMatching("*.testCreate") }
filter {
includeTestsMatching("*.testCreate")
includeTestsMatching("KPlatformTest.testNotCrashing")
}
dependsOn(deleteServiceFilesFromBuildDir)
}

tasks.named<Test>("jvmTest") {
filter { excludeTestsMatching("*.testCreate") }
filter {
excludeTestsMatching("*.testCreate")
excludeTestsMatching("KPlatformTest.testNotCrashing")
}
finalizedBy(jvmFluentLoggerTest)
}

Expand Down
Loading
Loading