[Test] Regenerate tests after two previous commits
This commit is contained in:
committed by
Space Team
parent
d9beae0556
commit
acf2296590
wasm/wasm.tests/tests-gen/org/jetbrains/kotlin/wasm/test/FirWasmJsCodegenBoxInlineTestGenerated.java
Generated
+4917
-4917
File diff suppressed because it is too large
Load Diff
Generated
+37868
-37868
File diff suppressed because it is too large
Load Diff
Generated
+198
-198
@@ -20,228 +20,228 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("compiler/testData/codegen/boxWasmJsInterop")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirWasmJsCodegenInteropTestGenerated extends AbstractFirWasmJsCodegenInteropTest {
|
||||
@Test
|
||||
public void testAllFilesPresentInBoxWasmJsInterop() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxWasmJsInterop"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.WASM, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("callingWasmDirectly.kt")
|
||||
public void testCallingWasmDirectly() {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/callingWasmDirectly.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("defaultValues.kt")
|
||||
public void testDefaultValues() {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/defaultValues.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("externalTypeOperators.kt")
|
||||
public void testExternalTypeOperators() {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/externalTypeOperators.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("externals.kt")
|
||||
public void testExternals() {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/externals.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("externalsWithUnsigned.kt")
|
||||
public void testExternalsWithUnsigned() {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/externalsWithUnsigned.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("functionTypes.kt")
|
||||
public void testFunctionTypes() {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/functionTypes.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("imperativeWrapperInitialised.kt")
|
||||
public void testImperativeWrapperInitialised() {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/imperativeWrapperInitialised.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("imperativeWrapperUninitialised.kt")
|
||||
public void testImperativeWrapperUninitialised() {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/imperativeWrapperUninitialised.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("jsCode.kt")
|
||||
public void testJsCode() {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/jsCode.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("jsExport.kt")
|
||||
public void testJsExport() {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/jsExport.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("jsModule.kt")
|
||||
public void testJsModule() {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/jsModule.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("jsModuleWithQualifier.kt")
|
||||
public void testJsModuleWithQualifier() {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/jsModuleWithQualifier.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("jsQualifier.kt")
|
||||
public void testJsQualifier() {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/jsQualifier.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("jsToKotlinAdapters.kt")
|
||||
public void testJsToKotlinAdapters() {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/jsToKotlinAdapters.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("jsTypes.kt")
|
||||
public void testJsTypes() {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/jsTypes.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kotlinToJsAdapters.kt")
|
||||
public void testKotlinToJsAdapters() {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/kotlinToJsAdapters.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt59082.kt")
|
||||
public void testKt59082() {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/kt59082.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt59084.kt")
|
||||
public void testKt59084() {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/kt59084.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lambdaAdapterNameClash.kt")
|
||||
public void testLambdaAdapterNameClash() {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/lambdaAdapterNameClash.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("longStrings.kt")
|
||||
public void testLongStrings() {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/longStrings.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nameClash.kt")
|
||||
public void testNameClash() {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/nameClash.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("noExceptions.kt")
|
||||
public void testNoExceptions() {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/noExceptions.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nullableExternRefs.kt")
|
||||
public void testNullableExternRefs() {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/nullableExternRefs.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("types.kt")
|
||||
public void testTypes() {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/types.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("vararg.kt")
|
||||
public void testVararg() {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/vararg.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("wasmExport.kt")
|
||||
public void testWasmExport() {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/wasmExport.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("wasmImport.kt")
|
||||
public void testWasmImport() {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/wasmImport.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/boxWasmJsInterop/typeScriptDeclarations")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class TypeScriptDeclarations {
|
||||
@Test
|
||||
public void testAllFilesPresentInBoxWasmJsInterop() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxWasmJsInterop"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.WASM, true);
|
||||
public void testAllFilesPresentInTypeScriptDeclarations() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxWasmJsInterop/typeScriptDeclarations"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.WASM, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("callingWasmDirectly.kt")
|
||||
public void testCallingWasmDirectly() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/callingWasmDirectly.kt");
|
||||
@TestMetadata("externalDeclarations.kt")
|
||||
public void testExternalDeclarations() {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/typeScriptDeclarations/externalDeclarations.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("defaultValues.kt")
|
||||
public void testDefaultValues() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/defaultValues.kt");
|
||||
@TestMetadata("generics.kt")
|
||||
public void testGenerics() {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/typeScriptDeclarations/generics.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("externalTypeOperators.kt")
|
||||
public void testExternalTypeOperators() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/externalTypeOperators.kt");
|
||||
@TestMetadata("jsPrimitives.kt")
|
||||
public void testJsPrimitives() {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/typeScriptDeclarations/jsPrimitives.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("externals.kt")
|
||||
public void testExternals() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/externals.kt");
|
||||
@TestMetadata("nullableJsPrimitives.kt")
|
||||
public void testNullableJsPrimitives() {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/typeScriptDeclarations/nullableJsPrimitives.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("externalsWithUnsigned.kt")
|
||||
public void testExternalsWithUnsigned() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/externalsWithUnsigned.kt");
|
||||
@TestMetadata("nullablePrimitives.kt")
|
||||
public void testNullablePrimitives() {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/typeScriptDeclarations/nullablePrimitives.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("functionTypes.kt")
|
||||
public void testFunctionTypes() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/functionTypes.kt");
|
||||
@TestMetadata("nullableUnisnged.kt")
|
||||
public void testNullableUnisnged() {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/typeScriptDeclarations/nullableUnisnged.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("imperativeWrapperInitialised.kt")
|
||||
public void testImperativeWrapperInitialised() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/imperativeWrapperInitialised.kt");
|
||||
@TestMetadata("primitives.kt")
|
||||
public void testPrimitives() {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/typeScriptDeclarations/primitives.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("imperativeWrapperUninitialised.kt")
|
||||
public void testImperativeWrapperUninitialised() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/imperativeWrapperUninitialised.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("jsCode.kt")
|
||||
public void testJsCode() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/jsCode.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("jsExport.kt")
|
||||
public void testJsExport() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/jsExport.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("jsModule.kt")
|
||||
public void testJsModule() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/jsModule.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("jsModuleWithQualifier.kt")
|
||||
public void testJsModuleWithQualifier() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/jsModuleWithQualifier.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("jsQualifier.kt")
|
||||
public void testJsQualifier() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/jsQualifier.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("jsToKotlinAdapters.kt")
|
||||
public void testJsToKotlinAdapters() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/jsToKotlinAdapters.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("jsTypes.kt")
|
||||
public void testJsTypes() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/jsTypes.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kotlinToJsAdapters.kt")
|
||||
public void testKotlinToJsAdapters() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/kotlinToJsAdapters.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt59082.kt")
|
||||
public void testKt59082() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/kt59082.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt59084.kt")
|
||||
public void testKt59084() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/kt59084.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lambdaAdapterNameClash.kt")
|
||||
public void testLambdaAdapterNameClash() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/lambdaAdapterNameClash.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("longStrings.kt")
|
||||
public void testLongStrings() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/longStrings.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nameClash.kt")
|
||||
public void testNameClash() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/nameClash.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("noExceptions.kt")
|
||||
public void testNoExceptions() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/noExceptions.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nullableExternRefs.kt")
|
||||
public void testNullableExternRefs() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/nullableExternRefs.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("types.kt")
|
||||
public void testTypes() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/types.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("vararg.kt")
|
||||
public void testVararg() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/vararg.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("wasmExport.kt")
|
||||
public void testWasmExport() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/wasmExport.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("wasmImport.kt")
|
||||
public void testWasmImport() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/wasmImport.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/boxWasmJsInterop/typeScriptDeclarations")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class TypeScriptDeclarations {
|
||||
@Test
|
||||
public void testAllFilesPresentInTypeScriptDeclarations() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxWasmJsInterop/typeScriptDeclarations"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.WASM, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("externalDeclarations.kt")
|
||||
public void testExternalDeclarations() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/typeScriptDeclarations/externalDeclarations.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("generics.kt")
|
||||
public void testGenerics() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/typeScriptDeclarations/generics.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("jsPrimitives.kt")
|
||||
public void testJsPrimitives() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/typeScriptDeclarations/jsPrimitives.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nullableJsPrimitives.kt")
|
||||
public void testNullableJsPrimitives() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/typeScriptDeclarations/nullableJsPrimitives.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nullablePrimitives.kt")
|
||||
public void testNullablePrimitives() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/typeScriptDeclarations/nullablePrimitives.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nullableUnisnged.kt")
|
||||
public void testNullableUnisnged() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/typeScriptDeclarations/nullableUnisnged.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("primitives.kt")
|
||||
public void testPrimitives() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/typeScriptDeclarations/primitives.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unisnged.kt")
|
||||
public void testUnisnged() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/typeScriptDeclarations/unisnged.kt");
|
||||
}
|
||||
@TestMetadata("unisnged.kt")
|
||||
public void testUnisnged() {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/typeScriptDeclarations/unisnged.kt");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Generated
+664
-664
File diff suppressed because it is too large
Load Diff
Generated
+536
-536
File diff suppressed because it is too large
Load Diff
Generated
+14
-14
@@ -20,20 +20,20 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("compiler/testData/codegen/boxWasmWasi")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirWasmWasiCodegenBoxTestGenerated extends AbstractFirWasmWasiCodegenBoxTest {
|
||||
@Test
|
||||
public void testAllFilesPresentInBoxWasmWasi() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxWasmWasi"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.WASM, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInBoxWasmWasi() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxWasmWasi"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.WASM, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("onExportedFunctionExit.kt")
|
||||
public void testOnExportedFunctionExit() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxWasmWasi/onExportedFunctionExit.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("onExportedFunctionExit.kt")
|
||||
public void testOnExportedFunctionExit() {
|
||||
runTest("compiler/testData/codegen/boxWasmWasi/onExportedFunctionExit.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleWasi.kt")
|
||||
public void testSimpleWasi() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxWasmWasi/simpleWasi.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("simpleWasi.kt")
|
||||
public void testSimpleWasi() {
|
||||
runTest("compiler/testData/codegen/boxWasmWasi/simpleWasi.kt");
|
||||
}
|
||||
}
|
||||
|
||||
Generated
+4917
-4917
File diff suppressed because it is too large
Load Diff
Generated
+37304
-37304
File diff suppressed because it is too large
Load Diff
+198
-198
@@ -20,228 +20,228 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("compiler/testData/codegen/boxWasmJsInterop")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class K1WasmCodegenWasmJsInteropTestGenerated extends AbstractK1WasmCodegenWasmJsInteropTest {
|
||||
@Test
|
||||
public void testAllFilesPresentInBoxWasmJsInterop() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxWasmJsInterop"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.WASM, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("callingWasmDirectly.kt")
|
||||
public void testCallingWasmDirectly() {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/callingWasmDirectly.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("defaultValues.kt")
|
||||
public void testDefaultValues() {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/defaultValues.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("externalTypeOperators.kt")
|
||||
public void testExternalTypeOperators() {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/externalTypeOperators.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("externals.kt")
|
||||
public void testExternals() {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/externals.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("externalsWithUnsigned.kt")
|
||||
public void testExternalsWithUnsigned() {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/externalsWithUnsigned.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("functionTypes.kt")
|
||||
public void testFunctionTypes() {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/functionTypes.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("imperativeWrapperInitialised.kt")
|
||||
public void testImperativeWrapperInitialised() {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/imperativeWrapperInitialised.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("imperativeWrapperUninitialised.kt")
|
||||
public void testImperativeWrapperUninitialised() {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/imperativeWrapperUninitialised.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("jsCode.kt")
|
||||
public void testJsCode() {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/jsCode.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("jsExport.kt")
|
||||
public void testJsExport() {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/jsExport.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("jsModule.kt")
|
||||
public void testJsModule() {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/jsModule.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("jsModuleWithQualifier.kt")
|
||||
public void testJsModuleWithQualifier() {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/jsModuleWithQualifier.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("jsQualifier.kt")
|
||||
public void testJsQualifier() {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/jsQualifier.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("jsToKotlinAdapters.kt")
|
||||
public void testJsToKotlinAdapters() {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/jsToKotlinAdapters.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("jsTypes.kt")
|
||||
public void testJsTypes() {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/jsTypes.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kotlinToJsAdapters.kt")
|
||||
public void testKotlinToJsAdapters() {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/kotlinToJsAdapters.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt59082.kt")
|
||||
public void testKt59082() {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/kt59082.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt59084.kt")
|
||||
public void testKt59084() {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/kt59084.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lambdaAdapterNameClash.kt")
|
||||
public void testLambdaAdapterNameClash() {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/lambdaAdapterNameClash.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("longStrings.kt")
|
||||
public void testLongStrings() {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/longStrings.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nameClash.kt")
|
||||
public void testNameClash() {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/nameClash.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("noExceptions.kt")
|
||||
public void testNoExceptions() {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/noExceptions.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nullableExternRefs.kt")
|
||||
public void testNullableExternRefs() {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/nullableExternRefs.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("types.kt")
|
||||
public void testTypes() {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/types.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("vararg.kt")
|
||||
public void testVararg() {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/vararg.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("wasmExport.kt")
|
||||
public void testWasmExport() {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/wasmExport.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("wasmImport.kt")
|
||||
public void testWasmImport() {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/wasmImport.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/boxWasmJsInterop/typeScriptDeclarations")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class TypeScriptDeclarations {
|
||||
@Test
|
||||
public void testAllFilesPresentInBoxWasmJsInterop() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxWasmJsInterop"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.WASM, true);
|
||||
public void testAllFilesPresentInTypeScriptDeclarations() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxWasmJsInterop/typeScriptDeclarations"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.WASM, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("callingWasmDirectly.kt")
|
||||
public void testCallingWasmDirectly() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/callingWasmDirectly.kt");
|
||||
@TestMetadata("externalDeclarations.kt")
|
||||
public void testExternalDeclarations() {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/typeScriptDeclarations/externalDeclarations.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("defaultValues.kt")
|
||||
public void testDefaultValues() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/defaultValues.kt");
|
||||
@TestMetadata("generics.kt")
|
||||
public void testGenerics() {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/typeScriptDeclarations/generics.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("externalTypeOperators.kt")
|
||||
public void testExternalTypeOperators() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/externalTypeOperators.kt");
|
||||
@TestMetadata("jsPrimitives.kt")
|
||||
public void testJsPrimitives() {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/typeScriptDeclarations/jsPrimitives.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("externals.kt")
|
||||
public void testExternals() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/externals.kt");
|
||||
@TestMetadata("nullableJsPrimitives.kt")
|
||||
public void testNullableJsPrimitives() {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/typeScriptDeclarations/nullableJsPrimitives.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("externalsWithUnsigned.kt")
|
||||
public void testExternalsWithUnsigned() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/externalsWithUnsigned.kt");
|
||||
@TestMetadata("nullablePrimitives.kt")
|
||||
public void testNullablePrimitives() {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/typeScriptDeclarations/nullablePrimitives.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("functionTypes.kt")
|
||||
public void testFunctionTypes() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/functionTypes.kt");
|
||||
@TestMetadata("nullableUnisnged.kt")
|
||||
public void testNullableUnisnged() {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/typeScriptDeclarations/nullableUnisnged.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("imperativeWrapperInitialised.kt")
|
||||
public void testImperativeWrapperInitialised() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/imperativeWrapperInitialised.kt");
|
||||
@TestMetadata("primitives.kt")
|
||||
public void testPrimitives() {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/typeScriptDeclarations/primitives.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("imperativeWrapperUninitialised.kt")
|
||||
public void testImperativeWrapperUninitialised() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/imperativeWrapperUninitialised.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("jsCode.kt")
|
||||
public void testJsCode() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/jsCode.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("jsExport.kt")
|
||||
public void testJsExport() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/jsExport.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("jsModule.kt")
|
||||
public void testJsModule() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/jsModule.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("jsModuleWithQualifier.kt")
|
||||
public void testJsModuleWithQualifier() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/jsModuleWithQualifier.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("jsQualifier.kt")
|
||||
public void testJsQualifier() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/jsQualifier.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("jsToKotlinAdapters.kt")
|
||||
public void testJsToKotlinAdapters() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/jsToKotlinAdapters.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("jsTypes.kt")
|
||||
public void testJsTypes() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/jsTypes.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kotlinToJsAdapters.kt")
|
||||
public void testKotlinToJsAdapters() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/kotlinToJsAdapters.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt59082.kt")
|
||||
public void testKt59082() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/kt59082.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt59084.kt")
|
||||
public void testKt59084() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/kt59084.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lambdaAdapterNameClash.kt")
|
||||
public void testLambdaAdapterNameClash() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/lambdaAdapterNameClash.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("longStrings.kt")
|
||||
public void testLongStrings() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/longStrings.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nameClash.kt")
|
||||
public void testNameClash() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/nameClash.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("noExceptions.kt")
|
||||
public void testNoExceptions() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/noExceptions.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nullableExternRefs.kt")
|
||||
public void testNullableExternRefs() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/nullableExternRefs.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("types.kt")
|
||||
public void testTypes() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/types.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("vararg.kt")
|
||||
public void testVararg() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/vararg.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("wasmExport.kt")
|
||||
public void testWasmExport() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/wasmExport.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("wasmImport.kt")
|
||||
public void testWasmImport() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/wasmImport.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/boxWasmJsInterop/typeScriptDeclarations")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class TypeScriptDeclarations {
|
||||
@Test
|
||||
public void testAllFilesPresentInTypeScriptDeclarations() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxWasmJsInterop/typeScriptDeclarations"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.WASM, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("externalDeclarations.kt")
|
||||
public void testExternalDeclarations() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/typeScriptDeclarations/externalDeclarations.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("generics.kt")
|
||||
public void testGenerics() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/typeScriptDeclarations/generics.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("jsPrimitives.kt")
|
||||
public void testJsPrimitives() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/typeScriptDeclarations/jsPrimitives.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nullableJsPrimitives.kt")
|
||||
public void testNullableJsPrimitives() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/typeScriptDeclarations/nullableJsPrimitives.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nullablePrimitives.kt")
|
||||
public void testNullablePrimitives() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/typeScriptDeclarations/nullablePrimitives.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nullableUnisnged.kt")
|
||||
public void testNullableUnisnged() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/typeScriptDeclarations/nullableUnisnged.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("primitives.kt")
|
||||
public void testPrimitives() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/typeScriptDeclarations/primitives.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unisnged.kt")
|
||||
public void testUnisnged() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/typeScriptDeclarations/unisnged.kt");
|
||||
}
|
||||
@TestMetadata("unisnged.kt")
|
||||
public void testUnisnged() {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/typeScriptDeclarations/unisnged.kt");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Generated
+536
-536
File diff suppressed because it is too large
Load Diff
+664
-664
File diff suppressed because it is too large
Load Diff
Generated
+14
-14
@@ -20,20 +20,20 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("compiler/testData/codegen/boxWasmWasi")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class K1WasmWasiCodegenBoxTestGenerated extends AbstractK1WasmWasiCodegenBoxTest {
|
||||
@Test
|
||||
public void testAllFilesPresentInBoxWasmWasi() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxWasmWasi"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.WASM, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInBoxWasmWasi() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxWasmWasi"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.WASM, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("onExportedFunctionExit.kt")
|
||||
public void testOnExportedFunctionExit() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxWasmWasi/onExportedFunctionExit.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("onExportedFunctionExit.kt")
|
||||
public void testOnExportedFunctionExit() {
|
||||
runTest("compiler/testData/codegen/boxWasmWasi/onExportedFunctionExit.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleWasi.kt")
|
||||
public void testSimpleWasi() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxWasmWasi/simpleWasi.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("simpleWasi.kt")
|
||||
public void testSimpleWasi() {
|
||||
runTest("compiler/testData/codegen/boxWasmWasi/simpleWasi.kt");
|
||||
}
|
||||
}
|
||||
|
||||
+207
-207
@@ -19,226 +19,226 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("compiler/testData/diagnostics/wasmTests")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class DiagnosticsFirWasmTestGenerated extends AbstractDiagnosticsFirWasmTest {
|
||||
@Test
|
||||
public void testAllFilesPresentInWasmTests() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/wasmTests"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/diagnostics/wasmTests/jsInterop")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class JsInterop {
|
||||
@Test
|
||||
public void testAllFilesPresentInWasmTests() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/wasmTests"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
public void testAllFilesPresentInJsInterop() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/wasmTests/jsInterop"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("anonymousInitializer.kt")
|
||||
public void testAnonymousInitializer() {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/anonymousInitializer.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("body.kt")
|
||||
public void testBody() {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/body.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("definedExternally.kt")
|
||||
public void testDefinedExternally() {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/definedExternally.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("delegatedConstructorCall.kt")
|
||||
public void testDelegatedConstructorCall() {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/delegatedConstructorCall.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("delegation.kt")
|
||||
public void testDelegation() {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/delegation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("dynamicUnsupported.kt")
|
||||
public void testDynamicUnsupported() {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/dynamicUnsupported.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("external.kt")
|
||||
public void testExternal() {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/external.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("externalInterfaceNested.kt")
|
||||
public void testExternalInterfaceNested() {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/externalInterfaceNested.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inheritance.kt")
|
||||
public void testInheritance() {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/inheritance.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("jsCode.kt")
|
||||
public void testJsCode() {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/jsCode.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("jsExport.kt")
|
||||
public void testJsExport() {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/jsExport.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("jsFun.kt")
|
||||
public void testJsFun() {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/jsFun.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nestedExternal.kt")
|
||||
public void testNestedExternal() {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/nestedExternal.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nonAbstractMembersOfInterface.kt")
|
||||
public void testNonAbstractMembersOfInterface() {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/nonAbstractMembersOfInterface.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("types.kt")
|
||||
public void testTypes() {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/types.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("wrongQualifier.kt")
|
||||
public void testWrongQualifier() {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/wrongQualifier.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/diagnostics/wasmTests/jsInterop")
|
||||
@TestMetadata("compiler/testData/diagnostics/wasmTests/jsInterop/module")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class JsInterop {
|
||||
@Test
|
||||
public void testAllFilesPresentInJsInterop() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/wasmTests/jsInterop"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
public class Module {
|
||||
@Test
|
||||
public void testAllFilesPresentInModule() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/wasmTests/jsInterop/module"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("anonymousInitializer.kt")
|
||||
public void testAnonymousInitializer() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/anonymousInitializer.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("jsModuleNonExternal.kt")
|
||||
public void testJsModuleNonExternal() {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/module/jsModuleNonExternal.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("body.kt")
|
||||
public void testBody() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/body.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("jsVarProhibited.kt")
|
||||
public void testJsVarProhibited() {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/module/jsVarProhibited.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("definedExternally.kt")
|
||||
public void testDefinedExternally() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/definedExternally.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("nestedProhibited.kt")
|
||||
public void testNestedProhibited() {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/module/nestedProhibited.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("delegatedConstructorCall.kt")
|
||||
public void testDelegatedConstructorCall() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/delegatedConstructorCall.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("delegation.kt")
|
||||
public void testDelegation() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/delegation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("dynamicUnsupported.kt")
|
||||
public void testDynamicUnsupported() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/dynamicUnsupported.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("external.kt")
|
||||
public void testExternal() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/external.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("externalInterfaceNested.kt")
|
||||
public void testExternalInterfaceNested() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/externalInterfaceNested.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inheritance.kt")
|
||||
public void testInheritance() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/inheritance.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("jsCode.kt")
|
||||
public void testJsCode() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/jsCode.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("jsExport.kt")
|
||||
public void testJsExport() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/jsExport.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("jsFun.kt")
|
||||
public void testJsFun() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/jsFun.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nestedExternal.kt")
|
||||
public void testNestedExternal() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/nestedExternal.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nonAbstractMembersOfInterface.kt")
|
||||
public void testNonAbstractMembersOfInterface() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/nonAbstractMembersOfInterface.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("types.kt")
|
||||
public void testTypes() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/types.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("wrongQualifier.kt")
|
||||
public void testWrongQualifier() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/wrongQualifier.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/diagnostics/wasmTests/jsInterop/module")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Module {
|
||||
@Test
|
||||
public void testAllFilesPresentInModule() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/wasmTests/jsInterop/module"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("jsModuleNonExternal.kt")
|
||||
public void testJsModuleNonExternal() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/module/jsModuleNonExternal.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("jsVarProhibited.kt")
|
||||
public void testJsVarProhibited() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/module/jsVarProhibited.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nestedProhibited.kt")
|
||||
public void testNestedProhibited() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/module/nestedProhibited.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("prohibitedOnNonNative.kt")
|
||||
public void testProhibitedOnNonNative() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/module/prohibitedOnNonNative.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/diagnostics/wasmTests/jsInterop/qualifier")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Qualifier {
|
||||
@Test
|
||||
public void testAllFilesPresentInQualifier() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/wasmTests/jsInterop/qualifier"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("jsQualifierNonExternal.kt")
|
||||
public void testJsQualifierNonExternal() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/qualifier/jsQualifierNonExternal.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/diagnostics/wasmTests/jsInterop/rtti")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Rtti {
|
||||
@Test
|
||||
public void testAllFilesPresentInRtti() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/wasmTests/jsInterop/rtti"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("castToNativeInterface.kt")
|
||||
public void testCastToNativeInterface() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/rtti/castToNativeInterface.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("checkForNativeInterface.kt")
|
||||
public void testCheckForNativeInterface() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/rtti/checkForNativeInterface.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nativeInterfaceAsReifiedTypeArgument.kt")
|
||||
public void testNativeInterfaceAsReifiedTypeArgument() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/rtti/nativeInterfaceAsReifiedTypeArgument.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nativeInterfaceClassLiteral.kt")
|
||||
public void testNativeInterfaceClassLiteral() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/rtti/nativeInterfaceClassLiteral.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("whenIsNativeInterface.kt")
|
||||
public void testWhenIsNativeInterface() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/rtti/whenIsNativeInterface.kt");
|
||||
}
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("prohibitedOnNonNative.kt")
|
||||
public void testProhibitedOnNonNative() {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/module/prohibitedOnNonNative.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/diagnostics/wasmTests/wasmInterop")
|
||||
@TestMetadata("compiler/testData/diagnostics/wasmTests/jsInterop/qualifier")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class WasmInterop {
|
||||
@Test
|
||||
public void testAllFilesPresentInWasmInterop() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/wasmTests/wasmInterop"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
public class Qualifier {
|
||||
@Test
|
||||
public void testAllFilesPresentInQualifier() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/wasmTests/jsInterop/qualifier"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("wasmExport.kt")
|
||||
public void testWasmExport() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/wasmInterop/wasmExport.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("wasmImport.kt")
|
||||
public void testWasmImport() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/wasmInterop/wasmImport.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("jsQualifierNonExternal.kt")
|
||||
public void testJsQualifierNonExternal() {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/qualifier/jsQualifierNonExternal.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/diagnostics/wasmTests/jsInterop/rtti")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Rtti {
|
||||
@Test
|
||||
public void testAllFilesPresentInRtti() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/wasmTests/jsInterop/rtti"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("castToNativeInterface.kt")
|
||||
public void testCastToNativeInterface() {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/rtti/castToNativeInterface.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("checkForNativeInterface.kt")
|
||||
public void testCheckForNativeInterface() {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/rtti/checkForNativeInterface.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nativeInterfaceAsReifiedTypeArgument.kt")
|
||||
public void testNativeInterfaceAsReifiedTypeArgument() {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/rtti/nativeInterfaceAsReifiedTypeArgument.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nativeInterfaceClassLiteral.kt")
|
||||
public void testNativeInterfaceClassLiteral() {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/rtti/nativeInterfaceClassLiteral.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("whenIsNativeInterface.kt")
|
||||
public void testWhenIsNativeInterface() {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/rtti/whenIsNativeInterface.kt");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/diagnostics/wasmTests/wasmInterop")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class WasmInterop {
|
||||
@Test
|
||||
public void testAllFilesPresentInWasmInterop() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/wasmTests/wasmInterop"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("wasmExport.kt")
|
||||
public void testWasmExport() {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/wasmInterop/wasmExport.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("wasmImport.kt")
|
||||
public void testWasmImport() {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/wasmInterop/wasmImport.kt");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+9
-9
@@ -19,14 +19,14 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("compiler/testData/diagnostics/wasmWasiTests")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class DiagnosticsFirWasmWasiTestGenerated extends AbstractDiagnosticsFirWasmWasiTest {
|
||||
@Test
|
||||
public void testAllFilesPresentInWasmWasiTests() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/wasmWasiTests"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInWasmWasiTests() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/wasmWasiTests"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("external.kt")
|
||||
public void testExternal() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/wasmWasiTests/external.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("external.kt")
|
||||
public void testExternal() {
|
||||
runTest("compiler/testData/diagnostics/wasmWasiTests/external.kt");
|
||||
}
|
||||
}
|
||||
|
||||
+207
-207
@@ -19,226 +19,226 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("compiler/testData/diagnostics/wasmTests")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class DiagnosticsWasmTestGenerated extends AbstractDiagnosticsWasmTest {
|
||||
@Test
|
||||
public void testAllFilesPresentInWasmTests() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/wasmTests"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/diagnostics/wasmTests/jsInterop")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class JsInterop {
|
||||
@Test
|
||||
public void testAllFilesPresentInWasmTests() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/wasmTests"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
public void testAllFilesPresentInJsInterop() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/wasmTests/jsInterop"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("anonymousInitializer.kt")
|
||||
public void testAnonymousInitializer() {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/anonymousInitializer.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("body.kt")
|
||||
public void testBody() {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/body.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("definedExternally.kt")
|
||||
public void testDefinedExternally() {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/definedExternally.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("delegatedConstructorCall.kt")
|
||||
public void testDelegatedConstructorCall() {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/delegatedConstructorCall.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("delegation.kt")
|
||||
public void testDelegation() {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/delegation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("dynamicUnsupported.kt")
|
||||
public void testDynamicUnsupported() {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/dynamicUnsupported.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("external.kt")
|
||||
public void testExternal() {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/external.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("externalInterfaceNested.kt")
|
||||
public void testExternalInterfaceNested() {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/externalInterfaceNested.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inheritance.kt")
|
||||
public void testInheritance() {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/inheritance.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("jsCode.kt")
|
||||
public void testJsCode() {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/jsCode.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("jsExport.kt")
|
||||
public void testJsExport() {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/jsExport.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("jsFun.kt")
|
||||
public void testJsFun() {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/jsFun.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nestedExternal.kt")
|
||||
public void testNestedExternal() {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/nestedExternal.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nonAbstractMembersOfInterface.kt")
|
||||
public void testNonAbstractMembersOfInterface() {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/nonAbstractMembersOfInterface.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("types.kt")
|
||||
public void testTypes() {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/types.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("wrongQualifier.kt")
|
||||
public void testWrongQualifier() {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/wrongQualifier.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/diagnostics/wasmTests/jsInterop")
|
||||
@TestMetadata("compiler/testData/diagnostics/wasmTests/jsInterop/module")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class JsInterop {
|
||||
@Test
|
||||
public void testAllFilesPresentInJsInterop() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/wasmTests/jsInterop"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
public class Module {
|
||||
@Test
|
||||
public void testAllFilesPresentInModule() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/wasmTests/jsInterop/module"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("anonymousInitializer.kt")
|
||||
public void testAnonymousInitializer() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/anonymousInitializer.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("jsModuleNonExternal.kt")
|
||||
public void testJsModuleNonExternal() {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/module/jsModuleNonExternal.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("body.kt")
|
||||
public void testBody() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/body.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("jsVarProhibited.kt")
|
||||
public void testJsVarProhibited() {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/module/jsVarProhibited.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("definedExternally.kt")
|
||||
public void testDefinedExternally() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/definedExternally.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("nestedProhibited.kt")
|
||||
public void testNestedProhibited() {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/module/nestedProhibited.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("delegatedConstructorCall.kt")
|
||||
public void testDelegatedConstructorCall() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/delegatedConstructorCall.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("delegation.kt")
|
||||
public void testDelegation() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/delegation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("dynamicUnsupported.kt")
|
||||
public void testDynamicUnsupported() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/dynamicUnsupported.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("external.kt")
|
||||
public void testExternal() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/external.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("externalInterfaceNested.kt")
|
||||
public void testExternalInterfaceNested() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/externalInterfaceNested.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inheritance.kt")
|
||||
public void testInheritance() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/inheritance.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("jsCode.kt")
|
||||
public void testJsCode() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/jsCode.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("jsExport.kt")
|
||||
public void testJsExport() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/jsExport.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("jsFun.kt")
|
||||
public void testJsFun() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/jsFun.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nestedExternal.kt")
|
||||
public void testNestedExternal() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/nestedExternal.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nonAbstractMembersOfInterface.kt")
|
||||
public void testNonAbstractMembersOfInterface() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/nonAbstractMembersOfInterface.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("types.kt")
|
||||
public void testTypes() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/types.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("wrongQualifier.kt")
|
||||
public void testWrongQualifier() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/wrongQualifier.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/diagnostics/wasmTests/jsInterop/module")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Module {
|
||||
@Test
|
||||
public void testAllFilesPresentInModule() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/wasmTests/jsInterop/module"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("jsModuleNonExternal.kt")
|
||||
public void testJsModuleNonExternal() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/module/jsModuleNonExternal.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("jsVarProhibited.kt")
|
||||
public void testJsVarProhibited() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/module/jsVarProhibited.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nestedProhibited.kt")
|
||||
public void testNestedProhibited() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/module/nestedProhibited.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("prohibitedOnNonNative.kt")
|
||||
public void testProhibitedOnNonNative() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/module/prohibitedOnNonNative.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/diagnostics/wasmTests/jsInterop/qualifier")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Qualifier {
|
||||
@Test
|
||||
public void testAllFilesPresentInQualifier() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/wasmTests/jsInterop/qualifier"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("jsQualifierNonExternal.kt")
|
||||
public void testJsQualifierNonExternal() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/qualifier/jsQualifierNonExternal.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/diagnostics/wasmTests/jsInterop/rtti")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Rtti {
|
||||
@Test
|
||||
public void testAllFilesPresentInRtti() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/wasmTests/jsInterop/rtti"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("castToNativeInterface.kt")
|
||||
public void testCastToNativeInterface() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/rtti/castToNativeInterface.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("checkForNativeInterface.kt")
|
||||
public void testCheckForNativeInterface() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/rtti/checkForNativeInterface.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nativeInterfaceAsReifiedTypeArgument.kt")
|
||||
public void testNativeInterfaceAsReifiedTypeArgument() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/rtti/nativeInterfaceAsReifiedTypeArgument.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nativeInterfaceClassLiteral.kt")
|
||||
public void testNativeInterfaceClassLiteral() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/rtti/nativeInterfaceClassLiteral.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("whenIsNativeInterface.kt")
|
||||
public void testWhenIsNativeInterface() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/rtti/whenIsNativeInterface.kt");
|
||||
}
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("prohibitedOnNonNative.kt")
|
||||
public void testProhibitedOnNonNative() {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/module/prohibitedOnNonNative.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/diagnostics/wasmTests/wasmInterop")
|
||||
@TestMetadata("compiler/testData/diagnostics/wasmTests/jsInterop/qualifier")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class WasmInterop {
|
||||
@Test
|
||||
public void testAllFilesPresentInWasmInterop() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/wasmTests/wasmInterop"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
public class Qualifier {
|
||||
@Test
|
||||
public void testAllFilesPresentInQualifier() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/wasmTests/jsInterop/qualifier"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("wasmExport.kt")
|
||||
public void testWasmExport() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/wasmInterop/wasmExport.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("wasmImport.kt")
|
||||
public void testWasmImport() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/wasmInterop/wasmImport.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("jsQualifierNonExternal.kt")
|
||||
public void testJsQualifierNonExternal() {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/qualifier/jsQualifierNonExternal.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/diagnostics/wasmTests/jsInterop/rtti")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Rtti {
|
||||
@Test
|
||||
public void testAllFilesPresentInRtti() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/wasmTests/jsInterop/rtti"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("castToNativeInterface.kt")
|
||||
public void testCastToNativeInterface() {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/rtti/castToNativeInterface.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("checkForNativeInterface.kt")
|
||||
public void testCheckForNativeInterface() {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/rtti/checkForNativeInterface.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nativeInterfaceAsReifiedTypeArgument.kt")
|
||||
public void testNativeInterfaceAsReifiedTypeArgument() {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/rtti/nativeInterfaceAsReifiedTypeArgument.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nativeInterfaceClassLiteral.kt")
|
||||
public void testNativeInterfaceClassLiteral() {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/rtti/nativeInterfaceClassLiteral.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("whenIsNativeInterface.kt")
|
||||
public void testWhenIsNativeInterface() {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/rtti/whenIsNativeInterface.kt");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/diagnostics/wasmTests/wasmInterop")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class WasmInterop {
|
||||
@Test
|
||||
public void testAllFilesPresentInWasmInterop() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/wasmTests/wasmInterop"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("wasmExport.kt")
|
||||
public void testWasmExport() {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/wasmInterop/wasmExport.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("wasmImport.kt")
|
||||
public void testWasmImport() {
|
||||
runTest("compiler/testData/diagnostics/wasmTests/wasmInterop/wasmImport.kt");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+9
-9
@@ -19,14 +19,14 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("compiler/testData/diagnostics/wasmWasiTests")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class DiagnosticsWasmWasiTestGenerated extends AbstractDiagnosticsWasmWasiTest {
|
||||
@Test
|
||||
public void testAllFilesPresentInWasmWasiTests() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/wasmWasiTests"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInWasmWasiTests() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/wasmWasiTests"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("external.kt")
|
||||
public void testExternal() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/wasmWasiTests/external.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("external.kt")
|
||||
public void testExternal() {
|
||||
runTest("compiler/testData/diagnostics/wasmWasiTests/external.kt");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user