Minor, split and clean tests

Tests that are using javaClass supposed to be deleted soon
while other ones just check that annotation loaded correctly
and shold use class literals
This commit is contained in:
Denis Zharkov
2015-04-17 17:30:48 +03:00
parent 7a02bdae23
commit 482b4e3688
7 changed files with 41 additions and 14 deletions
@@ -141,6 +141,12 @@ public class JetDiagnosticsTestWithStdLibGenerated extends AbstractJetDiagnostic
doTest(fileName);
}
@TestMetadata("valueArrayAndOtherDefaultError.kt")
public void testValueArrayAndOtherDefaultError() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/diagnostics/testsWithStdLib/annotations/annotationParameters/valueArrayAndOtherDefaultError.kt");
doTest(fileName);
}
@TestMetadata("valueArrayOnly.kt")
public void testValueArrayOnly() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/diagnostics/testsWithStdLib/annotations/annotationParameters/valueArrayOnly.kt");