OSSP CVS Repository

ossp - Difference in ossp-pkg/str/str_test.c versions 1.25 and 1.26
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/str/str_test.c 1.25 -> 1.26

--- str_test.c   2002/04/01 09:03:49     1.25
+++ str_test.c   2003/01/06 19:13:48     1.26
@@ -1,9 +1,9 @@
 /*
 **  OSSP str - String Handling
-**  Copyright (c) 1999-2002 Ralf S. Engelschall <rse@engelschall.com>
-**  Copyright (c) 1999-2002 The OSSP Project <http://www.ossp.org/>
+**  Copyright (c) 1999-2003 Ralf S. Engelschall <rse@engelschall.com>
+**  Copyright (c) 1999-2003 The OSSP Project <http://www.ossp.org/>
 **
-**  This file is part of OSSP str, a string handling and manipulation 
+**  This file is part of OSSP str, a string handling and manipulation
 **  library which can be found at http://www.ossp.org/pkg/lib/str/.
 **
 **  Permission to use, copy, modify, and distribute this software for
@@ -191,7 +191,7 @@
 }
 
 TS_TEST(test_tokenize)
-{  
+{
     char *cp;
     char *cp2;
     char *cp3;
@@ -266,20 +266,20 @@
             rv = str_parse(test2_tab[i].s, test2_tab[i].p, &r1, &r2, &r3, &r4);
         }
         if (rv != test2_tab[i].rv ||
-            ((r1 == NULL && test2_tab[i].r1 != NULL) || 
-             (r1 != NULL && test2_tab[i].r1 == NULL) || 
+            ((r1 == NULL && test2_tab[i].r1 != NULL) ||
+             (r1 != NULL && test2_tab[i].r1 == NULL) ||
              (r1 != NULL && test2_tab[i].r1 != NULL && strcmp(r1, test2_tab[i].r1) != 0)) ||
-            ((r2 == NULL && test2_tab[i].r2 != NULL) || 
-             (r2 != NULL && test2_tab[i].r2 == NULL) || 
+            ((r2 == NULL && test2_tab[i].r2 != NULL) ||
+             (r2 != NULL && test2_tab[i].r2 == NULL) ||
              (r2 != NULL && test2_tab[i].r2 != NULL && strcmp(r2, test2_tab[i].r2) != 0)) ||
-            ((r3 == NULL && test2_tab[i].r3 != NULL) || 
-             (r3 != NULL && test2_tab[i].r3 == NULL) || 
+            ((r3 == NULL && test2_tab[i].r3 != NULL) ||
+             (r3 != NULL && test2_tab[i].r3 == NULL) ||
              (r3 != NULL && test2_tab[i].r3 != NULL && strcmp(r3, test2_tab[i].r3) != 0)) ||
-            ((r4 == NULL && test2_tab[i].r4 != NULL) || 
-             (r4 != NULL && test2_tab[i].r4 == NULL) || 
+            ((r4 == NULL && test2_tab[i].r4 != NULL) ||
+             (r4 != NULL && test2_tab[i].r4 == NULL) ||
              (r4 != NULL && test2_tab[i].r4 != NULL && strcmp(r4, test2_tab[i].r4) != 0))) {
             ts_test_fail(TS_CTX, "expected result: %d + <%s><%s><%s><%s>",
-                         test2_tab[i].rv, 
+                         test2_tab[i].rv,
                          test2_tab[i].r1 == NULL ? "NULL" : test2_tab[i].r1,
                          test2_tab[i].r2 == NULL ? "NULL" : test2_tab[i].r2,
                          test2_tab[i].r3 == NULL ? "NULL" : test2_tab[i].r3,
@@ -391,7 +391,7 @@
 {
     unsigned char ucp[256];
     int i;
-    
+
     ts_test_check(TS_CTX, "encode/decode of 0 bytes");
     for (i = 0; i < 256; i++)
         ucp[i] = 0x55;

CVSTrac 2.0.1