aboutsummaryrefslogtreecommitdiff
path: root/core/src/test/kotlin/model/PropertyTest.kt
diff options
context:
space:
mode:
authorSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2017-02-16 21:28:16 +0300
committerDmitry Jemerov <yole@jetbrains.com>2017-02-23 11:20:13 +0100
commit7fa258873eab770577879e9721c0864449ba1114 (patch)
treefefbab3c102c00aa412dff4341c8160714f0c309 /core/src/test/kotlin/model/PropertyTest.kt
parent2bd8bdf9dc0a8e48ce558b2eed0c8e8fd4883902 (diff)
downloaddokka-7fa258873eab770577879e9721c0864449ba1114.tar.gz
dokka-7fa258873eab770577879e9721c0864449ba1114.tar.bz2
dokka-7fa258873eab770577879e9721c0864449ba1114.zip
Dokka now can detect and recognize SinceKotlin
Diffstat (limited to 'core/src/test/kotlin/model/PropertyTest.kt')
-rw-r--r--core/src/test/kotlin/model/PropertyTest.kt11
1 files changed, 10 insertions, 1 deletions
diff --git a/core/src/test/kotlin/model/PropertyTest.kt b/core/src/test/kotlin/model/PropertyTest.kt
index cdf44c03..1dbb102a 100644
--- a/core/src/test/kotlin/model/PropertyTest.kt
+++ b/core/src/test/kotlin/model/PropertyTest.kt
@@ -6,8 +6,9 @@ import org.jetbrains.dokka.RefKind
import org.junit.Test
import org.junit.Assert.assertEquals
import org.junit.Assert.assertTrue
+import kotlin.test.assertNotNull
-public class PropertyTest {
+class PropertyTest {
@Test fun valueProperty() {
verifyModel("testdata/properties/valueProperty.kt") { model ->
with(model.members.single().members.single()) {
@@ -100,4 +101,12 @@ public class PropertyTest {
}
}
}
+
+ @Test fun sinceKotlin() {
+ verifyModel("testdata/properties/sinceKotlin.kt") { model ->
+ with(model.members.single().members.single()) {
+ assertNotNull(sinceKotlin)
+ }
+ }
+ }
}