Drop quickfix tests that relied on removed native annotation
This commit is contained in:
-9
@@ -1,9 +0,0 @@
|
|||||||
// "Fix with 'asDynamic'" "true"
|
|
||||||
// JS
|
|
||||||
|
|
||||||
class TS
|
|
||||||
|
|
||||||
@n<caret>ative
|
|
||||||
fun TS.normalizePath(path: String): String {
|
|
||||||
noImpl
|
|
||||||
}
|
|
||||||
-7
@@ -1,7 +0,0 @@
|
|||||||
// "Fix with 'asDynamic'" "true"
|
|
||||||
// JS
|
|
||||||
|
|
||||||
class TS
|
|
||||||
|
|
||||||
@Suppress("NOTHING_TO_INLINE")
|
|
||||||
inline fun TS.normalizePath(path: String): String = asDynamic().normalizePath(path)
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
// "Fix with 'asDynamic'" "true"
|
|
||||||
// JS
|
|
||||||
|
|
||||||
class A
|
|
||||||
|
|
||||||
<caret>@native("aaaa") fun A.foo(): Int
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
// "Fix with 'asDynamic'" "true"
|
|
||||||
// JS
|
|
||||||
|
|
||||||
class A
|
|
||||||
|
|
||||||
@JsName("aaaa")
|
|
||||||
@Suppress("NOTHING_TO_INLINE")
|
|
||||||
inline fun A.foo(): Int = asDynamic().foo()
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
// "Fix with 'asDynamic'" "true"
|
|
||||||
// JS
|
|
||||||
|
|
||||||
class A
|
|
||||||
|
|
||||||
@n<caret>ative fun A.foo(): Int = noImpl
|
|
||||||
-7
@@ -1,7 +0,0 @@
|
|||||||
// "Fix with 'asDynamic'" "true"
|
|
||||||
// JS
|
|
||||||
|
|
||||||
class A
|
|
||||||
|
|
||||||
@Suppress("NOTHING_TO_INLINE")
|
|
||||||
inline fun A.foo(): Int = asDynamic().foo()
|
|
||||||
-6
@@ -1,6 +0,0 @@
|
|||||||
// "Fix with 'asDynamic'" "true"
|
|
||||||
// JS
|
|
||||||
|
|
||||||
class A
|
|
||||||
|
|
||||||
<caret>@native fun A.foo(a: Int, b: String): Int
|
|
||||||
-7
@@ -1,7 +0,0 @@
|
|||||||
// "Fix with 'asDynamic'" "true"
|
|
||||||
// JS
|
|
||||||
|
|
||||||
class A
|
|
||||||
|
|
||||||
@Suppress("NOTHING_TO_INLINE")
|
|
||||||
inline fun A.foo(a: Int, b: String): Int = asDynamic().foo(a, b)
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
// "Fix with 'asDynamic'" "true"
|
|
||||||
// JS
|
|
||||||
|
|
||||||
class A
|
|
||||||
|
|
||||||
@<caret>native val A.boo: Int
|
|
||||||
-7
@@ -1,7 +0,0 @@
|
|||||||
// "Fix with 'asDynamic'" "true"
|
|
||||||
// JS
|
|
||||||
|
|
||||||
class A
|
|
||||||
|
|
||||||
inline val A.boo: Int
|
|
||||||
get() = asDynamic().boo
|
|
||||||
@@ -1,19 +0,0 @@
|
|||||||
// "Fix with 'asDynamic'" "true"
|
|
||||||
// JS
|
|
||||||
|
|
||||||
@<caret>native
|
|
||||||
class B {
|
|
||||||
@nativeGetter
|
|
||||||
fun foo(i: Int): B?
|
|
||||||
|
|
||||||
@nativeSetter
|
|
||||||
fun foo(i: Int, v: B)
|
|
||||||
|
|
||||||
@nativeInvoke
|
|
||||||
fun bar(a: B)
|
|
||||||
|
|
||||||
@nativeInvoke
|
|
||||||
fun<T> exp(t: T)
|
|
||||||
|
|
||||||
fun dontTouch(): Nothing = definedExternally
|
|
||||||
}
|
|
||||||
@@ -1,25 +0,0 @@
|
|||||||
// "Fix with 'asDynamic'" "true"
|
|
||||||
// JS
|
|
||||||
|
|
||||||
external class B {
|
|
||||||
|
|
||||||
fun dontTouch(): Nothing = definedExternally
|
|
||||||
}
|
|
||||||
|
|
||||||
@Suppress("NOTHING_TO_INLINE")
|
|
||||||
inline fun B.foo(i: Int): B? = asDynamic()[i]
|
|
||||||
|
|
||||||
@Suppress("NOTHING_TO_INLINE")
|
|
||||||
inline fun B.foo(i: Int, v: B) {
|
|
||||||
asDynamic()[i] = v
|
|
||||||
}
|
|
||||||
|
|
||||||
@Suppress("NOTHING_TO_INLINE")
|
|
||||||
inline fun B.bar(a: B) {
|
|
||||||
asDynamic()(a)
|
|
||||||
}
|
|
||||||
|
|
||||||
@Suppress("NOTHING_TO_INLINE")
|
|
||||||
inline fun<T> B.exp(t: T) {
|
|
||||||
asDynamic()(t)
|
|
||||||
}
|
|
||||||
@@ -1,19 +0,0 @@
|
|||||||
// "Fix with 'asDynamic'" "true"
|
|
||||||
// JS
|
|
||||||
|
|
||||||
@<caret>native
|
|
||||||
class B {
|
|
||||||
@nativeGetter
|
|
||||||
fun foo(i: Int): B?
|
|
||||||
|
|
||||||
@na<caret>tiveSetter
|
|
||||||
fun foo(i: Int, v: B)
|
|
||||||
|
|
||||||
@nativeInvoke
|
|
||||||
fun bar(a: B)
|
|
||||||
|
|
||||||
@nativeInvoke
|
|
||||||
fun<T> exp(t: T)
|
|
||||||
|
|
||||||
fun dontTouch(): Nothing = definedExternally
|
|
||||||
}
|
|
||||||
@@ -1,25 +0,0 @@
|
|||||||
// "Fix with 'asDynamic'" "true"
|
|
||||||
// JS
|
|
||||||
|
|
||||||
external class B {
|
|
||||||
|
|
||||||
fun dontTouch(): Nothing = definedExternally
|
|
||||||
}
|
|
||||||
|
|
||||||
@Suppress("NOTHING_TO_INLINE")
|
|
||||||
inline fun B.foo(i: Int): B? = asDynamic()[i]
|
|
||||||
|
|
||||||
@Suppress("NOTHING_TO_INLINE")
|
|
||||||
inline fun B.foo(i: Int, v: B) {
|
|
||||||
asDynamic()[i] = v
|
|
||||||
}
|
|
||||||
|
|
||||||
@Suppress("NOTHING_TO_INLINE")
|
|
||||||
inline fun B.bar(a: B) {
|
|
||||||
asDynamic()(a)
|
|
||||||
}
|
|
||||||
|
|
||||||
@Suppress("NOTHING_TO_INLINE")
|
|
||||||
inline fun<T> B.exp(t: T) {
|
|
||||||
asDynamic()(t)
|
|
||||||
}
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
// "Fix with 'asDynamic'" "true"
|
|
||||||
// JS
|
|
||||||
|
|
||||||
@native
|
|
||||||
class B {
|
|
||||||
@na<caret>tiveSetter
|
|
||||||
fun foo(i: Int, v: B)
|
|
||||||
}
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
// "Fix with 'asDynamic'" "true"
|
|
||||||
// JS
|
|
||||||
|
|
||||||
external class B {
|
|
||||||
}
|
|
||||||
|
|
||||||
@Suppress("NOTHING_TO_INLINE")
|
|
||||||
inline fun B.foo(i: Int, v: B) {
|
|
||||||
asDynamic()[i] = v
|
|
||||||
}
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
// "Fix with 'asDynamic'" "true"
|
|
||||||
// JS
|
|
||||||
|
|
||||||
@native
|
|
||||||
class B {
|
|
||||||
@na<caret>tiveInvoke
|
|
||||||
fun bar(a: B)
|
|
||||||
}
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
// "Fix with 'asDynamic'" "true"
|
|
||||||
// JS
|
|
||||||
|
|
||||||
external class B {
|
|
||||||
}
|
|
||||||
|
|
||||||
@Suppress("NOTHING_TO_INLINE")
|
|
||||||
inline fun B.bar(a: B) {
|
|
||||||
asDynamic()(a)
|
|
||||||
}
|
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
// "Fix with 'asDynamic'" "true"
|
|
||||||
// JS
|
|
||||||
class A
|
|
||||||
|
|
||||||
@native
|
|
||||||
class B<T: A> {
|
|
||||||
@nat<caret>iveInvoke
|
|
||||||
fun exp(t: T)
|
|
||||||
}
|
|
||||||
-11
@@ -1,11 +0,0 @@
|
|||||||
// "Fix with 'asDynamic'" "true"
|
|
||||||
// JS
|
|
||||||
class A
|
|
||||||
|
|
||||||
external class B<T: A> {
|
|
||||||
}
|
|
||||||
|
|
||||||
@Suppress("NOTHING_TO_INLINE")
|
|
||||||
inline fun <T : A> B<T>.exp(t: T) {
|
|
||||||
asDynamic()(t)
|
|
||||||
}
|
|
||||||
-9
@@ -1,9 +0,0 @@
|
|||||||
// "Fix with 'asDynamic'" "true"
|
|
||||||
// JS
|
|
||||||
class A
|
|
||||||
|
|
||||||
@native
|
|
||||||
class B<T: A> {
|
|
||||||
@nat<caret>iveInvoke
|
|
||||||
fun<T2> exp(t: T, t2: T2)
|
|
||||||
}
|
|
||||||
-11
@@ -1,11 +0,0 @@
|
|||||||
// "Fix with 'asDynamic'" "true"
|
|
||||||
// JS
|
|
||||||
class A
|
|
||||||
|
|
||||||
external class B<T: A> {
|
|
||||||
}
|
|
||||||
|
|
||||||
@Suppress("NOTHING_TO_INLINE")
|
|
||||||
inline fun <T : A, T2> B<T>.exp(t: T, t2: T2) {
|
|
||||||
asDynamic()(t, t2)
|
|
||||||
}
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
// "Fix with 'asDynamic'" "true"
|
|
||||||
// JS
|
|
||||||
|
|
||||||
@native
|
|
||||||
class B {
|
|
||||||
@nat<caret>iveInvoke
|
|
||||||
fun<T> exp(t: T)
|
|
||||||
}
|
|
||||||
-10
@@ -1,10 +0,0 @@
|
|||||||
// "Fix with 'asDynamic'" "true"
|
|
||||||
// JS
|
|
||||||
|
|
||||||
external class B {
|
|
||||||
}
|
|
||||||
|
|
||||||
@Suppress("NOTHING_TO_INLINE")
|
|
||||||
inline fun<T> B.exp(t: T) {
|
|
||||||
asDynamic()(t)
|
|
||||||
}
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
// "Fix with 'asDynamic'" "true"
|
|
||||||
// JS
|
|
||||||
|
|
||||||
@native
|
|
||||||
class B {
|
|
||||||
@na<caret>tive("xx")
|
|
||||||
fun aaaa() // remove @native
|
|
||||||
}
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
// "Fix with 'asDynamic'" "true"
|
|
||||||
// JS
|
|
||||||
|
|
||||||
external class B {
|
|
||||||
@JsName("xx")
|
|
||||||
fun aaaa() // remove @native
|
|
||||||
}
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
// "Fix with 'asDynamic'" "true"
|
|
||||||
// JS
|
|
||||||
|
|
||||||
@native
|
|
||||||
class B {
|
|
||||||
@nat<caret>iveGetter
|
|
||||||
fun foo(i: Int): B?
|
|
||||||
}
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
// "Fix with 'asDynamic'" "true"
|
|
||||||
// JS
|
|
||||||
|
|
||||||
external class B {
|
|
||||||
}
|
|
||||||
|
|
||||||
@Suppress("NOTHING_TO_INLINE")
|
|
||||||
inline fun B.foo(i: Int): B? = asDynamic()[i]
|
|
||||||
@@ -8911,31 +8911,6 @@ public class QuickFixTestGenerated extends AbstractQuickFixTest {
|
|||||||
runTest("idea/testData/quickfix/migration/jsExternal/funPlacementOnExternalObjectJsRuntime.kt");
|
runTest("idea/testData/quickfix/migration/jsExternal/funPlacementOnExternalObjectJsRuntime.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestMetadata("nativeExtensionFunBlockBodyJsRuntime.kt")
|
|
||||||
public void testNativeExtensionFunBlockBodyJsRuntime() throws Exception {
|
|
||||||
runTest("idea/testData/quickfix/migration/jsExternal/nativeExtensionFunBlockBodyJsRuntime.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@TestMetadata("nativeExtensionFunJsName.kt")
|
|
||||||
public void testNativeExtensionFunJsName() throws Exception {
|
|
||||||
runTest("idea/testData/quickfix/migration/jsExternal/nativeExtensionFunJsName.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@TestMetadata("nativeExtensionFunJsRuntime.kt")
|
|
||||||
public void testNativeExtensionFunJsRuntime() throws Exception {
|
|
||||||
runTest("idea/testData/quickfix/migration/jsExternal/nativeExtensionFunJsRuntime.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@TestMetadata("nativeExtensionFunParamsJsRuntime.kt")
|
|
||||||
public void testNativeExtensionFunParamsJsRuntime() throws Exception {
|
|
||||||
runTest("idea/testData/quickfix/migration/jsExternal/nativeExtensionFunParamsJsRuntime.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@TestMetadata("nativeExtensionVaslJsRuntime.kt")
|
|
||||||
public void testNativeExtensionVaslJsRuntime() throws Exception {
|
|
||||||
runTest("idea/testData/quickfix/migration/jsExternal/nativeExtensionVaslJsRuntime.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@TestMetadata("nativeGetterExtensionFunJsRuntime.kt")
|
@TestMetadata("nativeGetterExtensionFunJsRuntime.kt")
|
||||||
public void testNativeGetterExtensionFunJsRuntime() throws Exception {
|
public void testNativeGetterExtensionFunJsRuntime() throws Exception {
|
||||||
runTest("idea/testData/quickfix/migration/jsExternal/nativeGetterExtensionFunJsRuntime.kt");
|
runTest("idea/testData/quickfix/migration/jsExternal/nativeGetterExtensionFunJsRuntime.kt");
|
||||||
@@ -8946,56 +8921,11 @@ public class QuickFixTestGenerated extends AbstractQuickFixTest {
|
|||||||
runTest("idea/testData/quickfix/migration/jsExternal/nativeInvokeExtensionFunJsRuntime.kt");
|
runTest("idea/testData/quickfix/migration/jsExternal/nativeInvokeExtensionFunJsRuntime.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestMetadata("nativeMemberAll01.kt")
|
|
||||||
public void testNativeMemberAll01() throws Exception {
|
|
||||||
runTest("idea/testData/quickfix/migration/jsExternal/nativeMemberAll01.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@TestMetadata("nativeMemberAll02.kt")
|
|
||||||
public void testNativeMemberAll02() throws Exception {
|
|
||||||
runTest("idea/testData/quickfix/migration/jsExternal/nativeMemberAll02.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@TestMetadata("nativeMemberAll03.kt")
|
@TestMetadata("nativeMemberAll03.kt")
|
||||||
public void testNativeMemberAll03() throws Exception {
|
public void testNativeMemberAll03() throws Exception {
|
||||||
runTest("idea/testData/quickfix/migration/jsExternal/nativeMemberAll03.kt");
|
runTest("idea/testData/quickfix/migration/jsExternal/nativeMemberAll03.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestMetadata("nativeMemberGetter.kt")
|
|
||||||
public void testNativeMemberGetter() throws Exception {
|
|
||||||
runTest("idea/testData/quickfix/migration/jsExternal/nativeMemberGetter.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@TestMetadata("nativeMemberInvoke.kt")
|
|
||||||
public void testNativeMemberInvoke() throws Exception {
|
|
||||||
runTest("idea/testData/quickfix/migration/jsExternal/nativeMemberInvoke.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@TestMetadata("nativeMemberInvokeGenericClass.kt")
|
|
||||||
public void testNativeMemberInvokeGenericClass() throws Exception {
|
|
||||||
runTest("idea/testData/quickfix/migration/jsExternal/nativeMemberInvokeGenericClass.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@TestMetadata("nativeMemberInvokeGenericClassAndFun.kt")
|
|
||||||
public void testNativeMemberInvokeGenericClassAndFun() throws Exception {
|
|
||||||
runTest("idea/testData/quickfix/migration/jsExternal/nativeMemberInvokeGenericClassAndFun.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@TestMetadata("nativeMemberInvokeGenericFun.kt")
|
|
||||||
public void testNativeMemberInvokeGenericFun() throws Exception {
|
|
||||||
runTest("idea/testData/quickfix/migration/jsExternal/nativeMemberInvokeGenericFun.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@TestMetadata("nativeMemberNative.kt")
|
|
||||||
public void testNativeMemberNative() throws Exception {
|
|
||||||
runTest("idea/testData/quickfix/migration/jsExternal/nativeMemberNative.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@TestMetadata("nativeMemberSetter.kt")
|
|
||||||
public void testNativeMemberSetter() throws Exception {
|
|
||||||
runTest("idea/testData/quickfix/migration/jsExternal/nativeMemberSetter.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@TestMetadata("nativeSetterExtensionFunJsRuntime.kt")
|
@TestMetadata("nativeSetterExtensionFunJsRuntime.kt")
|
||||||
public void testNativeSetterExtensionFunJsRuntime() throws Exception {
|
public void testNativeSetterExtensionFunJsRuntime() throws Exception {
|
||||||
runTest("idea/testData/quickfix/migration/jsExternal/nativeSetterExtensionFunJsRuntime.kt");
|
runTest("idea/testData/quickfix/migration/jsExternal/nativeSetterExtensionFunJsRuntime.kt");
|
||||||
|
|||||||
Reference in New Issue
Block a user