Fix compilation AbstractKotlinEvaluateExpressionTest
This commit is contained in:
committed by
Nikolay Krasko
parent
282da4cab5
commit
83a8395287
+2
-2
@@ -197,7 +197,7 @@ abstract class AbstractKotlinEvaluateExpressionTest : KotlinDebuggerTestBase() {
|
|||||||
val session = myDebuggerSession.xDebugSession as XDebugSessionImpl
|
val session = myDebuggerSession.xDebugSession as XDebugSessionImpl
|
||||||
val watchesView = XWatchesViewImpl(session, false)
|
val watchesView = XWatchesViewImpl(session, false)
|
||||||
Disposer.register(testRootDisposable, watchesView)
|
Disposer.register(testRootDisposable, watchesView)
|
||||||
session.addSessionListener(XDebugViewSessionListener(watchesView, session), testRootDisposable)
|
XDebugViewSessionListener.attach(watchesView, session)
|
||||||
return watchesView
|
return watchesView
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -205,7 +205,7 @@ abstract class AbstractKotlinEvaluateExpressionTest : KotlinDebuggerTestBase() {
|
|||||||
val session = myDebuggerSession.xDebugSession as XDebugSessionImpl
|
val session = myDebuggerSession.xDebugSession as XDebugSessionImpl
|
||||||
val variablesView = XVariablesView(session)
|
val variablesView = XVariablesView(session)
|
||||||
Disposer.register(testRootDisposable, variablesView)
|
Disposer.register(testRootDisposable, variablesView)
|
||||||
session.addSessionListener(XDebugViewSessionListener(variablesView, session), testRootDisposable)
|
XDebugViewSessionListener.attach(variablesView, session)
|
||||||
return variablesView
|
return variablesView
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user