Add ability to specify a custom way to create peek call

This commit is contained in:
Vitaliy.Bibaev
2017-10-27 15:58:16 +03:00
committed by Yan Zhulanow
parent 5ab76d1eed
commit 12fe36b77f
10 changed files with 113 additions and 8 deletions
@@ -1,6 +1,7 @@
// Copyright 2000-2017 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.debugger.streams.kotlin.dsl
import com.intellij.debugger.streams.kotlin.trace.dsl.KotlinCollectionsPeekCallFactory
import com.intellij.debugger.streams.kotlin.trace.dsl.KotlinStatementFactory
import com.intellij.debugger.streams.test.DslTestCase
import com.intellij.debugger.streams.trace.dsl.impl.DslImpl
@@ -8,7 +9,7 @@ import com.intellij.debugger.streams.trace.dsl.impl.DslImpl
/**
* @author Vitaliy.Bibaev
*/
class KotlinDslTest : DslTestCase(DslImpl(KotlinStatementFactory())) {
class KotlinDslTest : DslTestCase(DslImpl(KotlinStatementFactory(KotlinCollectionsPeekCallFactory()))) {
override fun getTestDataPath(): String {
return "testData/dsl"
}