diff options
author | Ignat Beresnev <ignat.beresnev@jetbrains.com> | 2023-02-09 03:15:52 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-09 03:15:52 +0100 |
commit | 7546efb83afa39770be5c7b9df72edc115e59a5b (patch) | |
tree | 0066c2b9e833e7dd7fd8cfafc3a1d05d15f40000 /plugins/base/src/test/kotlin | |
parent | 683f6bb418bada9c90d2ffbd5040b3968e1c3522 (diff) | |
download | dokka-7546efb83afa39770be5c7b9df72edc115e59a5b.tar.gz dokka-7546efb83afa39770be5c7b9df72edc115e59a5b.tar.bz2 dokka-7546efb83afa39770be5c7b9df72edc115e59a5b.zip |
Remove old test data (#2824)
Diffstat (limited to 'plugins/base/src/test/kotlin')
-rw-r--r-- | plugins/base/src/test/kotlin/issues/IssuesTest.kt | 18 | ||||
-rw-r--r-- | plugins/base/src/test/kotlin/model/PackagesTest.kt | 15 | ||||
-rw-r--r-- | plugins/base/src/test/kotlin/model/PropertyTest.kt | 21 |
3 files changed, 0 insertions, 54 deletions
diff --git a/plugins/base/src/test/kotlin/issues/IssuesTest.kt b/plugins/base/src/test/kotlin/issues/IssuesTest.kt index 7b065349..67aa3a1e 100644 --- a/plugins/base/src/test/kotlin/issues/IssuesTest.kt +++ b/plugins/base/src/test/kotlin/issues/IssuesTest.kt @@ -52,22 +52,4 @@ class IssuesTest : AbstractModelTest("/src/main/kotlin/issues/Test.kt", "issues" } } } - - //@Test - // fun errorClasses() { - // checkSourceExistsAndVerifyModel("testdata/issues/errorClasses.kt", - // modelConfig = ModelConfig(analysisPlatform = analysisPlatform, withJdk = true, withKotlinRuntime = true)) { model -> - // val cls = model.members.single().members.single() - // - // fun DocumentationNode.returnType() = this.details.find { it.kind == NodeKind.Type }?.name - // assertEquals("Test", cls.members[1].returnType()) - // assertEquals("Test", cls.members[2].returnType()) - // assertEquals("Test", cls.members[3].returnType()) - // assertEquals("List", cls.members[4].returnType()) - // assertEquals("String", cls.members[5].returnType()) - // assertEquals("String", cls.members[6].returnType()) - // assertEquals("String", cls.members[7].returnType()) - // } - // } - } diff --git a/plugins/base/src/test/kotlin/model/PackagesTest.kt b/plugins/base/src/test/kotlin/model/PackagesTest.kt index 3deb95e9..b9e7051d 100644 --- a/plugins/base/src/test/kotlin/model/PackagesTest.kt +++ b/plugins/base/src/test/kotlin/model/PackagesTest.kt @@ -116,19 +116,4 @@ class PackagesTest : AbstractModelTest("/src/main/kotlin/packages/Test.kt", "pac } } } - - // todo -// @Test fun suppressAtPackageLevel() { -// verifyModel( -// ModelConfig( -// roots = arrayOf(KotlinSourceRoot("testdata/packages/classInPackage.kt", false)), -// perPackageOptions = listOf( -// PackageOptionsImpl(prefix = "simple.name", suppress = true) -// ), -// analysisPlatform = analysisPlatform -// ) -// ) { model -> -// assertEquals(0, model.members.count()) -// } -// } } diff --git a/plugins/base/src/test/kotlin/model/PropertyTest.kt b/plugins/base/src/test/kotlin/model/PropertyTest.kt index dc35d621..1047d6cf 100644 --- a/plugins/base/src/test/kotlin/model/PropertyTest.kt +++ b/plugins/base/src/test/kotlin/model/PropertyTest.kt @@ -273,25 +273,4 @@ class PropertyTest : AbstractModelTest("/src/main/kotlin/property/Test.kt", "pro } } } -// @Test -// fun annotatedProperty() { -// checkSourceExistsAndVerifyModel( -// "testdata/properties/annotatedProperty.kt", -// modelConfig = ModelConfig( -// analysisPlatform = analysisPlatform, -// withKotlinRuntime = true -// ) -// ) { model -> -// with(model.members.single().members.single()) { -// Assert.assertEquals(1, annotations.count()) -// with(annotations[0]) { -// Assert.assertEquals("Strictfp", name) -// Assert.assertEquals(Content.Empty, content) -// Assert.assertEquals(NodeKind.Annotation, kind) -// } -// } -// } -// } -// -//} } |