Move blackBoxFile() testData to box/ directory

Delete all test methods (and empty test classes), since they'll be
auto-generated
This commit is contained in:
Alexander Udalov
2013-01-25 16:13:45 +04:00
committed by Alexander Udalov
parent ecbb2f10ef
commit 41a416da60
438 changed files with 156 additions and 2005 deletions
@@ -435,24 +435,12 @@ public class NamespaceGenTest extends CodegenTestCase {
assertEquals('x', ((Character) main.invoke(null, sb)).charValue());
}
public void testNamespaceQualifiedMethod() throws Exception {
blackBoxFile("namespaceQualifiedMethod.kt");
}
public void testCheckCast() throws Exception {
blackBoxFile("checkCast.kt");
}
public void testPutBooleanAsVoid() throws Exception {
loadText("class C(val x: Int) { { x > 0 } } fun box() { val c = C(0) } ");
final Method main = generateFunction();
main.invoke(null); // must not fail
}
public void testIncrementProperty() throws Exception {
blackBoxFile("incrementProperty.kt");
}
public void testJavaInterfaceMethod() throws Exception {
loadText("import java.util.*; fun foo(l: ArrayList<String>) { l.add(\"foo\") }");
final Method main = generateFunction();
@@ -507,12 +495,4 @@ public class NamespaceGenTest extends CodegenTestCase {
//noinspection ImplicitArrayToString
assertEquals("s" + args.toString(), main.invoke(null, "s", args));
}
public void testPrivateTopLevelPropAndVarInInner() {
blackBoxFile("privateTopLevelPropAndVarInInner.kt");
}
public void testInvokeSpecial() {
blackBoxFile("invokespecial.kt");
}
}