[Ksecretservice-devel] more tests

Alin Marin Elena alinm.elena at gmail.com
Fri Aug 5 16:28:37 UTC 2011


Hi Valentin,

These are the results of the new tests. I did not do the sync tests as you 
suggested.

Alin


[alin at abbaton:~]: ksecret_collection_test 
********* Start testing of KSecretTest *********
Config: Using QTest library 4.7.3, Qt 4.7.3
PASS   : KSecretTest::initTestCase()
PASS   : KSecretTest::testCreateCollectionAsync()
PASS   : KSecretTest::testLockCollectionAsync()
PASS   : KSecretTest::testUnlockCollectionAsync()
PASS   : KSecretTest::testCreateItemAsync()
PASS   : KSecretTest::testCheckItem()
PASS   : KSecretTest::testSearchItem()
PASS   : KSecretTest::testChangeItem()
PASS   : KSecretTest::testReplaceItemAsync()
PASS   : KSecretTest::testDoNotReplaceItemAsync()
PASS   : KSecretTest::testDeleteItemAsync()
PASS   : KSecretTest::testDeleteCollectionAsync()
PASS   : KSecretTest::cleanupTestCase()
Totals: 13 passed, 0 failed, 0 skipped
********* Finished testing of KSecretTest *********
[alin at abbaton:~]: ksecret_collection_ui_test 
********* Start testing of KSecretUiTest *********
Config: Using QTest library 4.7.3, Qt 4.7.3
PASS   : KSecretUiTest::initTestCase()
PASS   : KSecretUiTest::testCreateCollectionAsync()
PASS   : KSecretUiTest::testLockCollectionAsync()
FAIL!  : KSecretUiTest::testUnlockCollectionAsync() Compared values are not 
the same
   Loc: 
[/usr/src/packages/BUILD/ksecretservice-0.0.1git.1312545313/daemon/backend/tests/ksecretuitest.cpp(128)]
PASS   : KSecretUiTest::cleanupTestCase()
Totals: 4 passed, 1 failed, 0 skipped
********* Finished testing of KSecretUiTest *********

========= The failed test is because of the empty password... Once I use a 
password the test passes.
=========

[alin at abbaton:~]: ksecret_collection_ui_test 
********* Start testing of KSecretUiTest *********
Config: Using QTest library 4.7.3, Qt 4.7.3
PASS   : KSecretUiTest::initTestCase()
PASS   : KSecretUiTest::testCreateCollectionAsync()
PASS   : KSecretUiTest::testLockCollectionAsync()
PASS   : KSecretUiTest::testUnlockCollectionAsync()
PASS   : KSecretUiTest::cleanupTestCase()
Totals: 5 passed, 0 failed, 0 skipped
********* Finished testing of KSecretUiTest *********

[alin at abbaton:~]: ksecretservice_lib_queuedjobtest 
********* Start testing of QueuedJobTest *********
Config: Using QTest library 4.7.3, Qt 4.7.3
PASS   : QueuedJobTest::initTestCase()
PASS   : QueuedJobTest::testSync()
PASS   : QueuedJobTest::testAsync()
PASS   : QueuedJobTest::testAsyncOrder()
PASS   : QueuedJobTest::testAsyncOrderInFront()
PASS   : QueuedJobTest::cleanupTestCase()
Totals: 6 passed, 0 failed, 0 skipped
********* Finished testing of QueuedJobTest *********



[alin at abbaton:~]: ksecretservice_frontend_test 
********* Start testing of ServiceTest *********
Config: Using QTest library 4.7.3, Qt 4.7.3
PASS   : ServiceTest::initTestCase()
PASS   : ServiceTest::dbusService()
QWARN  : ServiceTest::session() QDBusMarshaller: cannot add a null 
QDBusVariant
XFAIL  : ServiceTest::session() Error only returned if called via D-Bus (test 
calls locally)
   Loc: 
[/usr/src/packages/BUILD/ksecretservice-0.0.1git.1312545313/daemon/frontend/tests/servicetest.cpp(89)]
PASS   : ServiceTest::session()
PASS   : ServiceTest::nonBlockingCollection()
PASS   : ServiceTest::nonBlockingItem()
PASS   : ServiceTest::reInitTestCase()
FAIL!  : ServiceTest::blockingCollection() Compared values are not the same
   Actual (deletedSpy.size()): 2
   Expected (1): 1
   Loc: 
[/usr/src/packages/BUILD/ksecretservice-0.0.1git.1312545313/daemon/frontend/tests/servicetest.cpp(626)]
PASS   : ServiceTest::blockingItem()
PASS   : ServiceTest::cleanupTestCase()
Totals: 8 passed, 1 failed, 0 skipped
********* Finished testing of ServiceTest *********

[alin at abbaton:~]: /usr/bin/dialogaskaclprefs_test
********* Start testing of DialogAskAclPrefsTest *********
Config: Using QTest library 4.7.3, Qt 4.7.3
PASS   : DialogAskAclPrefsTest::initTestCase()
PASS   : DialogAskAclPrefsTest::testDialogAskCreateAclPrefsJob()
PASS   : DialogAskAclPrefsTest::cleanupTestCase()
Totals: 3 passed, 0 failed, 0 skipped
********* Finished testing of DialogAskAclPrefsTest *********


[alin at abbaton:~]: /usr/bin/dialoguimanager_test
********* Start testing of DialogUiManagerTest *********
Config: Using QTest library 4.7.3, Qt 4.7.3
PASS   : DialogUiManagerTest::initTestCase()
PASS   : DialogUiManagerTest::testAskPassword()
PASS   : DialogUiManagerTest::testNewPassword()
PASS   : DialogUiManagerTest::cleanupTestCase()
Totals: 4 passed, 0 failed, 0 skipped
********* Finished testing of DialogUiManagerTest *********

[alin at abbaton:~]: /usr/bin/nouimanager_test
********* Start testing of NoUiManagerTest *********
Config: Using QTest library 4.7.3, Qt 4.7.3
PASS   : NoUiManagerTest::initTestCase()
PASS   : NoUiManagerTest::testAskPassword()
PASS   : NoUiManagerTest::testNewPassword()
PASS   : NoUiManagerTest::testJobOrder()
PASS   : NoUiManagerTest::testAskPasswordCancelled()
PASS   : NoUiManagerTest::testNewPasswordCancelled()
PASS   : NoUiManagerTest::testJobOrderCancelled()
PASS   : NoUiManagerTest::cleanupTestCase()
Totals: 8 passed, 0 failed, 0 skipped
********* Finished testing of NoUiManagerTest *********


[alin at abbaton:~]: /usr/bin/securebuffer_test
********* Start testing of SecureBufferTest *********
Config: Using QTest library 4.7.3, Qt 4.7.3
PASS   : SecureBufferTest::initTestCase()
PASS   : SecureBufferTest::getSetCheck()
PASS   : SecureBufferTest::readBlock()
PASS   : SecureBufferTest::readBlockPastEnd()
PASS   : SecureBufferTest::writeBlock()
PASS   : SecureBufferTest::seek()
PASS   : SecureBufferTest::seekTest()
PASS   : SecureBufferTest::read_rawdata()
PASS   : SecureBufferTest::isSequential()
PASS   : SecureBufferTest::signalTest()
PASS   : SecureBufferTest::isClosedAfterClose()
PASS   : SecureBufferTest::readLine()
PASS   : SecureBufferTest::canReadLine()
PASS   : SecureBufferTest::atEnd()
PASS   : SecureBufferTest::readLineBoundaries()
PASS   : SecureBufferTest::writeAfterSecureArrayResize()
PASS   : SecureBufferTest::cleanupTestCase()
Totals: 17 passed, 0 failed, 0 skipped
********* Finished testing of SecureBufferTest *********

[alin at abbaton:~]: /usr/bin/temporary_collection_test
********* Start testing of TemporaryTest *********
Config: Using QTest library 4.7.3, Qt 4.7.3
PASS   : TemporaryTest::initTestCase()
PASS   : TemporaryTest::testCreateCollectionSync()
PASS   : TemporaryTest::testCreateItemSync()
PASS   : TemporaryTest::testReplaceItemSync()
PASS   : TemporaryTest::testDoNotReplaceItemSync()
PASS   : TemporaryTest::testDeleteItemSync()
PASS   : TemporaryTest::testDeleteCollectionSync()
PASS   : TemporaryTest::testCreateCollectionAsync()
PASS   : TemporaryTest::testCreateItemAsync()
PASS   : TemporaryTest::testReplaceItemAsync()
PASS   : TemporaryTest::testDoNotReplaceItemAsync()
PASS   : TemporaryTest::testDeleteItemAsync()
PASS   : TemporaryTest::testDeleteCollectionAsync()
PASS   : TemporaryTest::cleanupTestCase()
Totals: 14 passed, 0 failed, 0 skipped
********* Finished testing of TemporaryTest *********


Alin






-- 
 Without Questions there are no Answers!
 _____________________________________________________________________
  Alin Marin ELENA
  Advanced Molecular Simulation Research Laboratory
  School of Physics, University College Dublin
  ----
  Ardionsamblú Móilíneach Saotharlann Taighde
  Scoil na Fisice, An Coláiste Ollscoile, Baile Átha Cliath

  -----------------------------------------------------------------------------------
  http://alin.elenaworld.net
  ______________________________________________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/ksecretservice-devel/attachments/20110805/9f519ca8/attachment-0001.sig>


More information about the Ksecretservice-devel mailing list