From 10da41b1367f8889589989fc89123182389a7174 Mon Sep 17 00:00:00 2001 From: Alexander Udalov Date: Mon, 30 Apr 2018 18:51:28 +0200 Subject: [PATCH] Regenerate tests --- .../semantics/OutputPrefixPostfixTestGenerated.java | 13 ------------- .../SourceMapGenerationSmokeTestGenerated.java | 13 ------------- 2 files changed, 26 deletions(-) diff --git a/js/js.tests/test/org/jetbrains/kotlin/js/test/semantics/OutputPrefixPostfixTestGenerated.java b/js/js.tests/test/org/jetbrains/kotlin/js/test/semantics/OutputPrefixPostfixTestGenerated.java index 594895d1907..0450484b655 100644 --- a/js/js.tests/test/org/jetbrains/kotlin/js/test/semantics/OutputPrefixPostfixTestGenerated.java +++ b/js/js.tests/test/org/jetbrains/kotlin/js/test/semantics/OutputPrefixPostfixTestGenerated.java @@ -48,17 +48,4 @@ public class OutputPrefixPostfixTestGenerated extends AbstractOutputPrefixPostfi public void testSimpleWithPrefixAndPostfix() throws Exception { runTest("js/js.translator/testData/outputPrefixPostfix/simpleWithPrefixAndPostfix.kt"); } - - @TestMetadata("js/js.translator/testData/outputPrefixPostfix/out") - @TestDataPath("$PROJECT_ROOT") - @RunWith(JUnit3RunnerWithInners.class) - public static class Out extends AbstractOutputPrefixPostfixTest { - private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest0(this::doTest, TargetBackend.JS, testDataFilePath); - } - - public void testAllFilesPresentInOut() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/outputPrefixPostfix/out"), Pattern.compile("^([^_](.+))\\.kt$"), TargetBackend.JS, true); - } - } } diff --git a/js/js.tests/test/org/jetbrains/kotlin/js/test/semantics/SourceMapGenerationSmokeTestGenerated.java b/js/js.tests/test/org/jetbrains/kotlin/js/test/semantics/SourceMapGenerationSmokeTestGenerated.java index f45e1a57ef8..909c4fd90b7 100644 --- a/js/js.tests/test/org/jetbrains/kotlin/js/test/semantics/SourceMapGenerationSmokeTestGenerated.java +++ b/js/js.tests/test/org/jetbrains/kotlin/js/test/semantics/SourceMapGenerationSmokeTestGenerated.java @@ -43,17 +43,4 @@ public class SourceMapGenerationSmokeTestGenerated extends AbstractSourceMapGene public void testMethodCallInMethod() throws Exception { runTest("js/js.translator/testData/sourcemap/methodCallInMethod.kt"); } - - @TestMetadata("js/js.translator/testData/sourcemap/out") - @TestDataPath("$PROJECT_ROOT") - @RunWith(JUnit3RunnerWithInners.class) - public static class Out extends AbstractSourceMapGenerationSmokeTest { - private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest0(this::doTest, TargetBackend.JS, testDataFilePath); - } - - public void testAllFilesPresentInOut() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/sourcemap/out"), Pattern.compile("^([^_](.+))\\.kt$"), TargetBackend.JS, true); - } - } }