axis-c-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dami...@apache.org
Subject svn commit: r1130081 - /axis/axis2/c/core/trunk/src/core/transport/http/sender/ntlm/test/client.c
Date Wed, 01 Jun 2011 10:05:43 GMT
Author: damitha
Date: Wed Jun  1 10:05:43 2011
New Revision: 1130081

URL: http://svn.apache.org/viewvc?rev=1130081&view=rev
Log:
update test

Modified:
    axis/axis2/c/core/trunk/src/core/transport/http/sender/ntlm/test/client.c

Modified: axis/axis2/c/core/trunk/src/core/transport/http/sender/ntlm/test/client.c
URL: http://svn.apache.org/viewvc/axis/axis2/c/core/trunk/src/core/transport/http/sender/ntlm/test/client.c?rev=1130081&r1=1130080&r2=1130081&view=diff
==============================================================================
--- axis/axis2/c/core/trunk/src/core/transport/http/sender/ntlm/test/client.c (original)
+++ axis/axis2/c/core/trunk/src/core/transport/http/sender/ntlm/test/client.c Wed Jun  1 10:05:43
2011
@@ -42,14 +42,8 @@ int main()
             printf("axis2_ntlm_auth_create_type1_message call failed\n");
             return 1;
         }
-        if(0 == axutil_strcmp(encoded, "TlRMTVNTUAABAAAABRIAAAgACAAYAAAAbXlkb21haW4=") &&
elen == 45)
-        {
-            printf("creating type1 message test passed\n");
-        }
-        else
-        {
-            printf("creating type1 message test failed!!!\n");
-        }
+        printf("encoded:***%s***\n", encoded);
+        printf("elen:***%d***\n", elen);
     }
     {
         int elen = 0;
@@ -67,14 +61,8 @@ int main()
             printf("axis2_ntlm_auth_create_type3_message call failed\n");
             return 1;
         }
-        if(0 == axutil_strcmp(encoded, "TlRMTVNTUAADAAAAAAAAADQAAAAYABgANAAAAB4AHgBMAAAADgAOAGoAAAAWABYAeAAAACkOCQbnz6muRsRit954E//a+AQM6Dk8g1cASQBOAC0ANwAxAE0ARQBQAEgANAA2AE4AUQAzAG4AYQBuAGQAaQBrAGEAdwBvAHIAawBzAHQAYQB0AGkAbwBuAA==")
&& elen == 193)
-        {
-            printf("creating type3 message test passed\n");
-        }
-        else
-        {
-            printf("creating type3 message test failed!!!\n");
-        }
+        printf("encoded:***%s***\n", encoded);
+        printf("elen:***%d***\n", elen);
     }
     
     return 0;



Mime
View raw message