Switch converter test to new directive scheme

This commit is contained in:
Mikhail Bogdanov
2020-03-17 18:44:00 +01:00
parent d793fea8d2
commit 3f87899014
60 changed files with 88 additions and 89 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
//file
// !openByDefault: true
// !OPEN_BY_DEFAULT: true
class A {
void foo1() { }
+1 -1
View File
@@ -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,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,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) {