Add 'asSequence' operation support

This commit is contained in:
Vitaliy.Bibaev
2017-12-22 15:15:11 +03:00
committed by Yan Zhulanow
parent 64dec10bd5
commit bde34b45e7
5 changed files with 43 additions and 3 deletions
@@ -25,4 +25,6 @@ class MiscOperationsTest : OperationsTestCase("misc") {
fun testWindowedWithPartial() = doTestWithResult()
fun testWindowedWithBigStep() = doTestWithResult()
fun testWindowedWithStep() = doTestWithResult()
fun testAsSequence() = doTestWithResult()
}
@@ -9,8 +9,8 @@ abstract class OperationsTestCase(private val packageName: String) : KotlinTrace
override val appName: String = "sequence"
override val librarySupport: LibrarySupportProvider = KotlinSequenceSupportProvider()
fun doTestWithResult() = doTest(false, fullyQualifiedClassName())
fun doTestWithoutResult() = doTest(true, fullyQualifiedClassName())
protected fun doTestWithResult() = doTest(false, fullyQualifiedClassName())
protected fun doTestWithoutResult() = doTest(true, fullyQualifiedClassName())
private fun fullyQualifiedClassName() = "$packageName.${getTestName(false)}"
}