Switch converter test to new directive scheme
This commit is contained in:
+1
-1
@@ -1,5 +1,5 @@
|
||||
//file
|
||||
// !openByDefault: true
|
||||
// !OPEN_BY_DEFAULT: true
|
||||
|
||||
class A {
|
||||
void foo1() { }
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// !openByDefault: true
|
||||
// !OPEN_BY_DEFAULT: true
|
||||
|
||||
internal open class A {
|
||||
internal open fun foo1() {}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
//file
|
||||
// !specifyFieldTypeByDefault: true
|
||||
// !SPECIFY_FIELD_TYPE_BY_DEFAULT: true
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
import java.util.*;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// !specifyFieldTypeByDefault: true
|
||||
// !SPECIFY_FIELD_TYPE_BY_DEFAULT: true
|
||||
import java.util.*
|
||||
|
||||
internal class A {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
//method
|
||||
// !specifyLocalVariableTypeByDefault: true
|
||||
// !SPECIFY_LOCAL_VARIABLE_TYPE_BY_DEFAULT: true
|
||||
public void foo() {
|
||||
int i = 1;
|
||||
String s = "";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// !specifyLocalVariableTypeByDefault: true
|
||||
// !SPECIFY_LOCAL_VARIABLE_TYPE_BY_DEFAULT: true
|
||||
fun foo() {
|
||||
val i: Int = 1
|
||||
val s: String = ""
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
//method
|
||||
// !specifyLocalVariableTypeByDefault: true
|
||||
// !SPECIFY_LOCAL_VARIABLE_TYPE_BY_DEFAULT: true
|
||||
public void foo(List<String> list) {
|
||||
int[] array = new int[10];
|
||||
for (int i = 0; i < 10; i++){
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// !specifyLocalVariableTypeByDefault: true
|
||||
// !SPECIFY_LOCAL_VARIABLE_TYPE_BY_DEFAULT: true
|
||||
fun foo(list: List<String>) {
|
||||
val array: IntArray = IntArray(10)
|
||||
for (i: Int in 0..9) {
|
||||
|
||||
Reference in New Issue
Block a user