[FOray-commit] SF.net SVN: foray: [8743] trunk/foray
Modular XSL-FO Implementation for Java.
Status: Alpha
Brought to you by:
victormote
|
From: <vic...@us...> - 2007-02-20 02:27:01
|
Revision: 8743
http://svn.sourceforge.net/foray/?rev=8743&view=rev
Author: victormote
Date: 2007-02-19 18:15:46 -0800 (Mon, 19 Feb 2007)
Log Message:
-----------
Stub in testing for AreaTree.
Modified Paths:
--------------
trunk/foray/foray-app/src/javatest/org/foray/app/TestFOrayAll.java
trunk/foray/foray-areatree/.classpath
Added Paths:
-----------
trunk/foray/foray-areatree/src/javatest/
trunk/foray/foray-areatree/src/javatest/org/
trunk/foray/foray-areatree/src/javatest/org/foray/
trunk/foray/foray-areatree/src/javatest/org/foray/area/
trunk/foray/foray-areatree/src/javatest/org/foray/area/TestFOrayAreaTree.java
trunk/foray/foray-areatree/src/javatest/org/foray/area/TestPageCollection.java
Modified: trunk/foray/foray-app/src/javatest/org/foray/app/TestFOrayAll.java
===================================================================
--- trunk/foray/foray-app/src/javatest/org/foray/app/TestFOrayAll.java 2007-02-19 01:22:48 UTC (rev 8742)
+++ trunk/foray/foray-app/src/javatest/org/foray/app/TestFOrayAll.java 2007-02-20 02:15:46 UTC (rev 8743)
@@ -28,6 +28,7 @@
package org.foray.app;
+import org.foray.area.TestFOrayAreaTree;
import org.foray.fotree.TestFOrayFOTree;
import org.foray.graphic.TestFOrayGraphic;
import org.foray.hyphenR.TestFOrayHyphenR;
@@ -52,6 +53,7 @@
testSuite.addTest(TestFOrayGraphic.suite());
testSuite.addTest(TestFOrayHyphenR.suite());
testSuite.addTest(TestFOrayFOTree.suite());
+ testSuite.addTest(TestFOrayAreaTree.suite());
testSuite.addTest(TestFOrayRender.suite());
return testSuite;
}
Modified: trunk/foray/foray-areatree/.classpath
===================================================================
--- trunk/foray/foray-areatree/.classpath 2007-02-19 01:22:48 UTC (rev 8742)
+++ trunk/foray/foray-areatree/.classpath 2007-02-20 02:15:46 UTC (rev 8743)
@@ -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="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="src" path="/FOrayCommon"/>
<classpathentry kind="src" path="/axslFont-R"/>
@@ -12,5 +13,6 @@
<classpathentry kind="var" path="FORAY_LIB_ROOT/batik.jar"/>
<classpathentry kind="var" path="FORAY_LIB_ROOT/commons-logging.jar"/>
<classpathentry combineaccessrules="false" kind="src" path="/axslArea-W"/>
+ <classpathentry kind="lib" path="/FOray Lib-Build/junit/junit.jar"/>
<classpathentry kind="output" path="build/eclipse"/>
</classpath>
Added: trunk/foray/foray-areatree/src/javatest/org/foray/area/TestFOrayAreaTree.java
===================================================================
--- trunk/foray/foray-areatree/src/javatest/org/foray/area/TestFOrayAreaTree.java (rev 0)
+++ trunk/foray/foray-areatree/src/javatest/org/foray/area/TestFOrayAreaTree.java 2007-02-20 02:15:46 UTC (rev 8743)
@@ -0,0 +1,52 @@
+/*
+ * Copyright 2007 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.area;
+
+import junit.framework.Test;
+import junit.framework.TestCase;
+import junit.framework.TestSuite;
+
+/**
+ * Handles testing for the FOrayAreaTree module.
+ */
+public class TestFOrayAreaTree 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(TestPageCollection.class);
+
+ return testSuite;
+ }
+
+}
Property changes on: trunk/foray/foray-areatree/src/javatest/org/foray/area/TestFOrayAreaTree.java
___________________________________________________________________
Name: svn:keywords
+ "Author Id Rev Date URL"
Name: svn:eol-style
+ native
Added: trunk/foray/foray-areatree/src/javatest/org/foray/area/TestPageCollection.java
===================================================================
--- trunk/foray/foray-areatree/src/javatest/org/foray/area/TestPageCollection.java (rev 0)
+++ trunk/foray/foray-areatree/src/javatest/org/foray/area/TestPageCollection.java 2007-02-20 02:15:46 UTC (rev 8743)
@@ -0,0 +1,45 @@
+/*
+ * Copyright 2007 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.area;
+
+import junit.framework.TestCase;
+
+/**
+ * Tests for the class {@link PageCollection}.
+ */
+public class TestPageCollection extends TestCase {
+
+ /**
+ * Test of {@link PageCollection#padPagesAtBeginning()}.
+ */
+ public void testPadPagesAtBeginning() {
+ return;
+ }
+
+}
Property changes on: trunk/foray/foray-areatree/src/javatest/org/foray/area/TestPageCollection.java
___________________________________________________________________
Name: svn:keywords
+ "Author Id Rev Date URL"
Name: svn:eol-style
+ native
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|