You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by db...@apache.org on 2008/09/25 07:21:42 UTC

svn commit: r698826 - /xalan/c/trunk/Tests/Conf/conf.cpp

Author: dbertoni
Date: Wed Sep 24 22:21:42 2008
New Revision: 698826

URL: http://svn.apache.org/viewvc?rev=698826&view=rev
Log:
Disable more tests that aren't portable.

Modified:
    xalan/c/trunk/Tests/Conf/conf.cpp

Modified: xalan/c/trunk/Tests/Conf/conf.cpp
URL: http://svn.apache.org/viewvc/xalan/c/trunk/Tests/Conf/conf.cpp?rev=698826&r1=698825&r2=698826&view=diff
==============================================================================
--- xalan/c/trunk/Tests/Conf/conf.cpp (original)
+++ xalan/c/trunk/Tests/Conf/conf.cpp Wed Sep 24 22:21:42 2008
@@ -139,8 +139,11 @@
     "numberformat34.xsl",
     "numberformat35.xsl",
 
-    // Excluded because it outputs EBCDIC and HTML, which cannot be parsed.
+#if defined(XALAN_WINDOWS)
+    // Excluded because it outputs HTML, which cannot be parsed.  Text comparison fails because
+    // linefeeds are Unix-style, and those fail on Windows.
     "output22.xsl",
+#endif
 
     // These sort tests are disabled because the ICU implements a more recent version of the
     // the Unicode collation algorithm, so we won't match the Java results.
@@ -193,10 +196,29 @@
     "numberformat45.xsl",
     "numberformat46.xsl",
 
+    // Excluded because it outputs SHIFT_JIS, and not all platforms support this encoding, so
+    // the gold file cannot be parsed.
+    "output20.xsl",
+
+    // Excluded because it outputs BIG5, and not all platforms support this encoding.
+    "output21.xsl",
+
+    // Excluded because it outputs ISO-2022-JP, and not all platforms support this encoding.
+    "output23.xsl",
+
+    // Excluded because it outputs HTML, which cannot be parsed.  Text comparison fails because
+    // it try to use SHIFT_JIS for the output encoding, which not all platforms support.
+    "output73.xsl",
+
     // These sort tests are disabled because, without the ICU, we don't implement proper
     // sorting, including support for the case-order attribute of xsl:sort.
     // $$$TODO: Basic support for ASCII-only case order is being worked on.
+    "sort02.xsl",
+    "sort10.xsl",
+    "sort14.xsl",
     "sort15.xsl",
+    "sort16.xsl",
+    "sort34.xsl",
 
     // These string tests using format-number(), which is not implemented without ICU
     // integration.
@@ -261,13 +283,13 @@
 {
     const XalanParsedSource* parsedSource = 0;
 
-    MemoryManagerType& mgr = h.getMemoryManager();
+    MemoryManager&  mgr = h.getMemoryManager();
 
     int theResult = 0;
 
     // Parse the XML source accordingly.
     //
-    if (sourceType != 0 )
+    if (sourceType != 0)
     {
         theResult = xalan.parseSource(xmlInput, parsedSource, true);
         h.data.xmlFormat = XalanDOMString("XercesParserLiasion", mgr);
@@ -277,7 +299,7 @@
         theResult = xalan.parseSource(xmlInput, parsedSource, false);
         h.data.xmlFormat = XalanDOMString("XalanSourceTree", mgr);
     }
-                
+
     // If the source was parsed correctly then perform the transform else report the failure.
     //
     if (parsedSource == 0)



---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org