[JS] Remove JS legacy lookup tracker tests

This commit is contained in:
Ilya Goncharov
2023-06-12 16:21:53 +02:00
committed by Space Team
parent 6861591840
commit a0f86d8dd6
36 changed files with 0 additions and 588 deletions
@@ -89,9 +89,6 @@ fun main(args: Array<String>) {
testClass<AbstractJvmLookupTrackerTest> {
model("incremental/lookupTracker/jvm", extension = null, recursive = false)
}
testClass<AbstractJsLookupTrackerTest> {
model("incremental/lookupTracker/js", extension = null, recursive = false)
}
testClass<AbstractJsKlibLookupTrackerTest> {
// todo: investigate why lookups are different from non-klib js
model("incremental/lookupTracker/jsKlib", extension = null, recursive = false)
@@ -1,61 +0,0 @@
/*
* Copyright 2010-2023 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
package org.jetbrains.kotlin.jps.build;
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;
import java.io.File;
import java.util.regex.Pattern;
/** This class is generated by {@link org.jetbrains.kotlin.jps.GenerateJpsPluginTestsKt}. DO NOT MODIFY MANUALLY */
@SuppressWarnings("all")
@TestMetadata("jps/jps-plugin/testData/incremental/lookupTracker/js")
@TestDataPath("$PROJECT_ROOT")
@RunWith(JUnit3RunnerWithInners.class)
public class JsLookupTrackerTestGenerated extends AbstractJsLookupTrackerTest {
private void runTest(String testDataFilePath) throws Exception {
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
}
public void testAllFilesPresentInJs() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/lookupTracker/js"), Pattern.compile("^([^\\.]+)$"), null, false);
}
@TestMetadata("classifierMembers")
public void testClassifierMembers() throws Exception {
runTest("jps/jps-plugin/testData/incremental/lookupTracker/js/classifierMembers/");
}
@TestMetadata("conventions")
public void testConventions() throws Exception {
runTest("jps/jps-plugin/testData/incremental/lookupTracker/js/conventions/");
}
@TestMetadata("expressionType")
public void testExpressionType() throws Exception {
runTest("jps/jps-plugin/testData/incremental/lookupTracker/js/expressionType/");
}
@TestMetadata("localDeclarations")
public void testLocalDeclarations() throws Exception {
runTest("jps/jps-plugin/testData/incremental/lookupTracker/js/localDeclarations/");
}
@TestMetadata("packageDeclarations")
public void testPackageDeclarations() throws Exception {
runTest("jps/jps-plugin/testData/incremental/lookupTracker/js/packageDeclarations/");
}
@TestMetadata("simple")
public void testSimple() throws Exception {
runTest("jps/jps-plugin/testData/incremental/lookupTracker/js/simple/");
}
}