Imported fixed + octal support.
This commit is contained in:
parent
0c811208ec
commit
f08629dba0
120 changed files with 4881 additions and 1862 deletions
|
|
@ -14,24 +14,10 @@
|
|||
<dependency>
|
||||
<groupId>org.x4o</groupId>
|
||||
<artifactId>x4o-driver</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.x4o</groupId>
|
||||
<artifactId>x4o-html</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>de.odysseus.juel</groupId>
|
||||
<artifactId>juel</artifactId>
|
||||
<version>${juel.version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>junit</groupId>
|
||||
<artifactId>junit</artifactId>
|
||||
<version>${junit.version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.x4o</groupId>
|
||||
|
|
@ -41,24 +27,9 @@
|
|||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>xerces</groupId>
|
||||
<artifactId>xercesImpl</artifactId>
|
||||
<version>${xerces.version}</version>
|
||||
<groupId>org.junit.jupiter</groupId>
|
||||
<artifactId>junit-jupiter</artifactId>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<build>
|
||||
<pluginManagement>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-site-plugin</artifactId>
|
||||
<version>${maven-site-plugin.version}</version>
|
||||
<configuration>
|
||||
<siteDirectory>${project.basedir}/../src/site-child</siteDirectory>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</pluginManagement>
|
||||
</build>
|
||||
</project>
|
||||
|
|
|
|||
|
|
@ -24,6 +24,8 @@ package org.x4o.xml.eld.doc;
|
|||
|
||||
import java.io.File;
|
||||
|
||||
import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.x4o.xml.X4ODriver;
|
||||
import org.x4o.xml.X4ODriverManager;
|
||||
import org.x4o.xml.eld.CelDriver;
|
||||
|
|
@ -32,15 +34,13 @@ import org.x4o.xml.io.sax.ext.PropertyConfig;
|
|||
import org.x4o.xml.lang.task.X4OLanguageTask;
|
||||
import org.x4o.xml.test.TestDriver;
|
||||
|
||||
import junit.framework.TestCase;
|
||||
|
||||
/**
|
||||
* Test for eld doc generation
|
||||
*
|
||||
* @author Willem Cazander
|
||||
* @version 1.0 Aug 26, 2010
|
||||
*/
|
||||
public class X4OWriteLanguageDocExecutorTest extends TestCase {
|
||||
public class X4OWriteLanguageDocExecutorTest {
|
||||
|
||||
private File createOutputPath(String dir) throws Exception {
|
||||
File result = new File("target/tests"+File.separator+dir);
|
||||
|
|
@ -57,23 +57,27 @@ public class X4OWriteLanguageDocExecutorTest extends TestCase {
|
|||
File outputPath = createOutputPath(outputPostfix);
|
||||
config.setProperty(EldDocWriter.OUTPUT_PATH,outputPath);
|
||||
task.createTaskExecutor(config).execute(driver.createLanguage());
|
||||
assertTrue(outputPath.exists());
|
||||
assertTrue(outputPath.list()!=null);
|
||||
assertTrue(outputPath.list().length>2);
|
||||
Assertions.assertTrue(outputPath.exists());
|
||||
Assertions.assertTrue(outputPath.list()!=null);
|
||||
Assertions.assertTrue(outputPath.list().length>2);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testCelDoc() throws Exception {
|
||||
testDoc(CelDriver.LANGUAGE_NAME,"junit-doc-cel");
|
||||
}
|
||||
|
||||
|
||||
@Test
|
||||
public void testEldDoc() throws Exception {
|
||||
testDoc(EldDriver.LANGUAGE_NAME,"junit-doc-eld");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testUnitDoc() throws Exception {
|
||||
testDoc(TestDriver.LANGUAGE_NAME,"junit-doc-test");
|
||||
}
|
||||
/*
|
||||
@Test
|
||||
public void testSwiXml2Doc() throws Exception {
|
||||
testDoc(EldDriver.LANGUAGE_NAME,"junit-doc-eld");
|
||||
EldDocLanguageTask writer = new EldDocLanguageTask();
|
||||
|
|
@ -83,6 +87,7 @@ public class X4OWriteLanguageDocExecutorTest extends TestCase {
|
|||
writer.execute();
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testSwiXml3Doc() throws Exception {
|
||||
testDoc(EldDriver.LANGUAGE_NAME,"junit-doc-eld");
|
||||
EldDocLanguageTask writer = new EldDocLanguageTask();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue