21 lines
511 B
Java
21 lines
511 B
Java
package org.gcube.informationsystem.utils.documentation;
|
|
|
|
import java.io.File;
|
|
import java.net.URL;
|
|
|
|
import org.junit.Test;
|
|
|
|
/**
|
|
* @author Luca Frosini (ISTI - CNR)
|
|
*/
|
|
public class GenerateTest {
|
|
|
|
@Test
|
|
public void testDocGeneration() throws Exception {
|
|
URL jsonFileURL = this.getClass().getClassLoader().getResource("logback-test.xml");
|
|
File file = new File(jsonFileURL.toURI());
|
|
DocGenerator documentationGenerator = new DocGenerator(file.getParentFile());
|
|
documentationGenerator.generate();
|
|
}
|
|
}
|