Minor: rename test
This commit is contained in:
+1
-2
@@ -30,9 +30,8 @@ import org.jetbrains.kotlin.test.InTextDirectivesUtils
|
||||
import org.jetbrains.kotlin.test.JetTestUtils
|
||||
import java.io.File
|
||||
import java.util.regex.Pattern
|
||||
import kotlin.test.assertNotNull
|
||||
|
||||
public abstract class AbstractEvaluateExpressionTest : AbstractAnnotationDescriptorResolveTest() {
|
||||
public abstract class AbstractCompileTimeConstantEvaluatorTest : AbstractAnnotationDescriptorResolveTest() {
|
||||
|
||||
// Test directives should look like [// val testedPropertyName: expectedValue]
|
||||
fun doConstantTest(path: String) {
|
||||
+4
-4
@@ -28,11 +28,11 @@ import java.util.regex.Pattern;
|
||||
/** This class is generated by {@link org.jetbrains.kotlin.generators.tests.TestsPackage}. DO NOT MODIFY MANUALLY */
|
||||
@SuppressWarnings("all")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public class EvaluateExpressionTestGenerated extends AbstractEvaluateExpressionTest {
|
||||
public class CompileTimeConstantEvaluatorTestGenerated extends AbstractCompileTimeConstantEvaluatorTest {
|
||||
@TestMetadata("compiler/testData/evaluate/constant")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class Constant extends AbstractEvaluateExpressionTest {
|
||||
public static class Constant extends AbstractCompileTimeConstantEvaluatorTest {
|
||||
public void testAllFilesPresentInConstant() throws Exception {
|
||||
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/evaluate/constant"), Pattern.compile("^(.+)\\.kt$"), true);
|
||||
}
|
||||
@@ -161,7 +161,7 @@ public class EvaluateExpressionTestGenerated extends AbstractEvaluateExpressionT
|
||||
@TestMetadata("compiler/testData/evaluate/isPure")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class IsPure extends AbstractEvaluateExpressionTest {
|
||||
public static class IsPure extends AbstractCompileTimeConstantEvaluatorTest {
|
||||
public void testAllFilesPresentInIsPure() throws Exception {
|
||||
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/evaluate/isPure"), Pattern.compile("^(.+)\\.kt$"), true);
|
||||
}
|
||||
@@ -200,7 +200,7 @@ public class EvaluateExpressionTestGenerated extends AbstractEvaluateExpressionT
|
||||
@TestMetadata("compiler/testData/evaluate/usesVariableAsConstant")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class UsesVariableAsConstant extends AbstractEvaluateExpressionTest {
|
||||
public static class UsesVariableAsConstant extends AbstractCompileTimeConstantEvaluatorTest {
|
||||
public void testAllFilesPresentInUsesVariableAsConstant() throws Exception {
|
||||
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/evaluate/usesVariableAsConstant"), Pattern.compile("^(.+)\\.kt$"), true);
|
||||
}
|
||||
Reference in New Issue
Block a user