Commit b1c00468 authored by Roman Shevchenko's avatar Roman Shevchenko
Browse files

[tests] couple more Javadoc link transforming test cases

parent 096c5072
Showing with 2 additions and 0 deletions
+2 -0
......@@ -22,10 +22,12 @@ class LightJavadocGeneratorTest : LightCodeInsightFixtureTestCase() {
fun testRootedClassLink() = doTestLink("{@docRoot}/java/lang/Character.html#unicode", "psi_element://java.lang.Character###unicode")
fun testRootedPackageLink() = doTestLink("{@docRoot}/java/util/package-summary.html", "psi_element://java.util")
fun testRootedFileLink() = doTestLink("{@docRoot}/java/lang/doc-files/ValueBased.html", "../../java/lang/doc-files/ValueBased.html")
fun testRootedExtLink() = doTestLink("{@docRoot}/../techNotes/guides/index.html", "../../../techNotes/guides/index.html")
fun testRelativeClassLink() = doTestLink("../../java/lang/Character.html#unicode", "psi_element://java.lang.Character###unicode")
fun testRelativePackageLink() = doTestLink("../../java/util/package-summary.html", "psi_element://java.util")
fun testRelativeFileLink() = doTestLink("../../java/lang/doc-files/ValueBased.html", "../../java/lang/doc-files/ValueBased.html")
fun testRelativeExtLink() = doTestLink("../../../techNotes/guides/index.html", "../../../techNotes/guides/index.html")
//<editor-fold desc="Helpers.">
private fun doTestModule(text: String, expected: String) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment