You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by cu...@apache.org on 2001/10/09 16:22:45 UTC

cvs commit: xml-xalan/test/java/src/org/apache/qetest/trax URIResolverTest.java

curcuru     01/10/09 07:22:45

  Modified:    test/java/src/org/apache/qetest/trax URIResolverTest.java
  Log:
  Update with Bugzilla#2425 number in comment
  
  Revision  Changes    Path
  1.4       +4 -11     xml-xalan/test/java/src/org/apache/qetest/trax/URIResolverTest.java
  
  Index: URIResolverTest.java
  ===================================================================
  RCS file: /home/cvs/xml-xalan/test/java/src/org/apache/qetest/trax/URIResolverTest.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- URIResolverTest.java	2001/06/18 04:04:32	1.3
  +++ URIResolverTest.java	2001/10/09 14:22:45	1.4
  @@ -90,7 +90,7 @@
   /**
    * Verify that URIResolvers are called properly.
    * @author shane_curcuru@lotus.com
  - * @version $Id: URIResolverTest.java,v 1.3 2001/06/18 04:04:32 sboag Exp $
  + * @version $Id: URIResolverTest.java,v 1.4 2001/10/09 14:22:45 curcuru Exp $
    */
   public class URIResolverTest extends XSLProcessorTestBase
   {
  @@ -201,15 +201,12 @@
   
               // Validate various URI's to be resolved during transform
               //  time with the loggingURIResolver
  -            reporter.logTraceMsg("//@todo investigate why every document() call is resolved twice twice");
  +            reporter.logWarningMsg("Bugzilla#2425 every document() call is resolved twice twice - two fails caused below");
               String[] expectedXmlUris = 
               {
                   "{" + QetestUtils.filenameToURL(testFileInfo.inputName) + "}" + "../impincl/SystemIdImport.xsl",
  -                // "{" + QetestUtils.filenameToURL(testFileInfo.inputName) + "}" + "../impincl/SystemIdImport.xsl",
                   "{" + QetestUtils.filenameToURL(testFileInfo.inputName) + "}" + "impincl/SystemIdImport.xsl",
  -                // "{" + QetestUtils.filenameToURL(testFileInfo.inputName) + "}" + "impincl/SystemIdImport.xsl",
                   "{" + QetestUtils.filenameToURL(testFileInfo.inputName) + "}" + "systemid/impincl/SystemIdImport.xsl",
  -                // "{" + QetestUtils.filenameToURL(testFileInfo.inputName) + "}" + "systemid/impincl/SystemIdImport.xsl"
               };
               loggingURIResolver.setExpected(expectedXmlUris);
               reporter.logTraceMsg("about to transform(...)");
  @@ -221,14 +218,10 @@
   
               // Validate the actual output file as well: in this case, 
               //  the stylesheet should still work
  -            if (Logger.PASS_RESULT
  -                != fileChecker.check(reporter, 
  +            fileChecker.check(reporter, 
                       new File(outNames.currentName()), 
                       new File(testFileInfo.goldName), 
  -                    "transform of URI-filled xsl into: " + outNames.currentName())
  -               )
  -                reporter.logInfoMsg("transform of URI-filled xsl failure reason:" + fileChecker.getExtendedInfo());
  -            
  +                    "transform of URI-filled xsl into: " + outNames.currentName());
           }
           catch (Throwable t)
           {
  
  
  

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