1616
1717package org.jacodb.testing.cfg
1818
19- import org.jacodb.testing.WithDB
2019import org.junit.jupiter.api.Test
2120
2221class KotlinInstructionsTest : BaseInstructionsTest () {
2322
24- companion object : WithDB ()
25-
2623 @Test
27- fun `simple test` () = runKotlinTest (SimpleTest ::class .java.name)
24+ fun `simple test` () = runTest (SimpleTest ::class .java.name)
2825
2926 @Test
30- fun `kotlin vararg test` () = runKotlinTest (Varargs ::class .java.name)
27+ fun `kotlin vararg test` () = runTest (Varargs ::class .java.name)
3128
3229 @Test
33- fun `kotlin equals test` () = runKotlinTest (Equals ::class .java.name)
30+ fun `kotlin equals test` () = runTest (Equals ::class .java.name)
3431
3532 @Test
36- fun `kotlin different receivers test` () = runKotlinTest (DifferentReceivers ::class .java.name)
33+ fun `kotlin different receivers test` () = runTest (DifferentReceivers ::class .java.name)
3734
3835 @Test
39- fun `kotlin sequence test` () = runKotlinTest (KotlinSequence ::class .java.name)
36+ fun `kotlin sequence test` () = runTest (KotlinSequence ::class .java.name)
4037
4138 @Test
42- fun `kotlin range test` () = runKotlinTest (Ranges ::class .java.name)
39+ fun `kotlin range test` () = runTest (Ranges ::class .java.name)
4340
4441 @Test
45- fun `kotlin range test 2` () = runKotlinTest (Ranges2 ::class .java.name)
42+ fun `kotlin range test 2` () = runTest (Ranges2 ::class .java.name)
4643
4744// @Test
4845// fun `kotlin overloading test`() = runKotlinTest(Overloading::class.java.name)
4946
5047 // We have to mute graph checker because of empty catch-es in try/catch blocks
5148 @Test
52- fun `kotlin try catch finally` () = runKotlinTest (TryCatchFinally ::class .java.name, muteGraphChecker = true )
49+ fun `kotlin try catch finally` () = runTest (TryCatchFinally ::class .java.name, muteGraphChecker = true )
5350
5451 @Test
55- fun `kotlin try catch finally 2` () = runKotlinTest (TryCatchFinally2 ::class .java.name, muteGraphChecker = true )
52+ fun `kotlin try catch finally 2` () = runTest (TryCatchFinally2 ::class .java.name, muteGraphChecker = true )
5653
5754 @Test
58- fun `kotlin try catch finally 3` () = runKotlinTest (TryCatchFinally3 ::class .java.name, muteGraphChecker = true )
55+ fun `kotlin try catch finally 3` () = runTest (TryCatchFinally3 ::class .java.name, muteGraphChecker = true )
5956
6057 @Test
61- fun `kotlin try catch finally 4` () = runKotlinTest (TryCatchFinally4 ::class .java.name, muteGraphChecker = true )
58+ fun `kotlin try catch finally 4` () = runTest (TryCatchFinally4 ::class .java.name, muteGraphChecker = true )
6259
6360 @Test
64- fun `kotlin method with exception` () = runKotlinTest (InvokeMethodWithException ::class .java.name)
61+ fun `kotlin method with exception` () = runTest (InvokeMethodWithException ::class .java.name)
6562
6663 @Test
67- fun `kotlin typecast` () = runKotlinTest (DoubleComparison ::class .java.name)
64+ fun `kotlin typecast` () = runTest (DoubleComparison ::class .java.name)
6865
6966 @Test
70- fun `kotlin when expr` () = runKotlinTest (WhenExpr ::class .java.name)
67+ fun `kotlin when expr` () = runTest (WhenExpr ::class .java.name)
7168
7269 @Test
73- fun `kotlin default args` () = runKotlinTest (DefaultArgs ::class .java.name)
70+ fun `kotlin default args` () = runTest (DefaultArgs ::class .java.name)
7471
7572 @Test
76- fun `kotlin arrays` () = runKotlinTest (Arrays ::class .java.name)
73+ fun `kotlin arrays` () = runTest (Arrays ::class .java.name)
7774
7875}
0 commit comments