You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@santuario.apache.org by vd...@apache.org on 2002/09/02 18:51:39 UTC

cvs commit: xml-security/src_unitTests/org/apache/xml/security/test/interop IBMTest.java

vdkoogh     2002/09/02 09:51:39

  Modified:    src_unitTests/org/apache/xml/security/test/interop
                        IBMTest.java
  Log:
  Now pass test_enveloping_dsa_soaped_broken if the file isn't available because it's not in the latest xss4j dist anymore.
  Not ideal, but very little alternatives either :(
  
  Revision  Changes    Path
  1.8       +5 -1      xml-security/src_unitTests/org/apache/xml/security/test/interop/IBMTest.java
  
  Index: IBMTest.java
  ===================================================================
  RCS file: /home/cvs/xml-security/src_unitTests/org/apache/xml/security/test/interop/IBMTest.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- IBMTest.java	30 Aug 2002 15:54:42 -0000	1.7
  +++ IBMTest.java	2 Sep 2002 16:51:39 -0000	1.8
  @@ -178,7 +178,7 @@
       */
      public void test_detached_dsa() throws Exception {
         String filename = kentsDir + "detached-dsa.sig";
  -      ResourceResolverSpi resolver = new OfflineResolver();;
  +      ResourceResolverSpi resolver = new OfflineResolver();
         boolean followManifests = false;
         boolean verify = false;
   
  @@ -328,6 +328,10 @@
       */
      public void test_enveloping_dsa_soaped_broken() throws Exception {
         String filename = kentsDir + "enveloping-dsa-soaped-broken.sig";
  +      if(!new File(filename).exists() ) {
  +        System.err.println("Couldn't find: " + filename + " and couldn't do the test");
  +        return;
  +      }
         ResourceResolverSpi resolver = null;
         boolean followManifests = false;
         boolean verify = true;