[tests][FIR][checkers][Wasm] Improve test coverage for WRONG_JS_INTEROP_TYPE
This commit is contained in:
committed by
Space Team
parent
eaa50fbf37
commit
b165ff675b
+15
-3
@@ -51,6 +51,18 @@ public class DiagnosticsFirWasmTestGenerated extends AbstractDiagnosticsFirWasmT
|
||||
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/body.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("complexCasesWithJsInteropTypes.kt")
|
||||
public void testComplexCasesWithJsInteropTypes() {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/complexCasesWithJsInteropTypes.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("correctJsInteropTypes.kt")
|
||||
public void testCorrectJsInteropTypes() {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/correctJsInteropTypes.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("definedExternally.kt")
|
||||
public void testDefinedExternally() {
|
||||
@@ -124,9 +136,9 @@ public class DiagnosticsFirWasmTestGenerated extends AbstractDiagnosticsFirWasmT
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("types.kt")
|
||||
public void testTypes() {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/types.kt");
|
||||
@TestMetadata("wrongJsInteropTypes.kt")
|
||||
public void testWrongJsInteropTypes() {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/wrongJsInteropTypes.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
+15
-3
@@ -51,6 +51,18 @@ public class DiagnosticsWasmTestGenerated extends AbstractDiagnosticsWasmTest {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/body.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("complexCasesWithJsInteropTypes.kt")
|
||||
public void testComplexCasesWithJsInteropTypes() {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/complexCasesWithJsInteropTypes.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("correctJsInteropTypes.kt")
|
||||
public void testCorrectJsInteropTypes() {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/correctJsInteropTypes.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("definedExternally.kt")
|
||||
public void testDefinedExternally() {
|
||||
@@ -124,9 +136,9 @@ public class DiagnosticsWasmTestGenerated extends AbstractDiagnosticsWasmTest {
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("types.kt")
|
||||
public void testTypes() {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/types.kt");
|
||||
@TestMetadata("wrongJsInteropTypes.kt")
|
||||
public void testWrongJsInteropTypes() {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/wrongJsInteropTypes.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
Reference in New Issue
Block a user