Kill blackBoxFile()

If your test is supposed to use blackBoxFile(), maybe it should be placed into
box/boxWithStdlib directory
This commit is contained in:
Alexander Udalov
2013-02-07 22:40:25 +04:00
committed by Alexander Udalov
parent 31231fe18b
commit 9df3c22097
5 changed files with 10 additions and 18 deletions
@@ -100,7 +100,8 @@ public class GenerateNotNullAssertionsTest extends CodegenTestCase {
setUpEnvironment(false, true, javaClassesTempDirectory);
blackBoxFile("notNullAssertions/doGenerateParamAssertions.kt");
loadFile("notNullAssertions/doGenerateParamAssertions.kt");
generateFunction().invoke(null);
}
public void testDoNotGenerateParamAssertions() throws Exception {