Debugger: Fix AbstractPositionManagerTest

MockReferenceType can't be used anymore because the new DebuggerClassNameProvider requires much more from it.
The new SmartMockReferenceType implements methods such as nestedTypes() or allLineLocations() properly.

Also, as PositionManager can return more than one class, we should check if any of the classes it returned matches the pattern.
This commit is contained in:
Yan Zhulanow
2017-04-10 22:34:50 +03:00
parent 622430a296
commit cb9e90183a
10 changed files with 303 additions and 283 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ package test
fun foo(): String {
fun bar(): String {
return "" // test/LocalFunctionKt\$foo\$1
return "" // test.LocalFunctionKt\$foo\$1
}
return bar()
}