Minor, move wrongAnnotationArgumentInCtor.kt to CLI tests
The fact that this was a codegen box test was probably an abuse of the testing infrastructure. It was never meant to pass, since it checks presence of an error, and diagnostic tests aren't enough since they might not check the full compiler execution.
This commit is contained in:
-5
@@ -33,11 +33,6 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class Annotations extends AbstractLightAnalysisModeTest {
|
||||
@TestMetadata("wrongAnnotationArgumentInCtor.kt")
|
||||
public void ignoreWrongAnnotationArgumentInCtor() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/annotations/wrongAnnotationArgumentInCtor.kt");
|
||||
}
|
||||
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, TargetBackend.JVM, testDataFilePath);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user