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:36:23 +03:00
parent fe3c1aff8b
commit 622430a296
15 changed files with 472 additions and 670 deletions
@@ -0,0 +1,9 @@
LineBreakpoint created at anonymousFunAsParamDefaultValue.kt:6
LineBreakpoint created at anonymousFunAsParamDefaultValue.kt:10
Run Java
Connected to the target VM
anonymousFunAsParamDefaultValue.kt:6
anonymousFunAsParamDefaultValue.kt:10
Disconnected from the target VM
Process finished with exit code 0
+1 -1
View File
@@ -3,8 +3,8 @@ Run Java
Connected to the target VM
functionReference.kt:11
functionReference.kt:4
functionReference.kt:7
functionReference.kt:11
functionReference.kt:7
functionReference.kt:4
functionReference.kt:5
functionReference.kt:12
+7
View File
@@ -0,0 +1,7 @@
LineBreakpoint created at kt15823.kt:13
Run Java
Connected to the target VM
kt15823.kt:13
Disconnected from the target VM
Process finished with exit code 0
+7
View File
@@ -0,0 +1,7 @@
LineBreakpoint created at kt17295.kt:9
Run Java
Connected to the target VM
kt17295.kt:9
Disconnected from the target VM
Process finished with exit code 0
+1 -1
View File
@@ -3,8 +3,8 @@ Run Java
Connected to the target VM
propertyReference.kt:11
propertyReference.kt:4
propertyReference.kt:7
propertyReference.kt:11
propertyReference.kt:7
propertyReference.kt:4
propertyReference.kt:5
propertyReference.kt:12