Re: Unittests!
Boudewijn Rempt <[email protected]>
| Newsgroups | gmane.comp.kde.devel.koffice |
|---|---|
| Organization | valdyas |
| Message-ID | <[email protected]> |
On Monday 08 November 2010, Dag Andersen wrote: > Søndag 07 november 2010 13:04:42 skrev Boudewijn Rempt: > > For Krita, I've the habit of sending out a weekly mail with all tests that > > fail. Here's the same for all of KOffice: > > > > > > The following tests FAILED: > > 10 - kword-part-TestRdf (Failed) > > 13 - kformula-LoadAndSave (Failed) > > 19 - KPlato-EstimateTester (Failed) > Where do I find the test result? On koffice.org I couldn't find anything later > than 28-10-2010 and afaics it didn't fail. > (...) > This is the result on my laptop: 19/286 Testing: KPlato-EstimateTester 19/286 Test: KPlato-EstimateTester Command: "/home/boud/kde/build/koffice/kplato/libs/kernel/tests/EstimateTester.shell" Directory: /home/boud/kde/build/koffice/kplato/libs/kernel/tests "KPlato-EstimateTester" start time: Nov 07 16:54 CET Output: ---------------------------------------------------------- ********* Start testing of KPlato::EstimateTester ********* Config: Using QTest library 4.7.1, Qt 4.7.1 PASS : KPlato::EstimateTester::initTestCase() FAIL! : KPlato::EstimateTester::expected() Compared values are not the same Actual (e1.expectedValue().milliseconds()): 31535999999 Expected (qint64(1000*60*60) * (24*365)): 31536000000 Loc: [/home/boud/kde/src/koffice/kplato/libs/kernel/tests/EstimateTester.cpp(66)] PASS : KPlato::EstimateTester::optimistic() PASS : KPlato::EstimateTester::pessimistic() PASS : KPlato::EstimateTester::ratio() PASS : KPlato::EstimateTester::scale() PASS : KPlato::EstimateTester::pert() PASS : KPlato::EstimateTester::cleanupTestCase() Totals: 7 passed, 1 failed, 0 skipped ********* Finished testing of KPlato::EstimateTester ********* <end of output> -- Boudewijn Rempt | http://www.valdyas.org Ceterum censeo lapsum particulorum probae delendum esse