82b19499e3
Use generated tests approach in converter tests Introduce two seperate generated test cases of each of configurations, all tests are generated in both test cases Test data for plugin configuration has extension "ide.kt", for basic configuration "*.kt" Test data file is used to determine type of the test (file/class/expression/...) instead of directory, all test data is moved accordingly Add abstract base classes for generated tests Rename test folder "file" to "misc" (for the lack of imagination)
32 lines
459 B
Java
32 lines
459 B
Java
//file
|
|
class C {
|
|
final int myArg1;
|
|
int myArg2;
|
|
int myArg3;
|
|
|
|
C(int arg1, int arg2, int arg3) {
|
|
this(arg1);
|
|
myArg2 = arg2;
|
|
myArg3 = arg3;
|
|
}
|
|
|
|
C(int arg1, int arg2) {
|
|
this(arg1);
|
|
myArg2 = arg2;
|
|
myArg3 = 0;
|
|
}
|
|
|
|
C(int arg1) {
|
|
myArg1 = arg1;
|
|
myArg2 = 0;
|
|
myArg3 = 0;
|
|
}
|
|
}
|
|
|
|
public class User {
|
|
public static void main() {
|
|
C c1 = new C(100, 100, 100);
|
|
C c2 = new C(100, 100);
|
|
C c3 = new C(100);
|
|
}
|
|
} |