Remove obsolete special files from android tests
This commit is contained in:
@@ -77,13 +77,6 @@ public class SpecialFiles {
|
||||
excludedFiles.add("kt1482.kt"); // Cannot change package name
|
||||
excludedFiles.add("kt326.kt"); // Commented
|
||||
excludedFiles.add("kt1213.kt"); // Commented
|
||||
excludedFiles.add("kt882.kt"); // Commented
|
||||
excludedFiles.add("kt789.kt"); // Commented
|
||||
excludedFiles.add("enum.kt"); // Commented
|
||||
excludedFiles.add("withclosure.kt"); // Commented
|
||||
|
||||
excludedFiles.add("inRangeConditionsInWhen.kt"); // Commented
|
||||
excludedFiles.add("kt1592.kt"); // Codegen don't execute blackBoxFile() on it
|
||||
|
||||
excludedFiles.add("box.kt"); // MultiFileTest not supported yet
|
||||
excludedFiles.add("kt2060_1.kt"); // MultiFileTest not supported yet
|
||||
@@ -93,7 +86,6 @@ public class SpecialFiles {
|
||||
|
||||
excludedFiles.add("kt684.kt"); // StackOverflow with StringBuilder (escape())
|
||||
|
||||
excludedFiles.add("kt344.kt"); // Bug KT-2251
|
||||
excludedFiles.add("kt529.kt"); // Bug
|
||||
|
||||
excludedFiles.add("noClassObjectForJavaClass.kt");
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
import org.junit.Test
|
||||
|
||||
Test fun box(m : java.lang.reflect.Method) = "OK"
|
||||
Test fun foo(m : java.lang.reflect.Method) = "OK"
|
||||
|
||||
@@ -146,7 +146,7 @@ public class StdlibTest extends CodegenTestCase {
|
||||
loadFile("regressions/kt1592.kt");
|
||||
String fqName = NamespaceCodegen.getJVMClassNameForKotlinNs(JetPsiUtil.getFQName(myFiles.getPsiFile())).getFqName().getFqName();
|
||||
Class<?> namespaceClass = generateClass(fqName);
|
||||
Method method = namespaceClass.getMethod("box", Method.class);
|
||||
Method method = namespaceClass.getMethod("foo", Method.class);
|
||||
method.setAccessible(true);
|
||||
Test annotation = method.getAnnotation(Test.class);
|
||||
assertEquals(annotation.timeout(), 0l);
|
||||
|
||||
Reference in New Issue
Block a user