Failing with compilation error when Java library has wrong @KotlinSignatureAnnotation.

This commit is contained in:
Evgeny Gerashchenko
2012-10-08 21:36:03 +04:00
parent 326720afc8
commit 5bc2422cb0
6 changed files with 48 additions and 1 deletions
@@ -124,6 +124,15 @@ public class CliTest {
executeCompilerCompareOutput(args);
}
@Test
public void wrongKotlinSignature() throws Exception {
String[] args = {
"-src", "compiler/testData/cli/wrongKotlinSignature.kt",
"-classpath", "compiler/testData/cli/wrongKotlinSignatureLib",
"-output", tmpdir.getTmpDir().getPath()};
executeCompilerCompareOutput(args);
}
@Test
public void help() throws Exception {
executeCompilerCompareOutput(new String[] {"-help"});