aboutsummaryrefslogtreecommitdiff
path: root/integration-tests/cli/projects
diff options
context:
space:
mode:
authorIgnat Beresnev <ignat.beresnev@jetbrains.com>2023-11-10 11:46:54 +0100
committerGitHub <noreply@github.com>2023-11-10 11:46:54 +0100
commit8e5c63d035ef44a269b8c43430f43f5c8eebfb63 (patch)
tree1b915207b2b9f61951ddbf0ff2e687efd053d555 /integration-tests/cli/projects
parenta44efd4ba0c2e4ab921ff75e0f53fc9335aa79db (diff)
downloaddokka-8e5c63d035ef44a269b8c43430f43f5c8eebfb63.tar.gz
dokka-8e5c63d035ef44a269b8c43430f43f5c8eebfb63.tar.bz2
dokka-8e5c63d035ef44a269b8c43430f43f5c8eebfb63.zip
Restructure the project to utilize included builds (#3174)
* Refactor and simplify artifact publishing * Update Gradle to 8.4 * Refactor and simplify convention plugins and build scripts Fixes #3132 --------- Co-authored-by: Adam <897017+aSemy@users.noreply.github.com> Co-authored-by: Oleg Yukhnevich <whyoleg@gmail.com>
Diffstat (limited to 'integration-tests/cli/projects')
-rw-r--r--integration-tests/cli/projects/it-cli/src/main/java/it/basic/java/SampleJavaClass.java17
-rw-r--r--integration-tests/cli/projects/it-cli/src/main/kotlin/it/basic/EmptyPackage.kt1
-rw-r--r--integration-tests/cli/projects/it-cli/src/main/kotlin/it/basic/PublicClass.kt57
-rw-r--r--integration-tests/cli/projects/it-cli/src/main/kotlin/it/internal/InternalClass.kt7
-rw-r--r--integration-tests/cli/projects/it-cli/src/main/kotlin/it/overriddenVisibility/VisiblePrivateClass.kt12
-rw-r--r--integration-tests/cli/projects/it-cli/src/main/kotlin/it/protected/ProtectedClass.kt10
6 files changed, 0 insertions, 104 deletions
diff --git a/integration-tests/cli/projects/it-cli/src/main/java/it/basic/java/SampleJavaClass.java b/integration-tests/cli/projects/it-cli/src/main/java/it/basic/java/SampleJavaClass.java
deleted file mode 100644
index 23b0202c..00000000
--- a/integration-tests/cli/projects/it-cli/src/main/java/it/basic/java/SampleJavaClass.java
+++ /dev/null
@@ -1,17 +0,0 @@
-package it.basic.java;
-
-import it.basic.PublicClass;
-
-/**
- * This class is, unlike {@link PublicClass}, written in Java
- */
-@SuppressWarnings("unused")
-public class SampleJavaClass {
-
- /**
- * @return Empty instance of {@link PublicClass}
- */
- public PublicClass publicDocumentedFunction() {
- return new PublicClass();
- }
-}
diff --git a/integration-tests/cli/projects/it-cli/src/main/kotlin/it/basic/EmptyPackage.kt b/integration-tests/cli/projects/it-cli/src/main/kotlin/it/basic/EmptyPackage.kt
deleted file mode 100644
index 50f02c00..00000000
--- a/integration-tests/cli/projects/it-cli/src/main/kotlin/it/basic/EmptyPackage.kt
+++ /dev/null
@@ -1 +0,0 @@
-package emptypackagetest \ No newline at end of file
diff --git a/integration-tests/cli/projects/it-cli/src/main/kotlin/it/basic/PublicClass.kt b/integration-tests/cli/projects/it-cli/src/main/kotlin/it/basic/PublicClass.kt
deleted file mode 100644
index d7a72392..00000000
--- a/integration-tests/cli/projects/it-cli/src/main/kotlin/it/basic/PublicClass.kt
+++ /dev/null
@@ -1,57 +0,0 @@
-@file:Suppress("unused")
-
-package it.basic
-
-/**
- * §PUBLIC§ (marker for asserts)
- */
-class PublicClass {
- /**
- * This function is public and documented
- */
- fun publicDocumentedFunction(): String = ""
-
- fun publicUndocumentedFunction(): String = ""
-
- /**
- * This function is internal and documented
- */
- internal fun internalDocumentedFunction(): String = ""
-
- internal fun internalUndocumentedFunction(): String = ""
-
- /**
- * This function is private and documented
- */
- private fun privateDocumentedFunction(): String = ""
-
- private fun privateUndocumentedFunction(): String = ""
-
- /**
- * This function is protected and documented
- */
- protected fun protectedDocumentedFunction(): String = ""
-
- protected fun protectedUndocumentedFunction(): String = ""
-
- /**
- * This property is public and documented
- */
- val publicDocumentedProperty: Int = 0
-
- val publicUndocumentedProperty: Int = 0
-
- /**
- * This property internal and documented
- */
- val internalDocumentedProperty: Int = 0
-
- val internalUndocumentedProperty: Int = 0
-
- /**
- * This property private and documented
- */
- private val privateDocumentedProperty: Int = 0
-
- private val privateUndocumentedProperty: Int = 0
-}
diff --git a/integration-tests/cli/projects/it-cli/src/main/kotlin/it/internal/InternalClass.kt b/integration-tests/cli/projects/it-cli/src/main/kotlin/it/internal/InternalClass.kt
deleted file mode 100644
index f5be5406..00000000
--- a/integration-tests/cli/projects/it-cli/src/main/kotlin/it/internal/InternalClass.kt
+++ /dev/null
@@ -1,7 +0,0 @@
-package it.internal
-
-/**
- * §INTERNAL§ (marker for asserts)
- * This class is internal and should not be rendered
- */
-internal class InternalClass \ No newline at end of file
diff --git a/integration-tests/cli/projects/it-cli/src/main/kotlin/it/overriddenVisibility/VisiblePrivateClass.kt b/integration-tests/cli/projects/it-cli/src/main/kotlin/it/overriddenVisibility/VisiblePrivateClass.kt
deleted file mode 100644
index 230f5e0b..00000000
--- a/integration-tests/cli/projects/it-cli/src/main/kotlin/it/overriddenVisibility/VisiblePrivateClass.kt
+++ /dev/null
@@ -1,12 +0,0 @@
-package it.overriddenVisibility
-
-/**
- * Private classes and methods generally should not be visible, but [documentedVisibilities]
- * are overriden for this specific package to include private code
- *
- * §PRIVATE§ (marker for asserts)
- */
-private class VisiblePrivateClass {
- private val privateVal: Int = 0
- private fun privateMethod() {}
-} \ No newline at end of file
diff --git a/integration-tests/cli/projects/it-cli/src/main/kotlin/it/protected/ProtectedClass.kt b/integration-tests/cli/projects/it-cli/src/main/kotlin/it/protected/ProtectedClass.kt
deleted file mode 100644
index ad19f1a1..00000000
--- a/integration-tests/cli/projects/it-cli/src/main/kotlin/it/protected/ProtectedClass.kt
+++ /dev/null
@@ -1,10 +0,0 @@
-package it.protected
-
-/**
- * Protected class should be visible because it's included in documentedVisibilities
- *
- * §PROTECTED§ (marker for asserts)
- */
-protected class ProtectedClass {
- protected fun protectedFun(): String = "protected"
-}