[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/KDE/3.5/kdepim/certmanager/lib/tests
From: David Faure <faure () kde ! org>
Date: 2005-12-06 19:16:24
Message-ID: 1133896584.083459.21989.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 486093 by dfaure:
Convert source file to utf8
M +3 -3 test_cryptoconfig.cpp
--- branches/KDE/3.5/kdepim/certmanager/lib/tests/test_cryptoconfig.cpp \
#486092:486093 @@ -2,7 +2,7 @@
test_cryptoconfig.cpp
This file is part of libkleopatra's test suite.
- Copyright (c) 2004 Klarälvdalens Datakonsult AB
+ Copyright (c) 2004 Klarà ¤lvdalens Datakonsult AB
Libkleopatra is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License,
@@ -258,7 +258,7 @@
cout << "Log-file initially: " << val.local8Bit() << endl;
// Test setting the option, sync'ing, then querying again
- entry->setStringValue( "/tmp/test:%e5ä" );
+ entry->setStringValue( QString::fromUtf8( "/tmp/test:%e5Ã ¤" ) );
assert( entry->isDirty() );
config->sync( true );
@@ -273,7 +273,7 @@
assert( entry );
assert( entry->argType() == Kleo::CryptoConfigEntry::ArgType_Path );
cout << "Log-file now: " << entry->stringValue().local8Bit() << endl;
- assert( entry->stringValue() == "/tmp/test:%e5ä" ); // (or even with %e5 \
decoded) + assert( entry->stringValue() == QString::fromUtf8( "/tmp/test:%e5Ã \
¤" ) ); // (or even with %e5 decoded)
// Reset old value
#if 0
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic