diff options
author | Kamil Doległo <kamilok1965@interia.pl> | 2019-10-03 21:28:00 +0200 |
---|---|---|
committer | Kamil Doległo <kamilok1965@interia.pl> | 2019-10-03 21:28:00 +0200 |
commit | a28db3c1a618ce4b413c7315e8b0a9f43b6ade4a (patch) | |
tree | 62c015f316a4ef61df22cee82e88a37941617c5f | |
parent | 60053306d59e844717999c7843206c744505e272 (diff) | |
download | dokka-a28db3c1a618ce4b413c7315e8b0a9f43b6ade4a.tar.gz dokka-a28db3c1a618ce4b413c7315e8b0a9f43b6ade4a.tar.bz2 dokka-a28db3c1a618ce4b413c7315e8b0a9f43b6ade4a.zip |
Fix the tests
-rw-r--r-- | core/src/test/kotlin/model/PackageTest.kt | 10 | ||||
-rw-r--r-- | runners/gradle-integration-tests/testData/multiplatformProject/fileTree.txt | 1 |
2 files changed, 2 insertions, 9 deletions
diff --git a/core/src/test/kotlin/model/PackageTest.kt b/core/src/test/kotlin/model/PackageTest.kt index e20e6afa..47c88385 100644 --- a/core/src/test/kotlin/model/PackageTest.kt +++ b/core/src/test/kotlin/model/PackageTest.kt @@ -126,15 +126,7 @@ abstract class BasePackageTest(val analysisPlatform: Platform) { analysisPlatform = analysisPlatform ) ) { model -> - assertEquals(1, model.members.count()) - with(model.members.elementAt(0)) { - assertEquals(NodeKind.Package, kind) - assertEquals("simple.name", name) - assertEquals(Content.Empty, content) - assertTrue(details.none()) - assertTrue(members.none()) - assertTrue(links.none()) - } + assertEquals(0, model.members.count()) } } } diff --git a/runners/gradle-integration-tests/testData/multiplatformProject/fileTree.txt b/runners/gradle-integration-tests/testData/multiplatformProject/fileTree.txt index 51a5df94..e9cc847c 100644 --- a/runners/gradle-integration-tests/testData/multiplatformProject/fileTree.txt +++ b/runners/gradle-integration-tests/testData/multiplatformProject/fileTree.txt @@ -11,6 +11,7 @@ jvm.html kotlin.-string/ index.html + my-extension.html main.html shared.html package-list |