aboutsummaryrefslogtreecommitdiff
path: root/core/src/test/kotlin/model/ClassTest.kt
diff options
context:
space:
mode:
authorDmitry Jemerov <yole@jetbrains.com>2017-02-23 11:18:44 +0100
committerDmitry Jemerov <yole@jetbrains.com>2017-02-23 12:02:23 +0100
commit1270519a551cd30e452d282247d2d963bc9c25ca (patch)
treea42a39450ac361a25e7e1f901fda1132a428a382 /core/src/test/kotlin/model/ClassTest.kt
parent7fa258873eab770577879e9721c0864449ba1114 (diff)
downloaddokka-1270519a551cd30e452d282247d2d963bc9c25ca.tar.gz
dokka-1270519a551cd30e452d282247d2d963bc9c25ca.tar.bz2
dokka-1270519a551cd30e452d282247d2d963bc9c25ca.zip
Refactor SinceKotlin support to a more general "platform" mechanism
Diffstat (limited to 'core/src/test/kotlin/model/ClassTest.kt')
-rw-r--r--core/src/test/kotlin/model/ClassTest.kt5
1 files changed, 2 insertions, 3 deletions
diff --git a/core/src/test/kotlin/model/ClassTest.kt b/core/src/test/kotlin/model/ClassTest.kt
index b6ac7126..fb225728 100644
--- a/core/src/test/kotlin/model/ClassTest.kt
+++ b/core/src/test/kotlin/model/ClassTest.kt
@@ -3,10 +3,9 @@ package org.jetbrains.dokka.tests
import org.jetbrains.dokka.Content
import org.jetbrains.dokka.NodeKind
import org.jetbrains.dokka.RefKind
-import org.junit.Test
import org.junit.Assert.assertEquals
import org.junit.Assert.assertTrue
-import kotlin.test.assertNotNull
+import org.junit.Test
class ClassTest {
@Test fun emptyClass() {
@@ -277,7 +276,7 @@ class ClassTest {
@Test fun sinceKotlin() {
verifyModel("testdata/classes/sinceKotlin.kt") { model ->
with(model.members.single().members.single()) {
- assertNotNull(sinceKotlin)
+ assertEquals(listOf("Kotlin 1.1"), platforms)
}
}
}