santuario-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From geu...@apache.org
Subject cvs commit: xml-security/src_unitTests/org/apache/xml/security/test/c14n/implementations ExclusiveC14NInterop.java
Date Mon, 09 Sep 2002 14:27:58 GMT
geuerp      2002/09/09 07:27:58

  Modified:    src_unitTests/org/apache/xml/security/test/c14n/implementations
                        ExclusiveC14NInterop.java
  Log:
  Removed old unnecessary methods
  
  Revision  Changes    Path
  1.6       +7 -38     xml-security/src_unitTests/org/apache/xml/security/test/c14n/implementations/ExclusiveC14NInterop.java
  
  Index: ExclusiveC14NInterop.java
  ===================================================================
  RCS file: /home/cvs/xml-security/src_unitTests/org/apache/xml/security/test/c14n/implementations/ExclusiveC14NInterop.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- ExclusiveC14NInterop.java	4 Sep 2002 06:40:53 -0000	1.5
  +++ ExclusiveC14NInterop.java	9 Sep 2002 14:27:58 -0000	1.6
  @@ -181,43 +181,6 @@
      }
   
      /**
  -    * Method _test_Y4_stripped
  -    *
  -    * @throws Exception
  -    */
  -   public void _test_Y4_stripped() throws Exception {
  -
  -      String success = t("data/interop/c14n/Y4stripped", "signature.xml");
  -
  -      assertTrue(success, success == null);
  -   }
  -
  -   /**
  -    * Method test_Y5
  -    *
  -    * @throws Exception
  -    */
  -   public void test_Y5() throws Exception {
  -
  -      String success = t("data/interop/c14n/Y5", "signature.xml");
  -
  -      // String success = t("data/interop/c14n/Y5", "signatureCommented.xml");
  -      assertTrue(success, success == null);
  -   }
  -
  -   /**
  -    * Method _test_Y5_stripped
  -    *
  -    * @throws Exception
  -    */
  -   public void _test_Y5_stripped() throws Exception {
  -
  -      String success = t("data/interop/c14n/Y5", "signatureStripped.xml");
  -
  -      assertTrue(success, success == null);
  -   }
  -
  -   /**
       * Method t
       *
       * @param directory
  @@ -255,7 +218,8 @@
   
         int failures = 0;
   
  -      if (!verify) {
  +      // if (!verify) {
  +      if (true) {
            StringBuffer sb = new StringBuffer();
   
            for (int i = 0; i < signature.getSignedInfo().getLength(); i++) {
  @@ -264,6 +228,11 @@
   
               if (refVerify) {
                  cat.debug("Reference " + i + " was OK");
  +               /*
  +               JavaUtils.writeBytesToFilename(
  +                  directory + "/c14n-" + i + ".html", signature.getSignedInfo()
  +                     .item(i).getHTMLRepresentation().getBytes());
  +               */
               } else {
                  failures++;
   
  
  
  

Mime
View raw message