Update stepping tests to inspect source name, instead of method info.

This commit is contained in:
Jinseong Jeon
2020-03-13 14:55:01 -07:00
committed by max-kammerer
parent 5dc1651a44
commit b71b0fa32c
13 changed files with 125 additions and 124 deletions
@@ -56,7 +56,8 @@ abstract class AbstractSteppingTest : AbstractDebugTest() {
.joinToString("\n")
val actualLineNumbers = loggedItems
.map { event ->
"${(event as LocatableEvent).location().method()}:${event.location().lineNumber()}"
val location = (event as LocatableEvent).location()
"${location.sourceName()}:${location.lineNumber()}"
}
TestCase.assertEquals(expectedLineNumbers, actualLineNumbers.joinToString("\n"))
}