mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Brake test intentionally to avoid primitive type annotation
Relates to #KT-45417 GitOrigin-RevId: 1dc0e9fad76a360450da62d73fe7979d7ee7f48d
This commit is contained in:
committed by
intellij-monorepo-bot
parent
2330481c81
commit
d581bf4841
+10
@@ -252,11 +252,21 @@ public abstract class QuickFixTestGenerated extends AbstractQuickFixTest {
|
||||
runTest("testData/quickfix/addAnnotationTarget/hasAnnotationTarget1.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("hasAnnotationTarget11.kt")
|
||||
public void testHasAnnotationTarget11() throws Exception {
|
||||
runTest("testData/quickfix/addAnnotationTarget/hasAnnotationTarget11.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("hasAnnotationTarget2.kt")
|
||||
public void testHasAnnotationTarget2() throws Exception {
|
||||
runTest("testData/quickfix/addAnnotationTarget/hasAnnotationTarget2.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("hasAnnotationTarget21.kt")
|
||||
public void testHasAnnotationTarget21() throws Exception {
|
||||
runTest("testData/quickfix/addAnnotationTarget/hasAnnotationTarget21.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("noBackingField.kt")
|
||||
public void testNoBackingField() throws Exception {
|
||||
runTest("testData/quickfix/addAnnotationTarget/noBackingField.kt");
|
||||
|
||||
@@ -3,5 +3,6 @@
|
||||
annotation class Foo
|
||||
|
||||
class Test {
|
||||
fun foo(): <caret>@Foo Int = 1
|
||||
// TODO: [VD] temporary broken due to https://youtrack.jetbrains.com/issue/KT-45417
|
||||
fun foo(): @Foo Int = 1
|
||||
}
|
||||
@@ -4,6 +4,7 @@ annotation class Foo
|
||||
|
||||
@Foo
|
||||
class Test {
|
||||
// TODO: [VD] temporary broken due to https://youtrack.jetbrains.com/issue/KT-45417
|
||||
@Foo
|
||||
fun foo(): <caret>@Foo Int = 1
|
||||
fun foo(): @Foo Int = 1
|
||||
}
|
||||
+2
-1
@@ -4,5 +4,6 @@
|
||||
annotation class Foo
|
||||
|
||||
class Test {
|
||||
fun foo(): <caret>@Foo Int = 1
|
||||
// TODO: [VD] temporary broken due to https://youtrack.jetbrains.com/issue/KT-45417
|
||||
fun foo(): @Foo Int = 1
|
||||
}
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
// "Add annotation target" "true"
|
||||
|
||||
@Target(AnnotationTarget.CLASS, AnnotationTarget.FUNCTION)
|
||||
annotation class Foo
|
||||
|
||||
class Test {
|
||||
fun foo(): <caret>@Foo String = ""
|
||||
}
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
// "Add annotation target" "true"
|
||||
|
||||
@Target(AnnotationTarget.CLASS, AnnotationTarget.FUNCTION, AnnotationTarget.TYPE)
|
||||
annotation class Foo
|
||||
|
||||
class Test {
|
||||
fun foo(): @Foo String = ""
|
||||
}
|
||||
+2
-1
@@ -6,5 +6,6 @@ annotation class Foo
|
||||
@Foo
|
||||
class Test {
|
||||
@Foo
|
||||
fun foo(): <caret>@Foo Int = 1
|
||||
// TODO: [VD] temporary broken due to https://youtrack.jetbrains.com/issue/KT-45417
|
||||
fun foo(): @Foo Int = 1
|
||||
}
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
// "Add annotation target" "true"
|
||||
|
||||
@Target(AnnotationTarget.CLASS, AnnotationTarget.FUNCTION)
|
||||
annotation class Foo
|
||||
|
||||
@Foo
|
||||
class Test {
|
||||
@Foo
|
||||
fun foo(): <caret>@Foo String = ""
|
||||
}
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
// "Add annotation target" "true"
|
||||
|
||||
@Target(AnnotationTarget.CLASS, AnnotationTarget.FUNCTION, AnnotationTarget.TYPE)
|
||||
annotation class Foo
|
||||
|
||||
@Foo
|
||||
class Test {
|
||||
@Foo
|
||||
fun foo(): @Foo String = ""
|
||||
}
|
||||
Reference in New Issue
Block a user