[Native][tests] Move "samples" tests to infrastructure tests

This commit is contained in:
Dmitriy Dolovov
2021-12-08 22:23:23 +03:00
parent 8e98deb3b0
commit 51a79c4592
2 changed files with 4 additions and 4 deletions
+1 -3
View File
@@ -103,9 +103,7 @@ fun Test.setUpBlackBoxTest(tag: String) {
}
val infrastructureTest by projectTest(taskName = "infrastructureTest", jUnitMode = JUnitMode.JUnit5) {
useJUnitPlatform {
includeTags("infrastructure")
}
setUpBlackBoxTest("infrastructure")
}
val dailyTest by projectTest(taskName = "dailyTest", jUnitMode = JUnitMode.JUnit5) {
@@ -31,7 +31,8 @@ fun main() {
// Samples (how to utilize the abilities of new test infrastructure).
testGroup("native/native.tests/tests-gen", "native/native.tests/testData") {
testClass<AbstractNativeBlackBoxTest>(
annotations = listOf(daily(), provider<UseStandardTestCaseGroupProvider>())
suiteTestClassName = "NativeInfraBlackBoxTestGenerated",
annotations = listOf(infrastructure(), provider<UseStandardTestCaseGroupProvider>())
) {
model("samples")
model("samples2")
@@ -42,3 +43,4 @@ fun main() {
private inline fun <reified T : Annotation> provider() = annotation(T::class.java)
private fun daily() = annotation(Tag::class.java, "daily")
private fun infrastructure() = annotation(Tag::class.java, "infrastructure")