aboutsummaryrefslogtreecommitdiff
path: root/test/data
diff options
context:
space:
mode:
authorIlya Ryzhenkov <orangy@jetbrains.com>2014-07-11 19:37:02 +0400
committerIlya Ryzhenkov <orangy@jetbrains.com>2014-07-11 19:37:02 +0400
commit451b678c6bdff8b8242f299c600d100929a5171f (patch)
tree3c3352b54dcaf332c06aedcdbb11fb6ce0ac868e /test/data
parent73316ee2806eeb5144a43d170a0157ba7164a959 (diff)
downloaddokka-451b678c6bdff8b8242f299c600d100929a5171f.tar.gz
dokka-451b678c6bdff8b8242f299c600d100929a5171f.tar.bz2
dokka-451b678c6bdff8b8242f299c600d100929a5171f.zip
Add processing of classes into model.
Diffstat (limited to 'test/data')
-rw-r--r--test/data/classes/classWithConstructor.kt1
-rw-r--r--test/data/classes/classWithFunction.kt4
-rw-r--r--test/data/classes/emptyClass.kt3
-rw-r--r--test/data/functions/function.kt3
-rw-r--r--test/data/functions/functionWithParams.kt3
5 files changed, 12 insertions, 2 deletions
diff --git a/test/data/classes/classWithConstructor.kt b/test/data/classes/classWithConstructor.kt
new file mode 100644
index 00000000..0751d570
--- /dev/null
+++ b/test/data/classes/classWithConstructor.kt
@@ -0,0 +1 @@
+class Klass(name: String) \ No newline at end of file
diff --git a/test/data/classes/classWithFunction.kt b/test/data/classes/classWithFunction.kt
new file mode 100644
index 00000000..a981cfb6
--- /dev/null
+++ b/test/data/classes/classWithFunction.kt
@@ -0,0 +1,4 @@
+class Klass {
+ fun fn() {
+ }
+}
diff --git a/test/data/classes/emptyClass.kt b/test/data/classes/emptyClass.kt
new file mode 100644
index 00000000..abd20cc8
--- /dev/null
+++ b/test/data/classes/emptyClass.kt
@@ -0,0 +1,3 @@
+class Klass {
+
+} \ No newline at end of file
diff --git a/test/data/functions/function.kt b/test/data/functions/function.kt
index f8c64f94..3ed81dfa 100644
--- a/test/data/functions/function.kt
+++ b/test/data/functions/function.kt
@@ -1,4 +1,5 @@
/**
* Function fn
*/
-fun fn() {} \ No newline at end of file
+fun fn() {
+} \ No newline at end of file
diff --git a/test/data/functions/functionWithParams.kt b/test/data/functions/functionWithParams.kt
index 135ed399..559f4f78 100644
--- a/test/data/functions/functionWithParams.kt
+++ b/test/data/functions/functionWithParams.kt
@@ -3,4 +3,5 @@
* Function
* Documentation
*/
-fun function(x : Int) {} \ No newline at end of file
+fun function(x: Int) {
+} \ No newline at end of file