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)
22 lines
313 B
Java
22 lines
313 B
Java
//file
|
|
package demo;
|
|
|
|
class Container {
|
|
int myInt = 1;
|
|
}
|
|
|
|
class One {
|
|
static Container myContainer = new Container();
|
|
}
|
|
|
|
class IntContainer {
|
|
IntContainer(int i) {}
|
|
}
|
|
|
|
class Test {
|
|
void putInt(int i) { }
|
|
void test() {
|
|
putInt(One.myContainer.myInt);
|
|
new IntContainer(One.myContainer.myInt);
|
|
}
|
|
} |