[FOray-commit] SF.net SVN: foray: [8400] trunk/foray
Modular XSL-FO Implementation for Java.
Status: Alpha
Brought to you by:
victormote
|
From: <vic...@us...> - 2006-10-21 15:17:19
|
Revision: 8400
http://svn.sourceforge.net/foray/?rev=8400&view=rev
Author: victormote
Date: 2006-10-21 08:16:47 -0700 (Sat, 21 Oct 2006)
Log Message:
-----------
Add some basic testing classes and the infrastructure to use them.
Modified Paths:
--------------
trunk/foray/foray-app/.classpath
trunk/foray/foray-fotree/.classpath
trunk/foray/scripts/checkstyle-suppressions.xml
Added Paths:
-----------
trunk/foray/foray-app/src/javatest/
trunk/foray/foray-app/src/javatest/org/
trunk/foray/foray-app/src/javatest/org/foray/
trunk/foray/foray-app/src/javatest/org/foray/app/
trunk/foray/foray-app/src/javatest/org/foray/app/TestFOrayAll.java
trunk/foray/foray-fotree/src/javatest/
trunk/foray/foray-fotree/src/javatest/org/
trunk/foray/foray-fotree/src/javatest/org/foray/
trunk/foray/foray-fotree/src/javatest/org/foray/fotree/
trunk/foray/foray-fotree/src/javatest/org/foray/fotree/TestFOrayFOTree.java
trunk/foray/foray-fotree/src/javatest/org/foray/fotree/value/
trunk/foray/foray-fotree/src/javatest/org/foray/fotree/value/TestDtLength.java
Modified: trunk/foray/foray-app/.classpath
===================================================================
--- trunk/foray/foray-app/.classpath 2006-10-21 15:06:05 UTC (rev 8399)
+++ trunk/foray/foray-app/.classpath 2006-10-21 15:16:47 UTC (rev 8400)
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry excluding=".#*" kind="src" path="src/java"/>
+ <classpathentry kind="src" path="src/javatest"/>
<classpathentry kind="src" path="scripts"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="src" path="/FOrayCommon"/>
@@ -37,5 +38,6 @@
<classpathentry combineaccessrules="false" kind="src" path="/axslHyphen-R"/>
<classpathentry combineaccessrules="false" kind="src" path="/FOrayHyphen-R"/>
<classpathentry kind="var" path="FORAY_LIB_ROOT/foray-hyphen-r-0.3-rsrc.jar"/>
+ <classpathentry kind="lib" path="/FOrayLibsBuild/junit/junit.jar"/>
<classpathentry kind="output" path="build/eclipse"/>
</classpath>
Added: trunk/foray/foray-app/src/javatest/org/foray/app/TestFOrayAll.java
===================================================================
--- trunk/foray/foray-app/src/javatest/org/foray/app/TestFOrayAll.java (rev 0)
+++ trunk/foray/foray-app/src/javatest/org/foray/app/TestFOrayAll.java 2006-10-21 15:16:47 UTC (rev 8400)
@@ -0,0 +1,52 @@
+/*
+ * Copyright 2006 The FOray Project.
+ * http://www.foray.org
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * This work is in part derived from the following work(s), used with the
+ * permission of the licensor:
+ * Apache FOP, licensed by the Apache Software Foundation
+ *
+ */
+
+/*
+ * $LastChangedRevision$
+ * $LastChangedDate$
+ * $LastChangedBy$
+ */
+
+package org.foray.app;
+
+import org.foray.fotree.TestFOrayFOTree;
+
+import junit.framework.Test;
+import junit.framework.TestCase;
+import junit.framework.TestSuite;
+
+/**
+ * Master Test harness for all FOray modules.
+ */
+public class TestFOrayAll extends TestCase {
+
+ /**
+ * Builds a test suite for modules in FOray.
+ * @return The built test suite.
+ */
+ public static Test suite() {
+ final TestSuite testSuite = new TestSuite();
+ testSuite.addTestSuite(TestFOrayFOTree.class);
+ return testSuite;
+ }
+
+}
Property changes on: trunk/foray/foray-app/src/javatest/org/foray/app/TestFOrayAll.java
___________________________________________________________________
Name: svn:keywords
+ "Author Id Rev Date URL"
Name: svn:eol-style
+ native
Modified: trunk/foray/foray-fotree/.classpath
===================================================================
--- trunk/foray/foray-fotree/.classpath 2006-10-21 15:06:05 UTC (rev 8399)
+++ trunk/foray/foray-fotree/.classpath 2006-10-21 15:16:47 UTC (rev 8400)
@@ -3,6 +3,7 @@
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="src" path="/FOrayCommon"/>
<classpathentry excluding=".#*" kind="src" path="src/java"/>
+ <classpathentry kind="src" path="src/javatest"/>
<classpathentry kind="src" path="scripts"/>
<classpathentry kind="src" path="/axslFont-R"/>
<classpathentry kind="src" path="/axslGraphic-R"/>
@@ -11,5 +12,6 @@
<classpathentry kind="src" path="/axslText"/>
<classpathentry kind="var" path="FORAY_LIB_ROOT/batik.jar"/>
<classpathentry kind="var" path="FORAY_LIB_ROOT/commons-logging.jar"/>
+ <classpathentry kind="lib" path="/FOrayLibsBuild/junit/junit.jar"/>
<classpathentry kind="output" path="build/eclipse"/>
</classpath>
Added: trunk/foray/foray-fotree/src/javatest/org/foray/fotree/TestFOrayFOTree.java
===================================================================
--- trunk/foray/foray-fotree/src/javatest/org/foray/fotree/TestFOrayFOTree.java (rev 0)
+++ trunk/foray/foray-fotree/src/javatest/org/foray/fotree/TestFOrayFOTree.java 2006-10-21 15:16:47 UTC (rev 8400)
@@ -0,0 +1,52 @@
+/*
+ * Copyright 2006 The FOray Project.
+ * http://www.foray.org
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * This work is in part derived from the following work(s), used with the
+ * permission of the licensor:
+ * Apache FOP, licensed by the Apache Software Foundation
+ *
+ */
+
+/*
+ * $LastChangedRevision$
+ * $LastChangedDate$
+ * $LastChangedBy$
+ */
+
+package org.foray.fotree;
+
+import org.foray.fotree.value.TestDtLength;
+
+import junit.framework.Test;
+import junit.framework.TestCase;
+import junit.framework.TestSuite;
+
+/**
+ * Handles testing for the FOrayFOTree module.
+ */
+public class TestFOrayFOTree extends TestCase {
+
+ /**
+ * Builds a test suite for all classes in this module.
+ * @return The built test suite.
+ */
+ public static Test suite() {
+ final TestSuite testSuite = new TestSuite();
+ testSuite.addTestSuite(TestDtLength.class);
+ return testSuite;
+ }
+
+}
Property changes on: trunk/foray/foray-fotree/src/javatest/org/foray/fotree/TestFOrayFOTree.java
___________________________________________________________________
Name: svn:keywords
+ "Author Id Rev Date URL"
Name: svn:eol-style
+ native
Added: trunk/foray/foray-fotree/src/javatest/org/foray/fotree/value/TestDtLength.java
===================================================================
--- trunk/foray/foray-fotree/src/javatest/org/foray/fotree/value/TestDtLength.java (rev 0)
+++ trunk/foray/foray-fotree/src/javatest/org/foray/fotree/value/TestDtLength.java 2006-10-21 15:16:47 UTC (rev 8400)
@@ -0,0 +1,44 @@
+/*
+ * Copyright 2006 The FOray Project.
+ * http://www.foray.org
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * This work is in part derived from the following work(s), used with the
+ * permission of the licensor:
+ * Apache FOP, licensed by the Apache Software Foundation
+ *
+ */
+
+/*
+ * $LastChangedRevision$
+ * $LastChangedDate$
+ * $LastChangedBy$
+ */
+
+package org.foray.fotree.value;
+
+import junit.framework.TestCase;
+
+/**
+ * JUnit test class for the class {@link DtLength}.
+ */
+public class TestDtLength extends TestCase {
+
+/**
+ * Unit test for a centimeter length.
+ */
+public void testCentimeters() {
+}
+
+}
Property changes on: trunk/foray/foray-fotree/src/javatest/org/foray/fotree/value/TestDtLength.java
___________________________________________________________________
Name: svn:keywords
+ "Author Id Rev Date URL"
Name: svn:eol-style
+ native
Modified: trunk/foray/scripts/checkstyle-suppressions.xml
===================================================================
--- trunk/foray/scripts/checkstyle-suppressions.xml 2006-10-21 15:06:05 UTC (rev 8399)
+++ trunk/foray/scripts/checkstyle-suppressions.xml 2006-10-21 15:16:47 UTC (rev 8400)
@@ -47,4 +47,8 @@
<suppress checks="MagicNumber"
files="org.foray.ps.PSReal.java"/>
+ <!-- Suppress Javadoc package documentation for test directories. -->
+ <suppress checks="PackageHtml"
+ files="src.javatest.*"/>
+
</suppressions>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|