Re: Unittests!
Dag Andersen <[email protected]>
| Newsgroups | gmane.comp.kde.devel.koffice |
|---|---|
| Message-ID | <[email protected]> |
Mandag 08 november 2010 09:10:30 skrev Boudewijn Rempt: > 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.shel > l" 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 > )] Ahh, rounding problem. Changed scaling factors from double to qint64 where posible. Boudewijn, can you ping me if it still fails? -- Mvh. Dag Andersen