[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdepim/certmanager/lib/tests
From:       Marc Mutz <Marc.Mutz () uni-bielefeld ! de>
Date:       2004-06-02 19:15:35
Message-ID: 20040602191535.8DF1520B6 () office ! kde ! org
[Download RAW message or body]

CVS commit by mutz: 

compile, there is no operator<<( k(n)dbgstream, QByteArray ) and the implicit casts \
available make the call ambiguous.


  M +3 -2      test_jobs.cpp   1.2


--- kdepim/certmanager/lib/tests/test_jobs.cpp  #1.1:1.2
@@ -76,5 +76,5 @@ static void testSign()
   QByteArray plainText;
   plainText.duplicate( cText.data(), cText.length() ); // hrmpf...
-  kdDebug() << k_funcinfo << "plainText=" << plainText << endl;
+  kdDebug() << k_funcinfo << "plainText=" << cText.data() << endl;
 
   kdDebug() << k_funcinfo << " signing with " << signingKeys[0].primaryFingerprint() \
<< endl; @@ -91,5 +91,6 @@ static void testSign()
     return;
   }
-  kdDebug() << k_funcinfo << "signing resulted in signature=" << signature << endl;
+  kdDebug() << k_funcinfo << "signing resulted in signature="
+            << QCString( signature.data(), signature.size() + 1 ) << endl;
 }
 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic