[tests] Refactor AbstractReferenceResolveTest. Part 1
Instead of relying on UNRESOLVED_REFERENCE directive for the whole file, just render the unresolved reference right in the .txt testdata This will allow to introduce multi-caret resolve testdata more naturally Required for KT-65152 and KT-62695
This commit is contained in:
committed by
Space Team
parent
c958aef679
commit
304112cd8a
-1
@@ -1,7 +1,6 @@
|
||||
// WITH_RESOLVE_EXTENSION
|
||||
// RESOLVE_EXTENSION_PACKAGE: generated
|
||||
// RESOLVE_EXTENSION_SHADOWED: \.hidden\.kt$
|
||||
// UNRESOLVED_REFERENCE
|
||||
|
||||
// FILE: declarations.hidden.kt
|
||||
package foo
|
||||
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
Resolved to:
|
||||
Nothing (Unresolved reference)
|
||||
Vendored
-1
@@ -1,7 +1,6 @@
|
||||
// WITH_RESOLVE_EXTENSION
|
||||
// RESOLVE_EXTENSION_PACKAGE: generated
|
||||
// RESOLVE_EXTENSION_SHADOWED: \.hidden\.[a-z]+$
|
||||
// UNRESOLVED_REFERENCE
|
||||
|
||||
// FILE: TestClass.hidden.java
|
||||
package foo;
|
||||
|
||||
Vendored
+2
@@ -0,0 +1,2 @@
|
||||
Resolved to:
|
||||
Nothing (Unresolved reference)
|
||||
Reference in New Issue
Block a user