xmlgraphics-fop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From piet...@apache.org
Subject svn commit: r345785 - in /xmlgraphics/fop/trunk/test: fotree/ java/org/apache/fop/layoutengine/ layoutengine/
Date Sun, 20 Nov 2005 22:22:26 GMT
Author: pietsch
Date: Sun Nov 20 14:22:10 2005
New Revision: 345785

URL: http://svn.apache.org/viewcvs?rev=345785&view=rev
Log:
Added license header to disabled testcases XML file. Removed obsolete files and code.

Removed:
    xmlgraphics/fop/trunk/test/fotree/disabled-testcases.txt
    xmlgraphics/fop/trunk/test/layoutengine/disabled-testcases.txt
Modified:
    xmlgraphics/fop/trunk/test/fotree/disabled-testcases.xml
    xmlgraphics/fop/trunk/test/java/org/apache/fop/layoutengine/LayoutEngineTestSuite.java
    xmlgraphics/fop/trunk/test/layoutengine/disabled-testcases.dtd
    xmlgraphics/fop/trunk/test/layoutengine/disabled-testcases.xml

Modified: xmlgraphics/fop/trunk/test/fotree/disabled-testcases.xml
URL: http://svn.apache.org/viewcvs/xmlgraphics/fop/trunk/test/fotree/disabled-testcases.xml?rev=345785&r1=345784&r2=345785&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/test/fotree/disabled-testcases.xml (original)
+++ xmlgraphics/fop/trunk/test/fotree/disabled-testcases.xml Sun Nov 20 14:22:10 2005
@@ -1,4 +1,20 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 2005 The Apache Software Foundation
+
+  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.
+-->
+<!-- $Id: $ -->
 <disabled-testcases>
   <testcase>
     <name>demo test failure</name>

Modified: xmlgraphics/fop/trunk/test/java/org/apache/fop/layoutengine/LayoutEngineTestSuite.java
URL: http://svn.apache.org/viewcvs/xmlgraphics/fop/trunk/test/java/org/apache/fop/layoutengine/LayoutEngineTestSuite.java?rev=345785&r1=345784&r2=345785&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/test/java/org/apache/fop/layoutengine/LayoutEngineTestSuite.java
(original)
+++ xmlgraphics/fop/trunk/test/java/org/apache/fop/layoutengine/LayoutEngineTestSuite.java
Sun Nov 20 14:22:10 2005
@@ -63,17 +63,6 @@
         DebugHelper.registerStandardElementListObservers();
     }
     
-    public static String[] readLinesFromFile(File f) throws IOException {
-        List lines = new java.util.ArrayList();
-        Reader reader = new FileReader(f);
-        BufferedReader br = new BufferedReader(reader);
-        String line;
-        while ((line = br.readLine()) != null) {
-            lines.add(line);
-        }
-        return (String[])lines.toArray(new String[lines.size()]);
-    }
-    
     public static String[] readDisabledTestcases(File f) throws IOException {
         List lines = new java.util.ArrayList();
         Source stylesheet = new StreamSource(
@@ -133,7 +122,6 @@
         String disabled = System.getProperty("fop.layoutengine.disabled");
         if (disabled != null && disabled.length() > 0) {
             filter = new AndFileFilter(new NotFileFilter(
-//                           new NameFileFilter(readLinesFromFile(new File(disabled)))),
                            new NameFileFilter(readDisabledTestcases(new File(disabled)))),
                     filter);
         }

Modified: xmlgraphics/fop/trunk/test/layoutengine/disabled-testcases.dtd
URL: http://svn.apache.org/viewcvs/xmlgraphics/fop/trunk/test/layoutengine/disabled-testcases.dtd?rev=345785&r1=345784&r2=345785&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/test/layoutengine/disabled-testcases.dtd (original)
+++ xmlgraphics/fop/trunk/test/layoutengine/disabled-testcases.dtd Sun Nov 20 14:22:10 2005
@@ -1,3 +1,19 @@
+<!--
+  Copyright 2005 The Apache Software Foundation
+
+  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.
+-->
+<!-- $Id: $ -->
 <!ELEMENT disabled-testcases (testcase)*>
 <!ELEMENT testcase (name?,file,description?,reference*)>
 <!ATTLIST testcase id ID #IMPLIED>

Modified: xmlgraphics/fop/trunk/test/layoutengine/disabled-testcases.xml
URL: http://svn.apache.org/viewcvs/xmlgraphics/fop/trunk/test/layoutengine/disabled-testcases.xml?rev=345785&r1=345784&r2=345785&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/test/layoutengine/disabled-testcases.xml (original)
+++ xmlgraphics/fop/trunk/test/layoutengine/disabled-testcases.xml Sun Nov 20 14:22:10 2005
@@ -1,5 +1,21 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE disabled-testcases SYSTEM "disabled-testcases.dtd">
+<!--
+  Copyright 2005 The Apache Software Foundation
+
+  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.
+-->
+<!-- $Id: $ -->
+<!--DOCTYPE disabled-testcases SYSTEM "disabled-testcases.dtd"-->
 <disabled-testcases>
   <testcase>
     <name>block-container reference-orientation bug36391</name>



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-commits-help@xmlgraphics.apache.org


Mime
View raw message