compiler = buildCompiler(new CustomTestGenProcessor(), pkg);
compiler.assertCompile();
return compiler.processor.getDoc(pkg);
}
static Compiler
buildCompiler(P processor, String pkg) throws Exception {
int index = 0;
File output;
do {
output = new File("target/" + pkg + (index == 0 ? "" : "" + index));
index++;
}
while (output.exists());
Path sourcePath = new File(output, "src/" + pkg.replace('.', '/')).toPath();
File classOutput = new File(output, "classes");
assertTrue(sourcePath.toFile().mkdirs());
ArrayList sources = new ArrayList<>();
Path fromPath = new File("src/test/java/" + pkg.replace('.', '/')).toPath();
SimpleFileVisitor visitor = new SimpleFileVisitor() {
@Override
public FileVisitResult preVisitDirectory(Path dir, BasicFileAttributes attrs) throws IOException {
Path targetPath = sourcePath.resolve(fromPath.relativize(dir));
if (!Files.exists(targetPath)) {
Files.createDirectory(targetPath);
}
return FileVisitResult.CONTINUE;
}
@Override
public FileVisitResult visitFile(Path file, BasicFileAttributes attrs) throws IOException {
Path copy = Files.copy(file, sourcePath.resolve(fromPath.relativize(file)));
if (copy.toString().endsWith(".java")) {
sources.add(copy.toFile());
}
return FileVisitResult.CONTINUE;
}
};
Files.walkFileTree(fromPath, visitor);
assertTrue(sources.size() > 0);
return new Compiler<>(sources, classOutput, processor);
}
}
vertx-docgen-0.9.4/src/test/java/io/vertx/docgen/Compiler.java 0000664 0000000 0000000 00000006734 14050521027 0024261 0 ustar 00root root 0000000 0000000 package io.vertx.docgen;
import javax.annotation.processing.Processor;
import javax.tools.Diagnostic;
import javax.tools.DiagnosticCollector;
import javax.tools.DiagnosticListener;
import javax.tools.JavaCompiler;
import javax.tools.JavaFileObject;
import javax.tools.StandardJavaFileManager;
import javax.tools.StandardLocation;
import javax.tools.ToolProvider;
import java.io.File;
import java.io.IOException;
import java.io.OutputStreamWriter;
import java.io.StringWriter;
import java.nio.charset.Charset;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Locale;
import java.util.Map;
import java.util.stream.Collectors;
import static org.junit.Assert.assertTrue;
/**
* @author Julien Viet
*/
public class Compiler {
final File classOutput;
final Collection sources;
final P processor;
final List processors;
final StandardJavaFileManager fileManager;
final DiagnosticCollector diagnostics = new DiagnosticCollector<>();
final JavaCompiler compiler = ToolProvider.getSystemJavaCompiler();
final Map options = new HashMap<>();
public Compiler(Collection sources, File classOutput, P processor) {
JavaCompiler compiler = ToolProvider.getSystemJavaCompiler();
this.fileManager = compiler.getStandardFileManager(diagnostics, Locale.ENGLISH, Charset.forName("UTF-8"));
this.classOutput = classOutput;
this.sources = sources;
this.processor = processor;
this.processors = new ArrayList<>(Collections.singletonList(processor));
}
void addProcessor(Processor p) {
processors.add(p);
}
void setOption(String name, String value) {
if (value == null) {
options.remove(name);
} else {
options.put(name, value);
}
}
void failCompile() {
JavaCompiler.CompilationTask task = createTask(sources, diagnostics);
if (task.call()) {
throw new AssertionError("Was expecting compilation to fail");
}
}
void assertCompile() {
JavaCompiler.CompilationTask task = createTask(sources, diagnostics);
if (!task.call()) {
StringWriter buffer = new StringWriter();
buffer.append("Could not compile").append(":\n");
for (Diagnostic> diagnostic : diagnostics.getDiagnostics()) {
buffer.append(diagnostic.toString()).append("\n");
}
throw new AssertionError(buffer.toString());
}
}
private JavaCompiler.CompilationTask createTask(Collection sources, DiagnosticListener super JavaFileObject> diagnostics) {
if (!classOutput.mkdirs()) {
assertTrue(classOutput.exists());
}
assertTrue(classOutput.isDirectory());
try {
fileManager.setLocation(StandardLocation.CLASS_OUTPUT, Collections.singletonList(classOutput));
} catch (IOException e) {
throw new AssertionError("Could not set location", e);
}
Iterable extends JavaFileObject> files = fileManager.getJavaFileObjects(sources.toArray(new File[sources.size()]));
JavaCompiler.CompilationTask task = compiler.getTask(new OutputStreamWriter(System.out), fileManager, diagnostics,
options.entrySet().stream().map(entry -> "-A" + entry.getKey() + "=" + entry.getValue()).collect(Collectors.toList()),
Collections.emptyList(), files);
task.setLocale(Locale.ENGLISH);
task.setProcessors(processors);
return task;
}
}
vertx-docgen-0.9.4/src/test/java/io/vertx/docgen/CustomTestGenProcessor.java 0000664 0000000 0000000 00000003376 14050521027 0027152 0 ustar 00root root 0000000 0000000 package io.vertx.docgen;
import javax.lang.model.element.ExecutableElement;
import javax.lang.model.element.TypeElement;
import javax.lang.model.element.VariableElement;
import java.util.HashMap;
import java.util.Map;
/**
* A custom processor.
* On purpose it transforms source to uppercase.
*/
public class CustomTestGenProcessor extends JavaDocGenProcessor {
Map results = new HashMap<>();
@Override
protected DocGenerator generator() {
return new JavaDocGenerator() {
@Override
public String resolveTypeLink(TypeElement elt) {
switch (elt.getKind()) {
case INTERFACE:
case CLASS:
return "type";
case ENUM:
return "enum";
default:
return "unsupported";
}
}
@Override
public String resolveConstructorLink(ExecutableElement elt) {
return "constructor";
}
@Override
public String resolveMethodLink(ExecutableElement elt) {
return "method";
}
@Override
public String resolveFieldLink(VariableElement elt) {
switch (elt.getKind()) {
case ENUM_CONSTANT:
return "enumConstant";
case FIELD:
return "field";
default:
return "unsupported";
}
}
@Override
public String getName() {
return "custom";
}
@Override
public String renderSource(ExecutableElement elt, String source) {
return super.renderSource(elt, source).toUpperCase();
}
};
}
@Override
protected void write(DocGenerator generator, Doc doc, String content) {
results.put(doc.id(), content);
}
public String getDoc(String name) {
return results.get(name);
}
}
vertx-docgen-0.9.4/src/test/java/io/vertx/docgen/DocGenProcessorTest.java 0000664 0000000 0000000 00000007354 14050521027 0026405 0 ustar 00root root 0000000 0000000 package io.vertx.docgen;
import org.junit.Test;
import java.io.File;
import java.nio.file.Files;
import java.util.Arrays;
import java.util.List;
import static org.junit.Assert.*;
/**
* @author Julien Viet
*/
public class DocGenProcessorTest {
@Test
public void testGeneration() throws Exception {
for (String pkg : Arrays.asList("io.vertx.test.linktoclass",
"io.vertx.test.linktoconstructor", "io.vertx.test.linktomethod", "io.vertx.test.linktofield")) {
Compiler compiler = BaseProcessorTest.buildCompiler(new DocGenProcessor(new JavaDocGenerator()), pkg);
File dir = Files.createTempDirectory("docgen").toFile();
dir.deleteOnExit();
compiler.setOption("docgen.output", dir.getAbsolutePath());
compiler.assertCompile();
File file = new File(dir, pkg + ".adoc");
assertTrue(file.exists());
assertTrue(file.isFile());
}
}
@Test
public void testLinkGenerationWithAnnotation() throws Exception {
String pkg = "io.vertx.test.linktomethod";
Compiler compiler = BaseProcessorTest.buildCompiler(new DocGenProcessor(new JavaDocGenerator()), pkg);
File dir = Files.createTempDirectory("docgen").toFile();
dir.deleteOnExit();
compiler.setOption("docgen.output", dir.getAbsolutePath());
compiler.assertCompile();
File file = new File(dir, pkg + ".adoc");
List lines = Files.readAllLines(file.toPath());
for (String line : lines) {
// The :: is used when the annotated type is used.
assertFalse(line.contains("::"));
}
}
@Test
public void testFileName() throws Exception {
Compiler compiler = BaseProcessorTest.buildCompiler(new DocGenProcessor(new JavaDocGenerator()), "io.vertx.test.filename");
File dir = Files.createTempDirectory("docgen").toFile();
dir.deleteOnExit();
compiler.setOption("docgen.output", dir.getAbsolutePath());
compiler.assertCompile();
File f1 = new File(dir, "index.adoc");
assertTrue(f1.exists());
assertTrue(f1.isFile());
File f2 = new File(dir, "sub" + File.separator + "index.adoc");
assertTrue(f2.exists());
assertTrue(f2.isFile());
assertEquals("sub/index.adoc", new String(Files.readAllBytes(f1.toPath())));
}
@Test
public void testExtension() throws Exception {
for (String pkg : Arrays.asList("io.vertx.test.linktoclass",
"io.vertx.test.linktoconstructor", "io.vertx.test.linktomethod", "io.vertx.test.linktofield")) {
Compiler compiler = BaseProcessorTest.buildCompiler(new DocGenProcessor(new JavaDocGenerator()), pkg);
File dir = Files.createTempDirectory("docgen").toFile();
dir.deleteOnExit();
compiler.setOption("docgen.output", dir.getAbsolutePath());
compiler.setOption("docgen.extension", ".ad.txt");
compiler.assertCompile();
File file = new File(dir, pkg + ".ad.txt");
assertTrue(file.exists());
assertTrue(file.isFile());
}
}
@Test
public void testOutputInterpolation() throws Exception {
for (String pkg : Arrays.asList("io.vertx.test.linktoclass",
"io.vertx.test.linktoconstructor", "io.vertx.test.linktomethod", "io.vertx.test.linktofield")) {
Compiler compiler = BaseProcessorTest.buildCompiler(new DocGenProcessor(new JavaDocGenerator()), pkg);
File dir = Files.createTempDirectory("docgen").toFile();
dir.deleteOnExit();
compiler.setOption("docgen.output", new File(dir, "$lang").getAbsolutePath());
compiler.setOption("docgen.extension", ".ad.txt");
compiler.assertCompile();
File file = new File(new File(dir, "java"), pkg + ".ad.txt");
assertTrue(file.exists());
assertTrue(file.isFile());
}
}
}
vertx-docgen-0.9.4/src/test/java/io/vertx/docgen/DocWriterTest.java 0000664 0000000 0000000 00000005051 14050521027 0025240 0 ustar 00root root 0000000 0000000 package io.vertx.docgen;
import org.junit.Test;
import java.io.IOException;
import static org.junit.Assert.*;
/**
* @author Julien Viet
*/
public class DocWriterTest {
@Test
public void testFormat() throws IOException {
assertCommentText("abc", "abc");
assertCommentText(" abc", " abc");
assertCommentText("abc\ndef", "abc\ndef");
assertCommentText("abc\n def", "abc\ndef");
assertCommentText("abc\n def", "abc\n def");
assertCommentText("abc\n def\n ghi", "abc\ndef\nghi");
}
@Test
public void testResetParagraph() throws IOException {
DocWriter writer = new DocWriter();
writer.write("abc\n def\n");
writer.resetParagraph();
writer.write("ghi\n jkl");
assertEquals("abc\ndef\nghi\njkl", writer.render());
}
@Test
public void testLiteralMode() throws IOException {
assertLiteralText("abc", "abc");
assertLiteralText(" abc", " abc");
assertLiteralText("abc\ndef", "abc\ndef");
assertLiteralText("abc\n def", "abc\n def");
assertLiteralText("abc\n def", "abc\n def");
assertLiteralText("abc\n def\n ghi", "abc\n def\n ghi");
}
@Test
public void testFuture() throws IOException {
DocWriter writer = new DocWriter();
writer.write("a");
writer.write(() -> {
DocWriter n1 = new DocWriter();
n1.write("b");
n1.write(() -> {
DocWriter n2 = new DocWriter();
n2.write("c");
return n2;
});
return n1;
});
writer.write("d");
assertEquals("abcd", writer.render());
assertEquals("", writer.render());
}
@Test
public void testExec() throws IOException {
DocWriter writer = new DocWriter();
writer.literalMode();
writer.write("abc\n def");
writer.exec(() -> writer.write("\n ghi"));
writer.write("\n jkl");
assertEquals("abc\n def\nghi\n jkl", writer.render());
}
@Test
public void testExecAfterNewLine() throws IOException {
DocWriter writer = new DocWriter();
writer.write("abc\n");
writer.exec(() -> writer.write("def"));
writer.write(" ghi");
assertEquals("abc\ndef ghi", writer.render());
}
private void assertCommentText(String actual, String expected) throws IOException {
DocWriter writer = new DocWriter();
writer.write(actual);
assertEquals(expected, writer.render());
}
private void assertLiteralText(String actual, String expected) throws IOException {
DocWriter writer = new DocWriter();
writer.literalMode();
writer.write(actual);
assertEquals(expected, writer.render());
}
}
vertx-docgen-0.9.4/src/test/java/io/vertx/docgen/EntityUtilsTest.java 0000664 0000000 0000000 00000001742 14050521027 0025636 0 ustar 00root root 0000000 0000000 package io.vertx.docgen;
import org.junit.Assert;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* Checks the behavior of the entity un-escaper.
*/
public class EntityUtilsTest {
@Test
public void testUnescapeEntity() throws Exception {
Assert.assertEquals(EntityUtils.unescapeEntity("#92"), "\\");
Assert.assertEquals(EntityUtils.unescapeEntity("u00A7"), "§");
Assert.assertEquals(EntityUtils.unescapeEntity("#x020AC"), "€");
Assert.assertEquals(EntityUtils.unescapeEntity("nbsp"), " ");
Assert.assertEquals(EntityUtils.unescapeEntity(""), "");
Assert.assertEquals(EntityUtils.unescapeEntity(null), "");
Assert.assertEquals(EntityUtils.unescapeEntity("\t"), "");
Assert.assertEquals(EntityUtils.unescapeEntity("#t"), "#t");
Assert.assertEquals(EntityUtils.unescapeEntity("uzz02"), "uzz02");
Assert.assertEquals(EntityUtils.unescapeEntity("#"), "#");
Assert.assertEquals(EntityUtils.unescapeEntity("#x"), "#x");
}
} vertx-docgen-0.9.4/src/test/java/io/vertx/docgen/FooAnnotation.java 0000664 0000000 0000000 00000000554 14050521027 0025257 0 ustar 00root root 0000000 0000000 package io.vertx.docgen;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* @author Julien Viet
*/
@Target(ElementType.TYPE_USE)
@Retention(RetentionPolicy.RUNTIME)
public @interface FooAnnotation {
}
vertx-docgen-0.9.4/src/test/java/io/vertx/docgen/LanguageFilterPostProcessorTest.java 0000664 0000000 0000000 00000003216 14050521027 0030776 0 ustar 00root root 0000000 0000000 package io.vertx.docgen;
import org.junit.Test;
import static org.hamcrest.CoreMatchers.containsString;
import static org.hamcrest.CoreMatchers.equalTo;
import static org.hamcrest.CoreMatchers.not;
import static org.junit.Assert.*;
/**
* Checks the {@link LanguageFilterPostProcessor}.
*/
public class LanguageFilterPostProcessorTest {
LanguageFilterPostProcessor postProcessor = new LanguageFilterPostProcessor();
@Test
public void testThatMatchingLanguagesAreNotFilteredOut() {
String content = "This is something only for java";
String result = postProcessor.process("java", content, "java");
assertThat(result, containsString(content));
result = postProcessor.process("java", content, "java", "javascript", "ruby");
assertThat(result, containsString(content));
}
@Test
public void testThatNotMatchingLanguagesAreFilteredOut() {
String content = "This is something only for javascript and ruby";
String result = postProcessor.process("java", content, "java");
assertThat(result, containsString(content));
result = postProcessor.process("java", content, "javascript", "ruby");
assertThat(result, not(containsString(content)));
assertThat(result, equalTo(PostProcessor.EMPTY_CONTENT));
}
@Test
public void testWhenContentIsEmpty() {
String content = "";
String result = postProcessor.process("java", content, "java");
assertThat(result, containsString(content));
}
@Test(expected = IllegalArgumentException.class)
public void testWithNoArgs() {
String content = "";
String result = postProcessor.process("java", content);
assertThat(result, containsString(content));
}
} vertx-docgen-0.9.4/src/test/java/io/vertx/docgen/PostProcessorTest.java 0000664 0000000 0000000 00000007602 14050521027 0026167 0 ustar 00root root 0000000 0000000 package io.vertx.docgen;
import org.junit.Test;
import java.util.Arrays;
import java.util.List;
import static org.hamcrest.CoreMatchers.*;
import static org.hamcrest.MatcherAssert.assertThat;
/**
* Check the behavior of {@link PostProcessor}.
*/
public class PostProcessorTest {
@Test
public void testBlockDeclaration() {
assertThat(PostProcessor.isBlockDeclaration("[foo]"), equalTo(true));
assertThat(PostProcessor.isBlockDeclaration("[foo,a,b,c]"), equalTo(true));
assertThat(PostProcessor.isBlockDeclaration("[foo ]"), equalTo(true));
assertThat(PostProcessor.isBlockDeclaration("[ foo ]"), equalTo(true));
assertThat(PostProcessor.isBlockDeclaration("foo"), equalTo(false));
assertThat(PostProcessor.isBlockDeclaration(""), equalTo(false));
assertThat(PostProcessor.isBlockDeclaration("[]"), equalTo(false));
assertThat(PostProcessor.isBlockDeclaration("[ ]"), equalTo(true));
assertThat(PostProcessor.isBlockDeclaration("[X]"), equalTo(true));
}
@Test
public void testProcessorNameExtraction() {
assertThat(PostProcessor.getProcessorName("[foo]"), equalTo("foo"));
assertThat(PostProcessor.getProcessorName("[foo ]"), equalTo("foo"));
assertThat(PostProcessor.getProcessorName("[ foo]"), equalTo("foo"));
assertThat(PostProcessor.getProcessorName("[ foo ]"), equalTo("foo"));
assertThat(PostProcessor.getProcessorName("[foo,a,b,c]"), equalTo("foo"));
assertThat(PostProcessor.getProcessorName("[foo, a,b,c]"), equalTo("foo"));
}
@Test
public void testProcessorAttributeExtraction() {
assertThat(PostProcessor.getProcessorAttributes("[foo]").length, equalTo(0));
// First parameter empty
assertThat(PostProcessor.getProcessorAttributes("[foo,]").length, equalTo(1));
assertThat(PostProcessor.getProcessorAttributes("[foo,]")[0], equalTo(""));
assertThat(PostProcessor.getProcessorAttributes("[foo,,,]").length, equalTo(0));
assertThat(PostProcessor.getProcessorAttributes("[foo, a,b,c ]")[0], equalTo("a"));
assertThat(PostProcessor.getProcessorAttributes("[foo,a,b,c ]")[1], equalTo("b"));
assertThat(PostProcessor.getProcessorAttributes("[foo, a,b,c ]")[2], equalTo("c"));
}
@Test
public void testContentExtractionWithSingleLineBlock() {
List lines = Arrays.asList(
"line 1",
"line 2"
);
assertThat(PostProcessor.getBlockContent(lines.iterator()), containsString("line 1"));
assertThat(PostProcessor.getBlockContent(lines.iterator()), not(containsString("line 2")));
}
@Test
public void testContentExtractionWithBlock() {
List lines = Arrays.asList(
"----",
"line 1",
"line 2",
"----",
"line 3"
);
assertThat(PostProcessor.getBlockContent(lines.iterator()), containsString("line 1"));
assertThat(PostProcessor.getBlockContent(lines.iterator()), containsString("line 2"));
assertThat(PostProcessor.getBlockContent(lines.iterator()), not(containsString("line 3")));
assertThat(PostProcessor.getBlockContent(lines.iterator()), not(containsString("----")));
}
@Test
public void testExtractionWithNestedBlocks() {
List lines = Arrays.asList(
"----",
"line 1",
"line 2",
"[source]",
"\\----",
"some source code",
"\\----",
"after",
"----",
"line 3"
);
assertThat(PostProcessor.getBlockContent(lines.iterator()), containsString("line 1"));
assertThat(PostProcessor.getBlockContent(lines.iterator()), containsString("line 2"));
assertThat(PostProcessor.getBlockContent(lines.iterator()), containsString("[source]"));
assertThat(PostProcessor.getBlockContent(lines.iterator()), containsString("some source code"));
assertThat(PostProcessor.getBlockContent(lines.iterator()), containsString("after"));
assertThat(PostProcessor.getBlockContent(lines.iterator()), not(containsString("line 3")));
}
} vertx-docgen-0.9.4/src/test/java/io/vertx/docgen/TestGenProcessor.java 0000664 0000000 0000000 00000004257 14050521027 0025756 0 ustar 00root root 0000000 0000000 package io.vertx.docgen;
import javax.lang.model.element.ExecutableElement;
import javax.lang.model.element.TypeElement;
import javax.lang.model.element.VariableElement;
import java.util.HashMap;
import java.util.Map;
/**
* @author Julien Viet
*/
public class TestGenProcessor extends JavaDocGenProcessor {
Map results = new HashMap<>();
@Override
protected DocGenerator generator() {
return new JavaDocGenerator() {
@Override
public String getName() {
return TestGenProcessor.this.getName();
}
@Override
public String resolveTypeLink(TypeElement elt) {
return TestGenProcessor.this.resolveTypeLink(elt);
}
@Override
public String resolveConstructorLink(ExecutableElement elt) {
return TestGenProcessor.this.resolveConstructorLink(elt);
}
@Override
public String resolveMethodLink(ExecutableElement elt) {
return TestGenProcessor.this.resolveMethodLink(elt);
}
@Override
public String resolveFieldLink(VariableElement elt) {
return TestGenProcessor.this.resolveFieldLink(elt);
}
};
}
protected String getName() {
return "java";
}
protected String resolveTypeLink(TypeElement elt) {
switch (elt.getKind()) {
case ANNOTATION_TYPE:
return "annotation";
case INTERFACE:
case CLASS:
return "type";
case ENUM:
return "enum";
default:
return "unsupported";
}
}
protected String resolveConstructorLink(ExecutableElement elt) {
return "constructor";
}
protected String resolveMethodLink(ExecutableElement elt) {
return "method";
}
protected String resolveFieldLink(VariableElement elt) {
switch (elt.getKind()) {
case ENUM_CONSTANT:
return "enumConstant";
case FIELD:
return "field";
default:
return "unsupported";
}
}
@Override
protected void write(DocGenerator generator, Doc doc, String content) {
results.put(doc.id(), content);
super.write(generator, doc, content);
}
public String getDoc(String name) {
return results.get(name);
}
}
vertx-docgen-0.9.4/src/test/java/io/vertx/test/ 0000775 0000000 0000000 00000000000 14050521027 0021352 5 ustar 00root root 0000000 0000000 vertx-docgen-0.9.4/src/test/java/io/vertx/test/code/ 0000775 0000000 0000000 00000000000 14050521027 0022264 5 ustar 00root root 0000000 0000000 vertx-docgen-0.9.4/src/test/java/io/vertx/test/code/package-info.java 0000664 0000000 0000000 00000000232 14050521027 0025450 0 ustar 00root root 0000000 0000000 /**
* This comment contains {@code some code here} and a {@literal literal}.
*/
@Document
package io.vertx.test.code;
import io.vertx.docgen.Document;
vertx-docgen-0.9.4/src/test/java/io/vertx/test/commentstructure/ 0000775 0000000 0000000 00000000000 14050521027 0024775 5 ustar 00root root 0000000 0000000 vertx-docgen-0.9.4/src/test/java/io/vertx/test/commentstructure/package-info.java 0000664 0000000 0000000 00000000203 14050521027 0030157 0 ustar 00root root 0000000 0000000 /**
* the_first_sentence
*
* the_body
*/
@Document()
package io.vertx.test.commentstructure;
import io.vertx.docgen.Document;
vertx-docgen-0.9.4/src/test/java/io/vertx/test/entities/ 0000775 0000000 0000000 00000000000 14050521027 0023176 5 ustar 00root root 0000000 0000000 vertx-docgen-0.9.4/src/test/java/io/vertx/test/entities/package-info.java 0000664 0000000 0000000 00000000767 14050521027 0026377 0 ustar 00root root 0000000 0000000 /**
* This documentation is intended to use entities:
*
* Foo & Bar.
* 10 \u0024
* 10 €
* Stra\u00DFe
* Straßen
* \u00DF
*
* In code:
*
* [source,java]
* ----
* JsonObject json = new JsonObject();
* json.put("key", "\u0000\u0001\u0080\u009f\u00a0\u00ff");
* json.put("key", "\u00c3\u00bc");
* ----
*/
@Document package io.vertx.test.entities;
import io.vertx.docgen.Document;
vertx-docgen-0.9.4/src/test/java/io/vertx/test/file/ 0000775 0000000 0000000 00000000000 14050521027 0022271 5 ustar 00root root 0000000 0000000 vertx-docgen-0.9.4/src/test/java/io/vertx/test/file/TheClass.java 0000664 0000000 0000000 00000000340 14050521027 0024637 0 ustar 00root root 0000000 0000000 package io.vertx.test.file;
/**
* @author Julien Viet
*/
public class TheClass {
public void m1() {}
public void m2(String s) {}
public void m3(String s, boolean b) {}
}
vertx-docgen-0.9.4/src/test/java/io/vertx/test/file/TheExample.java 0000664 0000000 0000000 00000000750 14050521027 0025172 0 ustar 00root root 0000000 0000000 package io.vertx.test.file;
import io.vertx.docgen.Source;
import java.util.HashMap;
import java.util.Map;
/**
* @author Julien Viet
*/
@Source
public class TheExample {
public void someMethod() {
Map map = new HashMap<>();
// Some comment
//
if (true) {
// Indented 1
if (false) {
// Indented 2
}
}
map.put("abc", "def");
map.get("abc"); // Beyond last statement
}
}
vertx-docgen-0.9.4/src/test/java/io/vertx/test/file/package-info.java 0000664 0000000 0000000 00000000034 14050521027 0025455 0 ustar 00root root 0000000 0000000 package io.vertx.test.file;
vertx-docgen-0.9.4/src/test/java/io/vertx/test/filename/ 0000775 0000000 0000000 00000000000 14050521027 0023132 5 ustar 00root root 0000000 0000000 vertx-docgen-0.9.4/src/test/java/io/vertx/test/filename/package-info.java 0000664 0000000 0000000 00000000222 14050521027 0026315 0 ustar 00root root 0000000 0000000 /**
* {@link io.vertx.test.filename.sub}
*/
@Document(fileName = "index.adoc")
package io.vertx.test.filename;
import io.vertx.docgen.Document; vertx-docgen-0.9.4/src/test/java/io/vertx/test/filename/sub/ 0000775 0000000 0000000 00000000000 14050521027 0023723 5 ustar 00root root 0000000 0000000 vertx-docgen-0.9.4/src/test/java/io/vertx/test/filename/sub/package-info.java 0000664 0000000 0000000 00000000202 14050521027 0027104 0 ustar 00root root 0000000 0000000 /**
* subcontent
*/
@Document(fileName = "sub/index.adoc")
package io.vertx.test.filename.sub;
import io.vertx.docgen.Document; vertx-docgen-0.9.4/src/test/java/io/vertx/test/gen/ 0000775 0000000 0000000 00000000000 14050521027 0022123 5 ustar 00root root 0000000 0000000 vertx-docgen-0.9.4/src/test/java/io/vertx/test/gen/TheClass.java 0000664 0000000 0000000 00000000200 14050521027 0024464 0 ustar 00root root 0000000 0000000 package io.vertx.test.gen;
/**
* @author Julien Viet
*/
public class TheClass {
}
vertx-docgen-0.9.4/src/test/java/io/vertx/test/gen/package-info.java 0000664 0000000 0000000 00000000172 14050521027 0025312 0 ustar 00root root 0000000 0000000 /**
*{@link io.vertx.test.gen.GeneratedClass}
*/
@Document
package io.vertx.test.gen;
import io.vertx.docgen.Document;
vertx-docgen-0.9.4/src/test/java/io/vertx/test/includeannotatedannotation/ 0000775 0000000 0000000 00000000000 14050521027 0026766 5 ustar 00root root 0000000 0000000 vertx-docgen-0.9.4/src/test/java/io/vertx/test/includeannotatedannotation/TheExample.java 0000664 0000000 0000000 00000000233 14050521027 0031663 0 ustar 00root root 0000000 0000000 package io.vertx.test.includeannotatedannotation;
import io.vertx.docgen.Source;
@Source
public @interface TheExample {
String value() default "";
}
vertx-docgen-0.9.4/src/test/java/io/vertx/test/includeannotatedannotation/package-info.java 0000664 0000000 0000000 00000000277 14050521027 0032163 0 ustar 00root root 0000000 0000000 /**
* before_include{@link io.vertx.test.includeannotatedannotation.TheExample}after_include
*/
@Document
package io.vertx.test.includeannotatedannotation;
import io.vertx.docgen.Document; vertx-docgen-0.9.4/src/test/java/io/vertx/test/includeannotatedclass/ 0000775 0000000 0000000 00000000000 14050521027 0025721 5 ustar 00root root 0000000 0000000 vertx-docgen-0.9.4/src/test/java/io/vertx/test/includeannotatedclass/TheExample.java 0000664 0000000 0000000 00000000407 14050521027 0030621 0 ustar 00root root 0000000 0000000 package io.vertx.test.includeannotatedclass;
import io.vertx.docgen.Source;
import java.util.HashMap;
import java.util.Map;
@Source
public class TheExample {
// Some comment
private String f;
public void someMethod() {
System.out.println(f);
}
}
vertx-docgen-0.9.4/src/test/java/io/vertx/test/includeannotatedclass/package-info.java 0000664 0000000 0000000 00000000265 14050521027 0031113 0 ustar 00root root 0000000 0000000 /**
* before_include{@link io.vertx.test.includeannotatedclass.TheExample}after_include
*/
@Document
package io.vertx.test.includeannotatedclass;
import io.vertx.docgen.Document; vertx-docgen-0.9.4/src/test/java/io/vertx/test/includeannotatedenum/ 0000775 0000000 0000000 00000000000 14050521027 0025560 5 ustar 00root root 0000000 0000000 vertx-docgen-0.9.4/src/test/java/io/vertx/test/includeannotatedenum/TheExample.java 0000664 0000000 0000000 00000000200 14050521027 0030447 0 ustar 00root root 0000000 0000000 package io.vertx.test.includeannotatedenum;
import io.vertx.docgen.Source;
@Source
public enum TheExample {
A,
B,
C
}
vertx-docgen-0.9.4/src/test/java/io/vertx/test/includeannotatedenum/package-info.java 0000664 0000000 0000000 00000000263 14050521027 0030750 0 ustar 00root root 0000000 0000000 /**
* before_include{@link io.vertx.test.includeannotatedenum.TheExample}after_include
*/
@Document
package io.vertx.test.includeannotatedenum;
import io.vertx.docgen.Document; vertx-docgen-0.9.4/src/test/java/io/vertx/test/includeannotatedinterface/ 0000775 0000000 0000000 00000000000 14050521027 0026554 5 ustar 00root root 0000000 0000000 vertx-docgen-0.9.4/src/test/java/io/vertx/test/includeannotatedinterface/TheExample.java 0000664 0000000 0000000 00000000221 14050521027 0031446 0 ustar 00root root 0000000 0000000 package io.vertx.test.includeannotatedinterface;
import io.vertx.docgen.Source;
@Source
public interface TheExample {
void someMethod();
}
vertx-docgen-0.9.4/src/test/java/io/vertx/test/includeannotatedinterface/package-info.java 0000664 0000000 0000000 00000000275 14050521027 0031747 0 ustar 00root root 0000000 0000000 /**
* before_include{@link io.vertx.test.includeannotatedinterface.TheExample}after_include
*/
@Document
package io.vertx.test.includeannotatedinterface;
import io.vertx.docgen.Document; vertx-docgen-0.9.4/src/test/java/io/vertx/test/includecircular/ 0000775 0000000 0000000 00000000000 14050521027 0024522 5 ustar 00root root 0000000 0000000 vertx-docgen-0.9.4/src/test/java/io/vertx/test/includecircular/package-info.java 0000664 0000000 0000000 00000000210 14050521027 0027702 0 ustar 00root root 0000000 0000000 /**
* {@link io.vertx.test.includecircular.sub1}
*/
@Document
package io.vertx.test.includecircular;
import io.vertx.docgen.Document; vertx-docgen-0.9.4/src/test/java/io/vertx/test/includecircular/sub1/ 0000775 0000000 0000000 00000000000 14050521027 0025374 5 ustar 00root root 0000000 0000000 vertx-docgen-0.9.4/src/test/java/io/vertx/test/includecircular/sub1/package-info.java 0000664 0000000 0000000 00000000142 14050521027 0030560 0 ustar 00root root 0000000 0000000 /**
* {@link io.vertx.test.includecircular.sub2}
*/
package io.vertx.test.includecircular.sub1;
vertx-docgen-0.9.4/src/test/java/io/vertx/test/includecircular/sub2/ 0000775 0000000 0000000 00000000000 14050521027 0025375 5 ustar 00root root 0000000 0000000 vertx-docgen-0.9.4/src/test/java/io/vertx/test/includecircular/sub2/package-info.java 0000664 0000000 0000000 00000000142 14050521027 0030561 0 ustar 00root root 0000000 0000000 /**
* {@link io.vertx.test.includecircular.sub1}
*/
package io.vertx.test.includecircular.sub2;
vertx-docgen-0.9.4/src/test/java/io/vertx/test/includeclassfromannotatedpkg/ 0000775 0000000 0000000 00000000000 14050521027 0027307 5 ustar 00root root 0000000 0000000 vertx-docgen-0.9.4/src/test/java/io/vertx/test/includeclassfromannotatedpkg/package-info.java 0000664 0000000 0000000 00000000307 14050521027 0032476 0 ustar 00root root 0000000 0000000 /**
* before_include{@link io.vertx.test.includeclassfromannotatedpkg.sub.TheExample}after_include
*/
@Document
package io.vertx.test.includeclassfromannotatedpkg;
import io.vertx.docgen.Document; vertx-docgen-0.9.4/src/test/java/io/vertx/test/includeclassfromannotatedpkg/sub/ 0000775 0000000 0000000 00000000000 14050521027 0030100 5 ustar 00root root 0000000 0000000 vertx-docgen-0.9.4/src/test/java/io/vertx/test/includeclassfromannotatedpkg/sub/TheExample.java 0000664 0000000 0000000 00000000271 14050521027 0032777 0 ustar 00root root 0000000 0000000 package io.vertx.test.includeclassfromannotatedpkg.sub;
public class TheExample {
// Some comment
private String f;
public void someMethod() {
System.out.println(f);
}
}
vertx-docgen-0.9.4/src/test/java/io/vertx/test/includeclassfromannotatedpkg/sub/package-info.java 0000664 0000000 0000000 00000000120 14050521027 0033260 0 ustar 00root root 0000000 0000000 @io.vertx.docgen.Source
package io.vertx.test.includeclassfromannotatedpkg.sub;
vertx-docgen-0.9.4/src/test/java/io/vertx/test/includemethodfromannotatedclass/ 0000775 0000000 0000000 00000000000 14050521027 0030006 5 ustar 00root root 0000000 0000000 vertx-docgen-0.9.4/src/test/java/io/vertx/test/includemethodfromannotatedclass/TheExample.java 0000664 0000000 0000000 00000001003 14050521027 0032677 0 ustar 00root root 0000000 0000000 package io.vertx.test.includemethodfromannotatedclass;
import io.vertx.docgen.Source;
import java.util.HashMap;
import java.util.Map;
/**
* @author Julien Viet
*/
@Source
public class TheExample {
public void someMethod() {
Map map = new HashMap<>();
// Some comment
//
if (true) {
// Indented 1
if (false) {
// Indented 2
}
}
map.put("abc", "def");
map.get("abc"); // Beyond last statement
}
}
vertx-docgen-0.9.4/src/test/java/io/vertx/test/includemethodfromannotatedclass/package-info.java 0000664 0000000 0000000 00000000273 14050521027 0033177 0 ustar 00root root 0000000 0000000 /**
*{@link io.vertx.test.includemethodfromannotatedclass.TheExample#someMethod()}
*/
@Document
package io.vertx.test.includemethodfromannotatedclass;
import io.vertx.docgen.Document;
vertx-docgen-0.9.4/src/test/java/io/vertx/test/includemethodfromannotatedmethod/ 0000775 0000000 0000000 00000000000 14050521027 0030161 5 ustar 00root root 0000000 0000000 vertx-docgen-0.9.4/src/test/java/io/vertx/test/includemethodfromannotatedmethod/TheExample.java 0000664 0000000 0000000 00000000373 14050521027 0033063 0 ustar 00root root 0000000 0000000 package io.vertx.test.includemethodfromannotatedmethod;
import io.vertx.docgen.Source;
/**
* @author Julien Viet
*/
public class TheExample {
@Source
public void someMethod() {
int a = 0;
}
}
vertx-docgen-0.9.4/src/test/java/io/vertx/test/includemethodfromannotatedmethod/package-info.java 0000664 0000000 0000000 00000000275 14050521027 0033354 0 ustar 00root root 0000000 0000000 /**
*{@link io.vertx.test.includemethodfromannotatedmethod.TheExample#someMethod()}
*/
@Document
package io.vertx.test.includemethodfromannotatedmethod;
import io.vertx.docgen.Document;
vertx-docgen-0.9.4/src/test/java/io/vertx/test/includemethodfromannotatedpkg/ 0000775 0000000 0000000 00000000000 14050521027 0027462 5 ustar 00root root 0000000 0000000 vertx-docgen-0.9.4/src/test/java/io/vertx/test/includemethodfromannotatedpkg/package-info.java 0000664 0000000 0000000 00000000273 14050521027 0032653 0 ustar 00root root 0000000 0000000 /**
*{@link io.vertx.test.includemethodfromannotatedpkg.sub.TheExample#someMethod()}
*/
@Document
package io.vertx.test.includemethodfromannotatedpkg;
import io.vertx.docgen.Document;
vertx-docgen-0.9.4/src/test/java/io/vertx/test/includemethodfromannotatedpkg/sub/ 0000775 0000000 0000000 00000000000 14050521027 0030253 5 ustar 00root root 0000000 0000000 vertx-docgen-0.9.4/src/test/java/io/vertx/test/includemethodfromannotatedpkg/sub/TheExample.java 0000664 0000000 0000000 00000000372 14050521027 0033154 0 ustar 00root root 0000000 0000000 package io.vertx.test.includemethodfromannotatedpkg.sub;
import io.vertx.docgen.Source;
/**
* @author Julien Viet
*/
@Source
public class TheExample {
public void someMethod() {
int a = 0;
}
}
vertx-docgen-0.9.4/src/test/java/io/vertx/test/includemethodfromannotatedpkg/sub/package-info.java 0000664 0000000 0000000 00000000141 14050521027 0033436 0 ustar 00root root 0000000 0000000 @Source
package io.vertx.test.includemethodfromannotatedpkg.sub;
import io.vertx.docgen.Source;
vertx-docgen-0.9.4/src/test/java/io/vertx/test/includenonexisting/ 0000775 0000000 0000000 00000000000 14050521027 0025263 5 ustar 00root root 0000000 0000000 vertx-docgen-0.9.4/src/test/java/io/vertx/test/includenonexisting/package-info.java 0000664 0000000 0000000 00000000165 14050521027 0030454 0 ustar 00root root 0000000 0000000 /**
* {@link non_existing}
*/
@Document
package io.vertx.test.includenonexisting;
import io.vertx.docgen.Document; vertx-docgen-0.9.4/src/test/java/io/vertx/test/includepkg/ 0000775 0000000 0000000 00000000000 14050521027 0023477 5 ustar 00root root 0000000 0000000 vertx-docgen-0.9.4/src/test/java/io/vertx/test/includepkg/package-info.java 0000664 0000000 0000000 00000000230 14050521027 0026661 0 ustar 00root root 0000000 0000000 /**
* before_include{@link io.vertx.test.includepkg.sub}after_include
*/
@Document
package io.vertx.test.includepkg;
import io.vertx.docgen.Document; vertx-docgen-0.9.4/src/test/java/io/vertx/test/includepkg/sub/ 0000775 0000000 0000000 00000000000 14050521027 0024270 5 ustar 00root root 0000000 0000000 vertx-docgen-0.9.4/src/test/java/io/vertx/test/includepkg/sub/package-info.java 0000664 0000000 0000000 00000000074 14050521027 0027460 0 ustar 00root root 0000000 0000000 /**
* sub_content
*/
package io.vertx.test.includepkg.sub; vertx-docgen-0.9.4/src/test/java/io/vertx/test/lang/ 0000775 0000000 0000000 00000000000 14050521027 0022273 5 ustar 00root root 0000000 0000000 vertx-docgen-0.9.4/src/test/java/io/vertx/test/lang/package-info.java 0000664 0000000 0000000 00000000150 14050521027 0025456 0 ustar 00root root 0000000 0000000 /**
* The \$lang is : $lang
*/
@Document
package io.vertx.test.lang;
import io.vertx.docgen.Document; vertx-docgen-0.9.4/src/test/java/io/vertx/test/linktoannotation/ 0000775 0000000 0000000 00000000000 14050521027 0024745 5 ustar 00root root 0000000 0000000 vertx-docgen-0.9.4/src/test/java/io/vertx/test/linktoannotation/TheAnnotation.java 0000664 0000000 0000000 00000000227 14050521027 0030364 0 ustar 00root root 0000000 0000000 package io.vertx.test.linktoannotation;
/**
* @author Julien Viet
*/
public @interface TheAnnotation {
}
vertx-docgen-0.9.4/src/test/java/io/vertx/test/linktoannotation/package-info.java 0000664 0000000 0000000 00000000223 14050521027 0030131 0 ustar 00root root 0000000 0000000 /**
* {@link io.vertx.test.linktoannotation.TheAnnotation}
*/
@Document
package io.vertx.test.linktoannotation;
import io.vertx.docgen.Document; vertx-docgen-0.9.4/src/test/java/io/vertx/test/linktoclass/ 0000775 0000000 0000000 00000000000 14050521027 0023700 5 ustar 00root root 0000000 0000000 vertx-docgen-0.9.4/src/test/java/io/vertx/test/linktoclass/TheClass.java 0000664 0000000 0000000 00000000210 14050521027 0026242 0 ustar 00root root 0000000 0000000 package io.vertx.test.linktoclass;
/**
* @author Julien Viet
*/
public class TheClass {
}
vertx-docgen-0.9.4/src/test/java/io/vertx/test/linktoclass/package-info.java 0000664 0000000 0000000 00000000204 14050521027 0027063 0 ustar 00root root 0000000 0000000 /**
* {@link io.vertx.test.linktoclass.TheClass}
*/
@Document
package io.vertx.test.linktoclass;
import io.vertx.docgen.Document; vertx-docgen-0.9.4/src/test/java/io/vertx/test/linktoconstructor/ 0000775 0000000 0000000 00000000000 14050521027 0025160 5 ustar 00root root 0000000 0000000 vertx-docgen-0.9.4/src/test/java/io/vertx/test/linktoconstructor/TheClass.java 0000664 0000000 0000000 00000000247 14050521027 0027534 0 ustar 00root root 0000000 0000000 package io.vertx.test.linktoconstructor;
/**
* @author Julien Viet
*/
public class TheClass {
public TheClass() {}
}
vertx-docgen-0.9.4/src/test/java/io/vertx/test/linktoconstructor/package-info.java 0000664 0000000 0000000 00000000327 14050521027 0030351 0 ustar 00root root 0000000 0000000 /**
*{@link io.vertx.test.linktoconstructor.TheClass#TheClass}
*{@link io.vertx.test.linktoconstructor.TheClass#TheClass()}
*/
@Document
package io.vertx.test.linktoconstructor;
import io.vertx.docgen.Document;
vertx-docgen-0.9.4/src/test/java/io/vertx/test/linktoenum/ 0000775 0000000 0000000 00000000000 14050521027 0023537 5 ustar 00root root 0000000 0000000 vertx-docgen-0.9.4/src/test/java/io/vertx/test/linktoenum/TheEnum.java 0000664 0000000 0000000 00000000205 14050521027 0025744 0 ustar 00root root 0000000 0000000 package io.vertx.test.linktoenum;
/**
* @author Julien Viet
*/
public enum TheEnum {
}
vertx-docgen-0.9.4/src/test/java/io/vertx/test/linktoenum/package-info.java 0000664 0000000 0000000 00000000201 14050521027 0026717 0 ustar 00root root 0000000 0000000 /**
* {@link io.vertx.test.linktoenum.TheEnum}
*/
@Document
package io.vertx.test.linktoenum;
import io.vertx.docgen.Document; vertx-docgen-0.9.4/src/test/java/io/vertx/test/linktoenumconstant/ 0000775 0000000 0000000 00000000000 14050521027 0025311 5 ustar 00root root 0000000 0000000 vertx-docgen-0.9.4/src/test/java/io/vertx/test/linktoenumconstant/TheEnum.java 0000664 0000000 0000000 00000000236 14050521027 0027522 0 ustar 00root root 0000000 0000000 package io.vertx.test.linktoenumconstant;
/**
* @author Julien Viet
*/
public enum TheEnum {
THE_CONSTANT
}
vertx-docgen-0.9.4/src/test/java/io/vertx/test/linktoenumconstant/package-info.java 0000664 0000000 0000000 00000000236 14050521027 0030501 0 ustar 00root root 0000000 0000000 /**
*{@link io.vertx.test.linktoenumconstant.TheEnum#THE_CONSTANT}
*/
@Document
package io.vertx.test.linktoenumconstant;
import io.vertx.docgen.Document;
vertx-docgen-0.9.4/src/test/java/io/vertx/test/linktofield/ 0000775 0000000 0000000 00000000000 14050521027 0023656 5 ustar 00root root 0000000 0000000 vertx-docgen-0.9.4/src/test/java/io/vertx/test/linktofield/TheClass.java 0000664 0000000 0000000 00000000236 14050521027 0026230 0 ustar 00root root 0000000 0000000 package io.vertx.test.linktofield;
/**
* @author Julien Viet
*/
public class TheClass {
public String f1;
}
vertx-docgen-0.9.4/src/test/java/io/vertx/test/linktofield/package-info.java 0000664 0000000 0000000 00000000207 14050521027 0027044 0 ustar 00root root 0000000 0000000 /**
*{@link io.vertx.test.linktofield.TheClass#f1}
*/
@Document
package io.vertx.test.linktofield;
import io.vertx.docgen.Document;
vertx-docgen-0.9.4/src/test/java/io/vertx/test/linktomethod/ 0000775 0000000 0000000 00000000000 14050521027 0024053 5 ustar 00root root 0000000 0000000 vertx-docgen-0.9.4/src/test/java/io/vertx/test/linktomethod/TheClass.java 0000664 0000000 0000000 00000001517 14050521027 0026430 0 ustar 00root root 0000000 0000000 package io.vertx.test.linktomethod;
import io.vertx.docgen.FooAnnotation;
import java.util.List;
/**
* @author Julien Viet
*/
public class TheClass {
public void m1() {}
public void m2(String arg) {}
public void m3(List arg) {}
public void m4(boolean arg) {}
public void m5(byte arg) {}
public void m6(short arg) {}
public void m7(int arg) {}
public void m8(long arg) {}
public void m9(float arg) {}
public void m10(double arg) {}
public void m11(char arg) {}
public void m12(T arg) {}
public > void m13(T arg) {}
public > void m14(T arg) {}
public void m15(String[] arg) {}
public void m16(String[][] arg) {}
public void m17(T[] arg) {}
public void m18(@FooAnnotation Object arg) {}
}
vertx-docgen-0.9.4/src/test/java/io/vertx/test/linktomethod/package-info.java 0000664 0000000 0000000 00000002757 14050521027 0027255 0 ustar 00root root 0000000 0000000 /**
*{@link io.vertx.test.linktomethod.TheClass#m1()}
*{@link io.vertx.test.linktomethod.TheClass#m1( )}
*{@link io.vertx.test.linktomethod.TheClass#m2(java.lang.String)}
*{@link io.vertx.test.linktomethod.TheClass#m2( java.lang.String)}
*{@link io.vertx.test.linktomethod.TheClass#m2(java.lang.String )}
*{@link io.vertx.test.linktomethod.TheClass#m3(java.util.List)}
*{@link io.vertx.test.linktomethod.TheClass#m3( java.util.List)}
*{@link io.vertx.test.linktomethod.TheClass#m3(java.util.List )}
*{@link io.vertx.test.linktomethod.TheClass#m4(boolean)}
*{@link io.vertx.test.linktomethod.TheClass#m5(byte)}
*{@link io.vertx.test.linktomethod.TheClass#m6(short)}
*{@link io.vertx.test.linktomethod.TheClass#m7(int)}
*{@link io.vertx.test.linktomethod.TheClass#m8(long)}
*{@link io.vertx.test.linktomethod.TheClass#m9(float)}
*{@link io.vertx.test.linktomethod.TheClass#m10(double)}
*{@link io.vertx.test.linktomethod.TheClass#m11(char)}
*{@link io.vertx.test.linktomethod.TheClass#m12(java.lang.Object)}
*{@link io.vertx.test.linktomethod.TheClass#m13(java.util.List)}
*{@link io.vertx.test.linktomethod.TheClass#m14(java.util.List)}
*{@link io.vertx.test.linktomethod.TheClass#m15(java.lang.String[])}
*{@link io.vertx.test.linktomethod.TheClass#m16(java.lang.String[][])}
*{@link io.vertx.test.linktomethod.TheClass#m17(java.lang.Object[])}
*{@link io.vertx.test.linktomethod.TheClass#m18(java.lang.Object)}
*/
@Document
package io.vertx.test.linktomethod;
import io.vertx.docgen.Document;
vertx-docgen-0.9.4/src/test/java/io/vertx/test/linktomethodmember/ 0000775 0000000 0000000 00000000000 14050521027 0025243 5 ustar 00root root 0000000 0000000 vertx-docgen-0.9.4/src/test/java/io/vertx/test/linktomethodmember/TheClass.java 0000664 0000000 0000000 00000000252 14050521027 0027613 0 ustar 00root root 0000000 0000000 package io.vertx.test.linktomethodmember;
/**
* @author Julien Viet
*/
public class TheClass {
public void m() {
}
}
vertx-docgen-0.9.4/src/test/java/io/vertx/test/linktomethodmember/package-info.java 0000664 0000000 0000000 00000000224 14050521027 0030430 0 ustar 00root root 0000000 0000000 /**
* {@link io.vertx.test.linktomethodmember.TheClass#m}
*/
@Document
package io.vertx.test.linktomethodmember;
import io.vertx.docgen.Document; vertx-docgen-0.9.4/src/test/java/io/vertx/test/linktomethodwithsimpletypename/ 0000775 0000000 0000000 00000000000 14050521027 0027724 5 ustar 00root root 0000000 0000000 vertx-docgen-0.9.4/src/test/java/io/vertx/test/linktomethodwithsimpletypename/TheClass.java 0000664 0000000 0000000 00000000526 14050521027 0032300 0 ustar 00root root 0000000 0000000 package io.vertx.test.linktomethodwithsimpletypename;
import java.util.List;
import java.util.Locale;
/**
* @author Julien Viet
*/
public class TheClass {
public void m1(Locale arg) {}
public void m2(String arg) {}
public void m3(Locale[] arg) {}
public void m4(List arg) {}
}
vertx-docgen-0.9.4/src/test/java/io/vertx/test/linktomethodwithsimpletypename/package-info.java 0000664 0000000 0000000 00000000672 14050521027 0033120 0 ustar 00root root 0000000 0000000 /**
*{@link io.vertx.test.linktomethodwithsimpletypename.TheClass#m1(Locale)}
*{@link io.vertx.test.linktomethodwithsimpletypename.TheClass#m2(String)}
*{@link io.vertx.test.linktomethodwithsimpletypename.TheClass#m3(Locale[])}
*{@link io.vertx.test.linktomethodwithsimpletypename.TheClass#m4(java.util.List)}
*/
@Document
package io.vertx.test.linktomethodwithsimpletypename;
import io.vertx.docgen.Document;
import java.util.Locale;
vertx-docgen-0.9.4/src/test/java/io/vertx/test/linktomethodwithunresolvabletype/ 0000775 0000000 0000000 00000000000 14050521027 0030273 5 ustar 00root root 0000000 0000000 vertx-docgen-0.9.4/src/test/java/io/vertx/test/linktomethodwithunresolvabletype/TheClass.java 0000664 0000000 0000000 00000000276 14050521027 0032651 0 ustar 00root root 0000000 0000000 package io.vertx.test.linktomethodwithunresolvabletype;
/**
* @author Julien Viet
*/
public class TheClass {
public void m(String s) {
}
}
vertx-docgen-0.9.4/src/test/java/io/vertx/test/linktomethodwithunresolvabletype/package-info.java 0000664 0000000 0000000 00000000270 14050521027 0033461 0 ustar 00root root 0000000 0000000 /**
*{@link io.vertx.test.linktomethodwithunresolvabletype.TheClass#m(foobar)}
*/
@Document
package io.vertx.test.linktomethodwithunresolvabletype;
import io.vertx.docgen.Document;
vertx-docgen-0.9.4/src/test/java/io/vertx/test/linktopackage/ 0000775 0000000 0000000 00000000000 14050521027 0024166 5 ustar 00root root 0000000 0000000 vertx-docgen-0.9.4/src/test/java/io/vertx/test/linktopackage/package-info.java 0000664 0000000 0000000 00000000203 14050521027 0027350 0 ustar 00root root 0000000 0000000 /**
*{@link io.vertx.test.linktopackage.sub}
*/
@Document
package io.vertx.test.linktopackage;
import io.vertx.docgen.Document;
vertx-docgen-0.9.4/src/test/java/io/vertx/test/linktopackage/sub/ 0000775 0000000 0000000 00000000000 14050521027 0024757 5 ustar 00root root 0000000 0000000 vertx-docgen-0.9.4/src/test/java/io/vertx/test/linktopackage/sub/package-info.java 0000664 0000000 0000000 00000000152 14050521027 0030144 0 ustar 00root root 0000000 0000000 /**
* something
*/
@Document
package io.vertx.test.linktopackage.sub;
import io.vertx.docgen.Document;
vertx-docgen-0.9.4/src/test/java/io/vertx/test/linktosamenameconstructorandmethod/ 0000775 0000000 0000000 00000000000 14050521027 0030553 5 ustar 00root root 0000000 0000000 vertx-docgen-0.9.4/src/test/java/io/vertx/test/linktosamenameconstructorandmethod/TheClass.java 0000664 0000000 0000000 00000000445 14050521027 0033127 0 ustar 00root root 0000000 0000000 package io.vertx.test.linktosamenameconstructorandmethod;
/**
* @author Julien Viet
*/
public class TheClass {
public TheClass() {
}
public TheClass(String s) {
}
public void TheClass() {
}
public void TheClass(String s) {
}
}
vertx-docgen-0.9.4/src/test/java/io/vertx/test/linktosamenameconstructorandmethod/package-info.java 0000664 0000000 0000000 00000000551 14050521027 0033743 0 ustar 00root root 0000000 0000000 /**
*{@link io.vertx.test.linktosamenameconstructorandmethod.TheClass#TheClass}
*{@link io.vertx.test.linktosamenameconstructorandmethod.TheClass#TheClass()}
*{@link io.vertx.test.linktosamenameconstructorandmethod.TheClass#TheClass(java.lang.String)}
*/
@Document
package io.vertx.test.linktosamenameconstructorandmethod;
import io.vertx.docgen.Document;
vertx-docgen-0.9.4/src/test/java/io/vertx/test/linktosamenamefieldandmethod/ 0000775 0000000 0000000 00000000000 14050521027 0027251 5 ustar 00root root 0000000 0000000 vertx-docgen-0.9.4/src/test/java/io/vertx/test/linktosamenamefieldandmethod/TheClass.java 0000664 0000000 0000000 00000000321 14050521027 0031616 0 ustar 00root root 0000000 0000000 package io.vertx.test.linktosamenamefieldandmethod;
/**
* @author Julien Viet
*/
public class TheClass {
public void member() {
}
public String member;
}
vertx-docgen-0.9.4/src/test/java/io/vertx/test/linktosamenamefieldandmethod/package-info.java 0000664 0000000 0000000 00000000364 14050521027 0032443 0 ustar 00root root 0000000 0000000 /**
*{@link io.vertx.test.linktosamenamefieldandmethod.TheClass#member}
*{@link io.vertx.test.linktosamenamefieldandmethod.TheClass#member()}
*/
@Document
package io.vertx.test.linktosamenamefieldandmethod;
import io.vertx.docgen.Document;
vertx-docgen-0.9.4/src/test/java/io/vertx/test/linktostaticfield/ 0000775 0000000 0000000 00000000000 14050521027 0025066 5 ustar 00root root 0000000 0000000 vertx-docgen-0.9.4/src/test/java/io/vertx/test/linktostaticfield/TheClass.java 0000664 0000000 0000000 00000000253 14050521027 0027437 0 ustar 00root root 0000000 0000000 package io.vertx.test.linktostaticfield;
/**
* @author Julien Viet
*/
public class TheClass {
public static String f1;
}
vertx-docgen-0.9.4/src/test/java/io/vertx/test/linktostaticfield/package-info.java 0000664 0000000 0000000 00000000223 14050521027 0030252 0 ustar 00root root 0000000 0000000 /**
*{@link io.vertx.test.linktostaticfield.TheClass#f1}
*/
@Document
package io.vertx.test.linktostaticfield;
import io.vertx.docgen.Document;
vertx-docgen-0.9.4/src/test/java/io/vertx/test/linktostaticmethod/ 0000775 0000000 0000000 00000000000 14050521027 0025263 5 ustar 00root root 0000000 0000000 vertx-docgen-0.9.4/src/test/java/io/vertx/test/linktostaticmethod/TheClass.java 0000664 0000000 0000000 00000000255 14050521027 0027636 0 ustar 00root root 0000000 0000000 package io.vertx.test.linktostaticmethod;
/**
* @author Julien Viet
*/
public class TheClass {
public static void m() {}
}
vertx-docgen-0.9.4/src/test/java/io/vertx/test/linktostaticmethod/package-info.java 0000664 0000000 0000000 00000000226 14050521027 0030452 0 ustar 00root root 0000000 0000000 /**
*{@link io.vertx.test.linktostaticmethod.TheClass#m()}
*/
@Document
package io.vertx.test.linktostaticmethod;
import io.vertx.docgen.Document;
vertx-docgen-0.9.4/src/test/java/io/vertx/test/linkunresolved/ 0000775 0000000 0000000 00000000000 14050521027 0024416 5 ustar 00root root 0000000 0000000 vertx-docgen-0.9.4/src/test/java/io/vertx/test/linkunresolved/TheClass.java 0000664 0000000 0000000 00000000101 14050521027 0026757 0 ustar 00root root 0000000 0000000 package io.vertx.test.linkunresolved;
public class TheClass {
}
vertx-docgen-0.9.4/src/test/java/io/vertx/test/linkunresolved/package-info.java 0000664 0000000 0000000 00000000212 14050521027 0027600 0 ustar 00root root 0000000 0000000 /**
* {@link io.vertx.test.linkunresolved.TheClass}
*/
@Document
package io.vertx.test.linkunresolved;
import io.vertx.docgen.Document; vertx-docgen-0.9.4/src/test/java/io/vertx/test/linkunresolvedtypewithsignature/ 0000775 0000000 0000000 00000000000 14050521027 0030136 5 ustar 00root root 0000000 0000000 vertx-docgen-0.9.4/src/test/java/io/vertx/test/linkunresolvedtypewithsignature/package-info.java 0000664 0000000 0000000 00000000271 14050521027 0033325 0 ustar 00root root 0000000 0000000 /**
* {@link io.vertx.test.linkunresolvedtypewithsignature.DoesNotExist#whatever}
*/
@Document
package io.vertx.test.linkunresolvedtypewithsignature;
import io.vertx.docgen.Document; vertx-docgen-0.9.4/src/test/java/io/vertx/test/linkwithlabel/ 0000775 0000000 0000000 00000000000 14050521027 0024203 5 ustar 00root root 0000000 0000000 vertx-docgen-0.9.4/src/test/java/io/vertx/test/linkwithlabel/TheClass.java 0000664 0000000 0000000 00000000241 14050521027 0026551 0 ustar 00root root 0000000 0000000 package io.vertx.test.linkwithlabel;
/**
* @author Julien Viet
*/
public class TheClass {
public void m() {}
}
vertx-docgen-0.9.4/src/test/java/io/vertx/test/linkwithlabel/package-info.java 0000664 0000000 0000000 00000000234 14050521027 0027371 0 ustar 00root root 0000000 0000000 /**
*{@link io.vertx.test.linkwithlabel.TheClass#m() the label value}
*/
@Document
package io.vertx.test.linkwithlabel;
import io.vertx.docgen.Document;
vertx-docgen-0.9.4/src/test/java/io/vertx/test/margin/ 0000775 0000000 0000000 00000000000 14050521027 0022627 5 ustar 00root root 0000000 0000000 vertx-docgen-0.9.4/src/test/java/io/vertx/test/margin/package-info.java 0000664 0000000 0000000 00000000141 14050521027 0026012 0 ustar 00root root 0000000 0000000 /**
* A
* B
* C
*/
@Document
package io.vertx.test.margin;
import io.vertx.docgen.Document;
vertx-docgen-0.9.4/src/test/java/io/vertx/test/markup/ 0000775 0000000 0000000 00000000000 14050521027 0022651 5 ustar 00root root 0000000 0000000 vertx-docgen-0.9.4/src/test/java/io/vertx/test/markup/package-info.java 0000664 0000000 0000000 00000000234 14050521027 0026037 0 ustar 00root root 0000000 0000000 /**
* abc_content
* def_content
*
*/
@Document
package io.vertx.test.markup;
import io.vertx.docgen.Document;
vertx-docgen-0.9.4/src/test/java/io/vertx/test/postprocessors/ 0000775 0000000 0000000 00000000000 14050521027 0024462 5 ustar 00root root 0000000 0000000 vertx-docgen-0.9.4/src/test/java/io/vertx/test/postprocessors/README.md 0000664 0000000 0000000 00000000071 14050521027 0025737 0 ustar 00root root 0000000 0000000 Contains the resources required to tests post-processors. vertx-docgen-0.9.4/src/test/java/io/vertx/test/postprocessors/code/ 0000775 0000000 0000000 00000000000 14050521027 0025374 5 ustar 00root root 0000000 0000000 vertx-docgen-0.9.4/src/test/java/io/vertx/test/postprocessors/code/package-info.java 0000664 0000000 0000000 00000000452 14050521027 0030564 0 ustar 00root root 0000000 0000000 /**
* This document checks that code are not stripped by post-processors.
*
* [source,java]
* ----
* System.out.println("Hello");
* ----
*
* [source]
* ----
* System.out.println("Bye");
* ----
*/
@Document() package io.vertx.test.postprocessors.code;
import io.vertx.docgen.Document; vertx-docgen-0.9.4/src/test/java/io/vertx/test/postprocessors/language/ 0000775 0000000 0000000 00000000000 14050521027 0026245 5 ustar 00root root 0000000 0000000 vertx-docgen-0.9.4/src/test/java/io/vertx/test/postprocessors/language/package-info.java 0000664 0000000 0000000 00000000655 14050521027 0031442 0 ustar 00root root 0000000 0000000 /**
* This document should be different according to the language.
*
* [language,java]
* ----
* This is only displayed for java. But it can have...
* Several lines.
* ----
*
* [language, javascript, ruby]
* ----
* This is only displayed for javascript and ruby.
* ----
*
* This is some text. Very important stuff...
*
*/
@Document()
package io.vertx.test.postprocessors.language;
import io.vertx.docgen.Document; vertx-docgen-0.9.4/src/test/java/io/vertx/test/postprocessors/links/ 0000775 0000000 0000000 00000000000 14050521027 0025602 5 ustar 00root root 0000000 0000000 vertx-docgen-0.9.4/src/test/java/io/vertx/test/postprocessors/links/package-info.java 0000664 0000000 0000000 00000000404 14050521027 0030767 0 ustar 00root root 0000000 0000000 /**
* This document checks post-rpcessor content is processed.
*
* [test]
* ----
* This paragraph contains a link: {@link io.vertx.docgen.BaseProcessor}.
* ----
*/
@Document() package io.vertx.test.postprocessors.links;
import io.vertx.docgen.Document; vertx-docgen-0.9.4/src/test/java/io/vertx/test/postprocessors/missing/ 0000775 0000000 0000000 00000000000 14050521027 0026133 5 ustar 00root root 0000000 0000000 vertx-docgen-0.9.4/src/test/java/io/vertx/test/postprocessors/missing/package-info.java 0000664 0000000 0000000 00000000354 14050521027 0031324 0 ustar 00root root 0000000 0000000 /**
* This document checks that missing post-processor contents stay untouched.
*
* [missing]
* ----
* This should be included.
* ----
*/
@Document() package io.vertx.test.postprocessors.missing;
import io.vertx.docgen.Document; vertx-docgen-0.9.4/src/test/java/io/vertx/test/postprocessors/nested/ 0000775 0000000 0000000 00000000000 14050521027 0025744 5 ustar 00root root 0000000 0000000 vertx-docgen-0.9.4/src/test/java/io/vertx/test/postprocessors/nested/package-info.java 0000664 0000000 0000000 00000000434 14050521027 0031134 0 ustar 00root root 0000000 0000000 /**
* This document checks that post-processor blocks can contain nested blocks.
*
* [language,java]
* ----
* [source,java]
* \----
* System.out.println("Hello");
* \----
* ----
*
*/
@Document() package io.vertx.test.postprocessors.nested;
import io.vertx.docgen.Document; vertx-docgen-0.9.4/src/test/java/io/vertx/test/source/ 0000775 0000000 0000000 00000000000 14050521027 0022652 5 ustar 00root root 0000000 0000000 vertx-docgen-0.9.4/src/test/java/io/vertx/test/source/Example.java 0000664 0000000 0000000 00000000305 14050521027 0025106 0 ustar 00root root 0000000 0000000 package io.vertx.test.source;
import io.vertx.docgen.Source;
/**
* Dummy class used in tests.
*/
@Source
public class Example {
public void hello() {
System.out.println("Hello");
}
}
vertx-docgen-0.9.4/src/test/java/io/vertx/test/source/ExampleNotTranslated.java 0000664 0000000 0000000 00000000373 14050521027 0027616 0 ustar 00root root 0000000 0000000 package io.vertx.test.source;
import io.vertx.docgen.Source;
/**
* The code from this class must not be translated.
*/
@Source(translate = false)
public class ExampleNotTranslated {
public void hello() {
System.out.println("Hello");
}
}
vertx-docgen-0.9.4/src/test/java/io/vertx/test/source/notTranslated/ 0000775 0000000 0000000 00000000000 14050521027 0025474 5 ustar 00root root 0000000 0000000 vertx-docgen-0.9.4/src/test/java/io/vertx/test/source/notTranslated/Example.java 0000664 0000000 0000000 00000000323 14050521027 0027730 0 ustar 00root root 0000000 0000000 package io.vertx.test.source.notTranslated;
import io.vertx.docgen.Source;
/**
* Dummy class used in tests.
*/
@Source
public class Example {
public void hello() {
System.out.println("Hello");
}
}
vertx-docgen-0.9.4/src/test/java/io/vertx/test/source/notTranslated/package-info.java 0000664 0000000 0000000 00000000146 14050521027 0030664 0 ustar 00root root 0000000 0000000 @Source(translate = false)
package io.vertx.test.source.notTranslated;
import io.vertx.docgen.Source; vertx-docgen-0.9.4/src/test/java/io/vertx/test/source/notTranslated/sub/ 0000775 0000000 0000000 00000000000 14050521027 0026265 5 ustar 00root root 0000000 0000000 vertx-docgen-0.9.4/src/test/java/io/vertx/test/source/notTranslated/sub/Example.java 0000664 0000000 0000000 00000000303 14050521027 0030517 0 ustar 00root root 0000000 0000000 package io.vertx.test.source.notTranslated.sub;
import io.vertx.docgen.Source;
@Source(translate = true)
public class Example {
public void hello() {
System.out.println("Hello");
}
}
vertx-docgen-0.9.4/src/test/java/io/vertx/test/source/package-info.java 0000664 0000000 0000000 00000001263 14050521027 0026043 0 ustar 00root root 0000000 0000000 /**
* # 1
* [source, $lang]
* ----
* {@link io.vertx.test.source.Example#hello()}
* ----
* # 2
* [source, $lang]
* ----
* {@link io.vertx.test.source.ExampleNotTranslated#hello()}
* ----
* # 3
* [source, $lang]
* ----
* {@link io.vertx.test.source.translated.Example#hello()}
* ----
* # 4
* [source, $lang]
* ----
* {@link io.vertx.test.source.translated.sub.Example#hello()}
* ----
* # 5
* [source, java]
* ----
* {@link io.vertx.test.source.notTranslated.Example#hello()}
* ----
* # 6
* [source, java]
* ----
* {@link io.vertx.test.source.notTranslated.sub.Example#hello()}
* ----
*/
@Document
package io.vertx.test.source;
import io.vertx.docgen.Document;
vertx-docgen-0.9.4/src/test/java/io/vertx/test/source/translated/ 0000775 0000000 0000000 00000000000 14050521027 0025013 5 ustar 00root root 0000000 0000000 vertx-docgen-0.9.4/src/test/java/io/vertx/test/source/translated/Example.java 0000664 0000000 0000000 00000000320 14050521027 0027244 0 ustar 00root root 0000000 0000000 package io.vertx.test.source.translated;
import io.vertx.docgen.Source;
/**
* Dummy class used in tests.
*/
@Source
public class Example {
public void hello() {
System.out.println("Hello");
}
}
vertx-docgen-0.9.4/src/test/java/io/vertx/test/source/translated/package-info.java 0000664 0000000 0000000 00000000120 14050521027 0030173 0 ustar 00root root 0000000 0000000 @Source
package io.vertx.test.source.translated;
import io.vertx.docgen.Source; vertx-docgen-0.9.4/src/test/java/io/vertx/test/source/translated/sub/ 0000775 0000000 0000000 00000000000 14050521027 0025604 5 ustar 00root root 0000000 0000000 vertx-docgen-0.9.4/src/test/java/io/vertx/test/source/translated/sub/Example.java 0000664 0000000 0000000 00000000302 14050521027 0030035 0 ustar 00root root 0000000 0000000 package io.vertx.test.source.translated.sub;
import io.vertx.docgen.Source;
@Source(translate = false)
public class Example {
public void hello() {
System.out.println("Hello");
}
}
vertx-docgen-0.9.4/src/test/java/io/vertx/test/unknowntag/ 0000775 0000000 0000000 00000000000 14050521027 0023545 5 ustar 00root root 0000000 0000000 vertx-docgen-0.9.4/src/test/java/io/vertx/test/unknowntag/package-info.java 0000664 0000000 0000000 00000000214 14050521027 0026731 0 ustar 00root root 0000000 0000000 /**
* before
* @sometag should not be stripped
* after
*/
@Document
package io.vertx.test.unknowntag;
import io.vertx.docgen.Document;
vertx-docgen-0.9.4/src/test/java/io/vertx/test/variables/ 0000775 0000000 0000000 00000000000 14050521027 0023322 5 ustar 00root root 0000000 0000000 vertx-docgen-0.9.4/src/test/java/io/vertx/test/variables/package-info.java 0000664 0000000 0000000 00000000165 14050521027 0026513 0 ustar 00root root 0000000 0000000 /**
* ${foo} ${missing} ${baz} ${}
*/
@Document
package io.vertx.test.variables;
import io.vertx.docgen.Document;
vertx-docgen-0.9.4/src/test/resources/ 0000775 0000000 0000000 00000000000 14050521027 0017705 5 ustar 00root root 0000000 0000000 vertx-docgen-0.9.4/src/test/resources/docs/ 0000775 0000000 0000000 00000000000 14050521027 0020635 5 ustar 00root root 0000000 0000000 vertx-docgen-0.9.4/src/test/resources/docs/dir/ 0000775 0000000 0000000 00000000000 14050521027 0021413 5 ustar 00root root 0000000 0000000 vertx-docgen-0.9.4/src/test/resources/docs/dir/bar.adoc 0000664 0000000 0000000 00000000014 14050521027 0023002 0 ustar 00root root 0000000 0000000 bar_content
vertx-docgen-0.9.4/src/test/resources/docs/dir/foo.adoc 0000664 0000000 0000000 00000000014 14050521027 0023021 0 ustar 00root root 0000000 0000000 foo_content
vertx-docgen-0.9.4/src/test/resources/docs/dir/juu/ 0000775 0000000 0000000 00000000000 14050521027 0022216 5 ustar 00root root 0000000 0000000 vertx-docgen-0.9.4/src/test/resources/docs/dir/juu/daa.adoc 0000664 0000000 0000000 00000000014 14050521027 0023566 0 ustar 00root root 0000000 0000000 daa_content
vertx-docgen-0.9.4/src/test/resources/docs/include.adoc 0000664 0000000 0000000 00000000101 14050521027 0023100 0 ustar 00root root 0000000 0000000 {@link io.vertx.test.file.TheExample#someMethod()}