[Kst] branches/work/kst/portto4/kst/tests
Mike Fenton
mike at staikos.net
Thu Nov 6 16:51:06 CET 2008
SVN commit 880831 by fenton:
Fix DirFile tests.
M +4 -4 testdatasource.cpp
--- branches/work/kst/portto4/kst/tests/testdatasource.cpp #880830:880831
@@ -338,7 +338,7 @@
QVERIFY(!dsp->hasConfigWidget());
QCOMPARE(dsp->fileType(), QLatin1String("Directory of Binary Files"));
QVERIFY(dsp->isValidField("INDEX"));
- QCOMPARE(dsp->frameCount("INDEX"), 15);
+ QCOMPARE(dsp->frameCount("INDEX"), 17);
QVERIFY(dsp->isValidField("cos"));
QVERIFY(dsp->isValidField("fcount"));
QVERIFY(dsp->isValidField("scount"));
@@ -446,11 +446,11 @@
//We should have length equal to two... items {5, 10}
QCOMPARE(2, rvp->length());
- QCOMPARE(5.0, rvp->value(0));
- QCOMPARE(10.0, rvp->value(1));
+ QCOMPARE(10.0, rvp->value(0));
+ QCOMPARE(15.0, rvp->value(1));
QCOMPARE(10, rvp->numFrames());
- QCOMPARE(5, rvp->startFrame());
+ QCOMPARE(10, rvp->startFrame());
QCOMPARE(10, rvp->reqNumFrames());
QCOMPARE(-1, rvp->reqStartFrame());
More information about the Kst
mailing list