Converter tests:
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)
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
open class Base() {
|
||||
private var myFirst : String = 0
|
||||
}
|
||||
open class Child() : Base() {
|
||||
private var mySecond : String = 0
|
||||
}
|
||||
+1
@@ -1,3 +1,4 @@
|
||||
//file
|
||||
class Base {
|
||||
private String myFirst;
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
open class C() {
|
||||
var f : Foo = 0
|
||||
}
|
||||
+1
@@ -1,3 +1,4 @@
|
||||
//file
|
||||
class C {
|
||||
Foo f;
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
open class C() {
|
||||
private var f : Foo = 0
|
||||
}
|
||||
+1
@@ -1,3 +1,4 @@
|
||||
//file
|
||||
class C {
|
||||
private Foo f;
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
open class C() {
|
||||
protected var f : Foo = 0
|
||||
}
|
||||
+1
@@ -1,3 +1,4 @@
|
||||
//file
|
||||
class C {
|
||||
protected Foo f;
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
open class C() {
|
||||
public var f : Foo = 0
|
||||
}
|
||||
+1
@@ -1,3 +1,4 @@
|
||||
//file
|
||||
class C {
|
||||
public Foo f;
|
||||
}
|
||||
+1
@@ -1,3 +1,4 @@
|
||||
//file
|
||||
class C {
|
||||
final Foo f = new Foo(1, 2);
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
open class C() {
|
||||
val f : Foo = Foo(1, 2)
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
open class C() {
|
||||
var f : Foo = Foo(1, 2)
|
||||
}
|
||||
+1
@@ -1,3 +1,4 @@
|
||||
//file
|
||||
class C {
|
||||
Foo f = new Foo(1, 2);
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
open class C() {
|
||||
var f : Foo = 0
|
||||
}
|
||||
+1
@@ -1,3 +1,4 @@
|
||||
//file
|
||||
class C {
|
||||
Foo f;
|
||||
}
|
||||
Reference in New Issue
Block a user