diff options
author | aleksZubakov <aleks.zubakov@gmail.com> | 2018-07-12 15:37:18 +0300 |
---|---|---|
committer | aleksZubakov <aleks.zubakov@gmail.com> | 2018-07-12 15:37:18 +0300 |
commit | 960ea9ebb01f280c4966e139c1697f083e9d8965 (patch) | |
tree | 05bb14e7faf1b74a0abf89f69a73023b4373eefd /core/src/test/kotlin/model/LinkTest.kt | |
parent | 65b61e31b761071589e257381bea33557d932412 (diff) | |
download | dokka-960ea9ebb01f280c4966e139c1697f083e9d8965.tar.gz dokka-960ea9ebb01f280c4966e139c1697f083e9d8965.tar.bz2 dokka-960ea9ebb01f280c4966e139c1697f083e9d8965.zip |
Test refactoring and split by different platforms
Diffstat (limited to 'core/src/test/kotlin/model/LinkTest.kt')
-rw-r--r-- | core/src/test/kotlin/model/LinkTest.kt | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/core/src/test/kotlin/model/LinkTest.kt b/core/src/test/kotlin/model/LinkTest.kt index 6b72525f..d7283bae 100644 --- a/core/src/test/kotlin/model/LinkTest.kt +++ b/core/src/test/kotlin/model/LinkTest.kt @@ -8,7 +8,7 @@ import org.junit.Test class LinkTest { @Test fun linkToSelf() { - verifyModel("testdata/links/linkToSelf.kt") { model -> + checkSourceExistsAndVerifyModel("testdata/links/linkToSelf.kt") { model -> with(model.members.single().members.single()) { assertEquals("Foo", name) assertEquals(NodeKind.Class, kind) @@ -18,7 +18,7 @@ class LinkTest { } @Test fun linkToMember() { - verifyModel("testdata/links/linkToMember.kt") { model -> + checkSourceExistsAndVerifyModel("testdata/links/linkToMember.kt") { model -> with(model.members.single().members.single()) { assertEquals("Foo", name) assertEquals(NodeKind.Class, kind) @@ -28,7 +28,7 @@ class LinkTest { } @Test fun linkToConstantWithUnderscores() { - verifyModel("testdata/links/linkToConstantWithUnderscores.kt") { model -> + checkSourceExistsAndVerifyModel("testdata/links/linkToConstantWithUnderscores.kt") { model -> with(model.members.single().members.single()) { assertEquals("Foo", name) assertEquals(NodeKind.Class, kind) @@ -38,7 +38,7 @@ class LinkTest { } @Test fun linkToQualifiedMember() { - verifyModel("testdata/links/linkToQualifiedMember.kt") { model -> + checkSourceExistsAndVerifyModel("testdata/links/linkToQualifiedMember.kt") { model -> with(model.members.single().members.single()) { assertEquals("Foo", name) assertEquals(NodeKind.Class, kind) @@ -48,7 +48,7 @@ class LinkTest { } @Test fun linkToParam() { - verifyModel("testdata/links/linkToParam.kt") { model -> + checkSourceExistsAndVerifyModel("testdata/links/linkToParam.kt") { model -> with(model.members.single().members.single()) { assertEquals("Foo", name) assertEquals(NodeKind.Function, kind) @@ -58,7 +58,7 @@ class LinkTest { } @Test fun linkToPackage() { - verifyModel("testdata/links/linkToPackage.kt") { model -> + checkSourceExistsAndVerifyModel("testdata/links/linkToPackage.kt") { model -> val packageNode = model.members.single() with(packageNode) { assertEquals(this.name, "test.magic") |