aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/src/test/kotlin/model/ClassesTest.kt
diff options
context:
space:
mode:
authorSzymon Świstun <sswistun@virtuslab.com>2020-03-02 11:07:47 +0100
committerKamil Doległo <kamilok1965@interia.pl>2020-03-04 13:19:17 +0100
commit9b7a59cdc93a6dcd9ab0623f6f476abf92d9427d (patch)
tree4c6c0f730c6480f824d6e92949c77940929241a1 /plugins/base/src/test/kotlin/model/ClassesTest.kt
parentac590359174995a16a116a96dbb9df5dafa042f5 (diff)
downloaddokka-9b7a59cdc93a6dcd9ab0623f6f476abf92d9427d.tar.gz
dokka-9b7a59cdc93a6dcd9ab0623f6f476abf92d9427d.tar.bz2
dokka-9b7a59cdc93a6dcd9ab0623f6f476abf92d9427d.zip
Add information about modifiers to Documentables' extra properties
Diffstat (limited to 'plugins/base/src/test/kotlin/model/ClassesTest.kt')
-rw-r--r--plugins/base/src/test/kotlin/model/ClassesTest.kt4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/base/src/test/kotlin/model/ClassesTest.kt b/plugins/base/src/test/kotlin/model/ClassesTest.kt
index 2332df61..18288442 100644
--- a/plugins/base/src/test/kotlin/model/ClassesTest.kt
+++ b/plugins/base/src/test/kotlin/model/ClassesTest.kt
@@ -151,7 +151,9 @@ class ClassesTest : AbstractModelTest("/src/main/kotlin/classes/Test.kt", "class
with((this / "classes" / "Klass").cast<Class>()) {
name equals "Klass"
visibility.values allEquals Visibilities.PUBLIC
- // TODO data modifier
+ with(extra[AdditionalModifiers.AdditionalKey].assertNotNull("Extras")) {
+ content.find{it == ExtraModifiers.DATA}.assertNotNull("data modifier")
+ }
}
}
}