aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters
diff options
context:
space:
mode:
authorSzymon Świstun <sswistun@virtuslab.com>2020-02-27 14:50:27 +0100
committerPaweł Marks <Kordyjan@users.noreply.github.com>2020-03-17 12:07:18 +0100
commit4002c4e91cb42ef77e93cac57ac49823629d33da (patch)
tree324deff126fd5ff0923f962770a30b880fd04c8e /plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters
parent6ed5e125d97e4ddc5b1cd80ed3567fa7bd2e63e6 (diff)
downloaddokka-4002c4e91cb42ef77e93cac57ac49823629d33da.tar.gz
dokka-4002c4e91cb42ef77e93cac57ac49823629d33da.tar.bz2
dokka-4002c4e91cb42ef77e93cac57ac49823629d33da.zip
Add expect with generation
Diffstat (limited to 'plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters')
-rw-r--r--plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/-search.html23
-rw-r--r--plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/navigation.html25
-rw-r--r--plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root/-fancy/-init-.html30
-rw-r--r--plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root/-fancy/equals.html30
-rw-r--r--plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root/-fancy/hash-code.html20
-rw-r--r--plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root/-fancy/index.html61
-rw-r--r--plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root/-fancy/to-string.html20
-rw-r--r--plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root/f.html20
-rw-r--r--plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root/index.html42
-rw-r--r--plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/src/annotatedFunctionWithAnnotationParameters.kt7
10 files changed, 278 insertions, 0 deletions
diff --git a/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/-search.html b/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/-search.html
new file mode 100644
index 00000000..1ee812bb
--- /dev/null
+++ b/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/-search.html
@@ -0,0 +1,23 @@
+<html>
+ <head>
+ <title>Search</title>
+ <link href="styles/style.css" rel="Stylesheet">
+ <script type="text/javascript" src="scripts/pages.js" async="async"></script>
+ <script>var pathToRoot = "";</script>
+ </head>
+ <body>
+ <div id="navigation">
+ <div id="searchBar">
+ <form action="-search.html" method="get" id="searchForm"><input type="search" name="query"><input type="submit" value="Search"></form>
+ </div>
+ <div id="sideMenu"></div>
+ </div>
+ <div id="content">
+ <h1 id="searchTitle">Search results for </h1>
+ <table>
+ <tbody id="searchTable"></tbody>
+ </table>
+ </div>
+ </body>
+</html>
+
diff --git a/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/navigation.html b/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/navigation.html
new file mode 100644
index 00000000..fe9e499e
--- /dev/null
+++ b/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/navigation.html
@@ -0,0 +1,25 @@
+<div class="sideMenuPart" id="nav-submenu">
+ <div class="overview"><a href="root/index.html">root</a><span class="navButton" onclick="document.getElementById(&quot;nav-submenu&quot;).classList.toggle(&quot;hidden&quot;);"><span class="navButtonContent"></span></span></div>
+ <div class="sideMenuPart" id="nav-submenu-0">
+ <div class="overview"><a href="root//index.html"></a><span class="navButton" onclick="document.getElementById(&quot;nav-submenu-0&quot;).classList.toggle(&quot;hidden&quot;);"><span class="navButtonContent"></span></span></div>
+ <div class="sideMenuPart" id="nav-submenu-0-0">
+ <div class="overview"><a href="root//-fancy/index.html">Fancy</a><span class="navButton" onclick="document.getElementById(&quot;nav-submenu-0-0&quot;).classList.toggle(&quot;hidden&quot;);"><span class="navButtonContent"></span></span></div>
+ <div class="sideMenuPart" id="nav-submenu-0-0-0">
+ <div class="overview"><a href="root//-fancy/-init-.html">&lt;init&gt;</a></div>
+ </div>
+ <div class="sideMenuPart" id="nav-submenu-0-0-1">
+ <div class="overview"><a href="root//-fancy/equals.html">equals</a></div>
+ </div>
+ <div class="sideMenuPart" id="nav-submenu-0-0-2">
+ <div class="overview"><a href="root//-fancy/hash-code.html">hashCode</a></div>
+ </div>
+ <div class="sideMenuPart" id="nav-submenu-0-0-3">
+ <div class="overview"><a href="root//-fancy/to-string.html">toString</a></div>
+ </div>
+ </div>
+ <div class="sideMenuPart" id="nav-submenu-0-1">
+ <div class="overview"><a href="root//f.html">f</a></div>
+ </div>
+ </div>
+</div>
+
diff --git a/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root/-fancy/-init-.html b/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root/-fancy/-init-.html
new file mode 100644
index 00000000..5ae21e5b
--- /dev/null
+++ b/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root/-fancy/-init-.html
@@ -0,0 +1,30 @@
+<html>
+ <head>
+ <title>&lt;init&gt;</title>
+ <link href="../../../styles/style.css" rel="Stylesheet">
+ <script type="text/javascript" src="../../../scripts/navigationLoader.js" async="async"></script>
+ <script>var pathToRoot = "../../../";</script>
+ </head>
+ <body>
+ <div id="navigation">
+ <div id="searchBar">
+ <form action="../../../-search.html" method="get" id="searchForm"><input type="search" name="query"><input type="submit" value="Search"></form>
+ </div>
+ <div id="sideMenu"></div>
+ </div>
+ <div id="content">//<a href="../../index.html">root</a>/<a href="../index.html"></a>/<a href="index.html">Fancy</a>/<a href="-init-.html">&lt;init&gt;</a>
+ <h1>&lt;init&gt;</h1>
+final fun <a href="-init-.html">&lt;init&gt;</a>(<a href="">size</a>: <a href="">Int</a>)
+ <h2>Parameters</h2>
+ <table>
+ <thead></thead>
+ <tbody>
+ <tr>
+ <td>size</td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
+ </body>
+</html>
+
diff --git a/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root/-fancy/equals.html b/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root/-fancy/equals.html
new file mode 100644
index 00000000..004f5344
--- /dev/null
+++ b/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root/-fancy/equals.html
@@ -0,0 +1,30 @@
+<html>
+ <head>
+ <title>equals</title>
+ <link href="../../../styles/style.css" rel="Stylesheet">
+ <script type="text/javascript" src="../../../scripts/navigationLoader.js" async="async"></script>
+ <script>var pathToRoot = "../../../";</script>
+ </head>
+ <body>
+ <div id="navigation">
+ <div id="searchBar">
+ <form action="../../../-search.html" method="get" id="searchForm"><input type="search" name="query"><input type="submit" value="Search"></form>
+ </div>
+ <div id="sideMenu"></div>
+ </div>
+ <div id="content">//<a href="../../index.html">root</a>/<a href="../index.html"></a>/<a href="index.html">Fancy</a>/<a href="equals.html">equals</a>
+ <h1>equals</h1>
+open fun <a href="equals.html">equals</a>(<a href="">other</a>: <a href="">Any</a>): <a href="">Boolean</a>
+ <h2>Parameters</h2>
+ <table>
+ <thead></thead>
+ <tbody>
+ <tr>
+ <td>other</td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
+ </body>
+</html>
+
diff --git a/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root/-fancy/hash-code.html b/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root/-fancy/hash-code.html
new file mode 100644
index 00000000..b395dcda
--- /dev/null
+++ b/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root/-fancy/hash-code.html
@@ -0,0 +1,20 @@
+<html>
+ <head>
+ <title>hashCode</title>
+ <link href="../../../styles/style.css" rel="Stylesheet">
+ <script type="text/javascript" src="../../../scripts/navigationLoader.js" async="async"></script>
+ <script>var pathToRoot = "../../../";</script>
+ </head>
+ <body>
+ <div id="navigation">
+ <div id="searchBar">
+ <form action="../../../-search.html" method="get" id="searchForm"><input type="search" name="query"><input type="submit" value="Search"></form>
+ </div>
+ <div id="sideMenu"></div>
+ </div>
+ <div id="content">//<a href="../../index.html">root</a>/<a href="../index.html"></a>/<a href="index.html">Fancy</a>/<a href="hash-code.html">hashCode</a>
+ <h1>hashCode</h1>
+open fun <a href="hash-code.html">hashCode</a>(): <a href="">Int</a></div>
+ </body>
+</html>
+
diff --git a/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root/-fancy/index.html b/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root/-fancy/index.html
new file mode 100644
index 00000000..3da5f79b
--- /dev/null
+++ b/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root/-fancy/index.html
@@ -0,0 +1,61 @@
+<html>
+ <head>
+ <title>Fancy</title>
+ <link href="../../../styles/style.css" rel="Stylesheet">
+ <script type="text/javascript" src="../../../scripts/navigationLoader.js" async="async"></script>
+ <script>var pathToRoot = "../../../";</script>
+ </head>
+ <body>
+ <div id="navigation">
+ <div id="searchBar">
+ <form action="../../../-search.html" method="get" id="searchForm"><input type="search" name="query"><input type="submit" value="Search"></form>
+ </div>
+ <div id="sideMenu"></div>
+ </div>
+ <div id="content">//<a href="../../index.html">root</a>/<a href="../index.html"></a>/<a href="index.html">Fancy</a>Final class Fancy : <a href="">Annotation</a>
+ <h2>Constructors</h2>
+ <table>
+ <thead></thead>
+ <tbody>
+ <tr>
+ <td><a href="-init-.html">&lt;init&gt;</a></td>
+ <td>final fun <a href="-init-.html">&lt;init&gt;</a>(<a href="">size</a>: <a href="">Int</a>)</td>
+ <td></td>
+ </tr>
+ </tbody>
+ </table>
+ <h2>Functions</h2>
+ <table>
+ <thead></thead>
+ <tbody>
+ <tr>
+ <td><a href="equals.html">equals</a></td>
+ <td>open fun <a href="equals.html">equals</a>(<a href="">other</a>: <a href="">Any</a>): <a href="">Boolean</a></td>
+ <td></td>
+ </tr>
+ <tr>
+ <td><a href="hash-code.html">hashCode</a></td>
+ <td>open fun <a href="hash-code.html">hashCode</a>(): <a href="">Int</a></td>
+ <td></td>
+ </tr>
+ <tr>
+ <td><a href="to-string.html">toString</a></td>
+ <td>open fun <a href="to-string.html">toString</a>(): <a href="">String</a></td>
+ <td></td>
+ </tr>
+ </tbody>
+ </table>
+ <h2>Properties</h2>
+ <table>
+ <thead></thead>
+ <tbody>
+ <tr>
+ <td><a href="">size</a></td>
+ <td></td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
+ </body>
+</html>
+
diff --git a/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root/-fancy/to-string.html b/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root/-fancy/to-string.html
new file mode 100644
index 00000000..84da7873
--- /dev/null
+++ b/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root/-fancy/to-string.html
@@ -0,0 +1,20 @@
+<html>
+ <head>
+ <title>toString</title>
+ <link href="../../../styles/style.css" rel="Stylesheet">
+ <script type="text/javascript" src="../../../scripts/navigationLoader.js" async="async"></script>
+ <script>var pathToRoot = "../../../";</script>
+ </head>
+ <body>
+ <div id="navigation">
+ <div id="searchBar">
+ <form action="../../../-search.html" method="get" id="searchForm"><input type="search" name="query"><input type="submit" value="Search"></form>
+ </div>
+ <div id="sideMenu"></div>
+ </div>
+ <div id="content">//<a href="../../index.html">root</a>/<a href="../index.html"></a>/<a href="index.html">Fancy</a>/<a href="to-string.html">toString</a>
+ <h1>toString</h1>
+open fun <a href="to-string.html">toString</a>(): <a href="">String</a></div>
+ </body>
+</html>
+
diff --git a/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root/f.html b/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root/f.html
new file mode 100644
index 00000000..7900fb98
--- /dev/null
+++ b/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root/f.html
@@ -0,0 +1,20 @@
+<html>
+ <head>
+ <title>f</title>
+ <link href="../../styles/style.css" rel="Stylesheet">
+ <script type="text/javascript" src="../../scripts/navigationLoader.js" async="async"></script>
+ <script>var pathToRoot = "../../";</script>
+ </head>
+ <body>
+ <div id="navigation">
+ <div id="searchBar">
+ <form action="../../-search.html" method="get" id="searchForm"><input type="search" name="query"><input type="submit" value="Search"></form>
+ </div>
+ <div id="sideMenu"></div>
+ </div>
+ <div id="content">//<a href="../index.html">root</a>/<a href="index.html"></a>/<a href="f.html">f</a>
+ <h1>f</h1>
+final fun <a href="f.html">f</a>()</div>
+ </body>
+</html>
+
diff --git a/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root/index.html b/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root/index.html
new file mode 100644
index 00000000..bba04c93
--- /dev/null
+++ b/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root/index.html
@@ -0,0 +1,42 @@
+<html>
+ <head>
+ <title></title>
+ <link href="../../styles/style.css" rel="Stylesheet">
+ <script type="text/javascript" src="../../scripts/navigationLoader.js" async="async"></script>
+ <script>var pathToRoot = "../../";</script>
+ </head>
+ <body>
+ <div id="navigation">
+ <div id="searchBar">
+ <form action="../../-search.html" method="get" id="searchForm"><input type="search" name="query"><input type="submit" value="Search"></form>
+ </div>
+ <div id="sideMenu"></div>
+ </div>
+ <div id="content">//<a href="../index.html">root</a>/<a href="index.html"></a>
+ <h1>Package </h1>
+ <h2>Types</h2>
+ <table>
+ <thead></thead>
+ <tbody>
+ <tr>
+ <td><a href="-fancy/index.html">Fancy</a></td>
+ <td>Final class Fancy : <a href="">Annotation</a></td>
+ <td></td>
+ </tr>
+ </tbody>
+ </table>
+ <h2>Functions</h2>
+ <table>
+ <thead></thead>
+ <tbody>
+ <tr>
+ <td><a href="f.html">f</a></td>
+ <td>final fun <a href="f.html">f</a>()</td>
+ <td></td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
+ </body>
+</html>
+
diff --git a/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/src/annotatedFunctionWithAnnotationParameters.kt b/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/src/annotatedFunctionWithAnnotationParameters.kt
new file mode 100644
index 00000000..e559713a
--- /dev/null
+++ b/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/src/annotatedFunctionWithAnnotationParameters.kt
@@ -0,0 +1,7 @@
+@Target(AnnotationTarget.VALUE_PARAMETER)
+@Retention(AnnotationRetention.SOURCE)
+@MustBeDocumented
+public annotation class Fancy(val size: Int)
+
+
+@Fancy(1) fun f() {}