-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8 from 4thline/javadoc-1.8
com.sun.tools.javadoc.JavadocTool API changed in Java1.8
- Loading branch information
Showing
4 changed files
with
117 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd"> | ||
|
||
<suite name="AllTests - Javadoc"> | ||
<test name="Javadoc"> | ||
<packages> | ||
<package name="org.seamless.test.javadoc"/> | ||
</packages> | ||
</test> | ||
</suite> |
23 changes: 23 additions & 0 deletions
23
javadoc/src/test/java/org/seamless/test/javadoc/EasyDocletTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
package org.seamless.test.javadoc; | ||
|
||
import org.seamless.javadoc.EasyDoclet; | ||
import org.testng.annotations.Test; | ||
|
||
import java.io.File; | ||
|
||
/** | ||
* @author Sebastian Roth | ||
*/ | ||
public class EasyDocletTest { | ||
|
||
@Test | ||
public void invokeDoclet() { | ||
// Should not raise any exception. | ||
final com.sun.javadoc.RootDoc rootDoc = new EasyDoclet( | ||
"en_US", | ||
new File[]{new File("src/test/java")}, | ||
new String[]{"org.seamless.test.javadoc"}, | ||
new File[0] | ||
).getRootDoc(); | ||
} | ||
} |