Fixed test data to use only annotation syntax with @
This commit is contained in:
+2
-2
@@ -3,11 +3,11 @@ import org.junit.Test
|
||||
class MyTestClass {
|
||||
@org.junit.Test fun test1() {}
|
||||
|
||||
org.junit.Test fun test2() {}
|
||||
@org.junit.Test fun test2() {}
|
||||
|
||||
@Test fun test3() {}
|
||||
|
||||
Test fun test4() {}
|
||||
@Test fun test4() {}
|
||||
|
||||
@Deprecated @org.junit.Test fun test5() {}
|
||||
|
||||
|
||||
+2
-2
@@ -2,11 +2,11 @@ import org.junit.Test as test
|
||||
import org.junit.Test
|
||||
|
||||
class MyTestClass {
|
||||
test fun test1() {}
|
||||
@test fun test1() {}
|
||||
|
||||
@Deprecated @test fun test2() {}
|
||||
|
||||
Test fun test3() {}
|
||||
@Test fun test3() {}
|
||||
}
|
||||
|
||||
// ANNOTATION: org.junit.Test
|
||||
|
||||
+2
-2
@@ -2,11 +2,11 @@ import org.junit.Test as unittest
|
||||
import org.junit.Test
|
||||
|
||||
class MyTestClass {
|
||||
unittest fun test1() {}
|
||||
@unittest fun test1() {}
|
||||
|
||||
@Deprecated @unittest fun test2() {}
|
||||
|
||||
Test fun test3() {}
|
||||
@Test fun test3() {}
|
||||
}
|
||||
|
||||
// ANNOTATION: org.junit.Test
|
||||
|
||||
Reference in New Issue
Block a user