[TEST] Regenerate tests after previous commit
This commit is contained in:
Generated
+2
-1
@@ -8,6 +8,7 @@ package org.jetbrains.kotlin.idea.scratch;
|
||||
import com.intellij.testFramework.TestDataPath;
|
||||
import org.jetbrains.kotlin.test.JUnit3RunnerWithInners;
|
||||
import org.jetbrains.kotlin.test.KotlinTestUtils;
|
||||
import org.jetbrains.kotlin.test.util.KtTestUtil;
|
||||
import org.jetbrains.kotlin.test.TestMetadata;
|
||||
import org.junit.runner.RunWith;
|
||||
|
||||
@@ -25,7 +26,7 @@ public class ScratchLineMarkersTestGenerated extends AbstractScratchLineMarkersT
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInLineMarker() throws Exception {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("idea/scripting-support/testData/scratch/lineMarker"), Pattern.compile("^(.+)\\.(kt|kts)$"), null, true);
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("idea/scripting-support/testData/scratch/lineMarker"), Pattern.compile("^(.+)\\.(kt|kts)$"), null, true);
|
||||
}
|
||||
|
||||
@TestMetadata("binaryExpression.kts")
|
||||
|
||||
Generated
+8
-7
@@ -8,6 +8,7 @@ package org.jetbrains.kotlin.idea.scratch;
|
||||
import com.intellij.testFramework.TestDataPath;
|
||||
import org.jetbrains.kotlin.test.JUnit3RunnerWithInners;
|
||||
import org.jetbrains.kotlin.test.KotlinTestUtils;
|
||||
import org.jetbrains.kotlin.test.util.KtTestUtil;
|
||||
import org.jetbrains.kotlin.test.TestMetadata;
|
||||
import org.junit.runner.RunWith;
|
||||
|
||||
@@ -27,7 +28,7 @@ public class ScratchRunActionTestGenerated extends AbstractScratchRunActionTest
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInScratchCompiling() throws Exception {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("idea/scripting-support/testData/scratch"), Pattern.compile("^(.+)\\.kts$"), null, false);
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("idea/scripting-support/testData/scratch"), Pattern.compile("^(.+)\\.kts$"), null, false);
|
||||
}
|
||||
|
||||
@TestMetadata("for.kts")
|
||||
@@ -115,7 +116,7 @@ public class ScratchRunActionTestGenerated extends AbstractScratchRunActionTest
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInScratchRepl() throws Exception {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("idea/scripting-support/testData/scratch"), Pattern.compile("^(.+)\\.kts$"), null, false);
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("idea/scripting-support/testData/scratch"), Pattern.compile("^(.+)\\.kts$"), null, false);
|
||||
}
|
||||
|
||||
@TestMetadata("for.kts")
|
||||
@@ -203,7 +204,7 @@ public class ScratchRunActionTestGenerated extends AbstractScratchRunActionTest
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInScratchMultiFile() throws Exception {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("idea/scripting-support/testData/scratch/multiFile"), Pattern.compile("^([^\\.]+)$"), null, false);
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("idea/scripting-support/testData/scratch/multiFile"), Pattern.compile("^([^\\.]+)$"), null, false);
|
||||
}
|
||||
|
||||
@TestMetadata("inlineFun")
|
||||
@@ -226,7 +227,7 @@ public class ScratchRunActionTestGenerated extends AbstractScratchRunActionTest
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInWorksheetCompiling() throws Exception {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("idea/scripting-support/testData/worksheet"), Pattern.compile("^(.+)\\.ws.kts$"), null, false);
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("idea/scripting-support/testData/worksheet"), Pattern.compile("^(.+)\\.ws.kts$"), null, false);
|
||||
}
|
||||
|
||||
@TestMetadata("simpleScriptRuntime.ws.kts")
|
||||
@@ -244,7 +245,7 @@ public class ScratchRunActionTestGenerated extends AbstractScratchRunActionTest
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInWorksheetRepl() throws Exception {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("idea/scripting-support/testData/worksheet"), Pattern.compile("^(.+)\\.ws.kts$"), null, false);
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("idea/scripting-support/testData/worksheet"), Pattern.compile("^(.+)\\.ws.kts$"), null, false);
|
||||
}
|
||||
|
||||
@TestMetadata("simpleScriptRuntime.ws.kts")
|
||||
@@ -262,7 +263,7 @@ public class ScratchRunActionTestGenerated extends AbstractScratchRunActionTest
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInWorksheetMultiFile() throws Exception {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("idea/scripting-support/testData/worksheet/multiFile"), Pattern.compile("^([^\\.]+)$"), null, false);
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("idea/scripting-support/testData/worksheet/multiFile"), Pattern.compile("^([^\\.]+)$"), null, false);
|
||||
}
|
||||
|
||||
@TestMetadata("inlineFunScriptRuntime")
|
||||
@@ -285,7 +286,7 @@ public class ScratchRunActionTestGenerated extends AbstractScratchRunActionTest
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInScratchRightPanelOutput() throws Exception {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("idea/scripting-support/testData/scratch/rightPanelOutput"), Pattern.compile("^(.+)\\.kts$"), null, false);
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("idea/scripting-support/testData/scratch/rightPanelOutput"), Pattern.compile("^(.+)\\.kts$"), null, false);
|
||||
}
|
||||
|
||||
@TestMetadata("bigSequentialOutputs.kts")
|
||||
|
||||
+2
-1
@@ -8,6 +8,7 @@ package org.jetbrains.kotlin.idea.script;
|
||||
import com.intellij.testFramework.TestDataPath;
|
||||
import org.jetbrains.kotlin.test.JUnit3RunnerWithInners;
|
||||
import org.jetbrains.kotlin.test.KotlinTestUtils;
|
||||
import org.jetbrains.kotlin.test.util.KtTestUtil;
|
||||
import org.jetbrains.kotlin.test.TestMetadata;
|
||||
import org.junit.runner.RunWith;
|
||||
|
||||
@@ -25,7 +26,7 @@ public class ScriptTemplatesFromDependenciesTestGenerated extends AbstractScript
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInTemplatesFromDependencies() throws Exception {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("idea/scripting-support/testData/script/templatesFromDependencies"), Pattern.compile("^([^\\.]+)$"), null, false);
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("idea/scripting-support/testData/script/templatesFromDependencies"), Pattern.compile("^([^\\.]+)$"), null, false);
|
||||
}
|
||||
|
||||
@TestMetadata("inJar")
|
||||
|
||||
Reference in New Issue
Block a user