summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorSean Harmer <sean.harmer@kdab.com>2017-03-04 10:36:56 +0000
committerSean Harmer <sean.harmer@kdab.com>2017-03-17 08:37:25 +0000
commitcb0c04ccba8b70f0954cbbd69e322db06330c8a7 (patch)
tree36b7eb4e4ed1f8efc624856ebb04c268b9a76b46 /tests
parent4bab2a05c834a10081a19ed3aa7a478abc3e9ed1 (diff)
Typedef QVector<float> as ClipResults
Will make it easier to read once we introduce a vector of ClipResults which will be needed shortly. Change-Id: I97c2ae3fcd431b075db96f255fdffcc117529a63 Reviewed-by: Mike Krus <mike.krus@kdab.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/animation/animationutils/tst_animationutils.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/auto/animation/animationutils/tst_animationutils.cpp b/tests/auto/animation/animationutils/tst_animationutils.cpp
index 1f91aedf1..7600f4d91 100644
--- a/tests/auto/animation/animationutils/tst_animationutils.cpp
+++ b/tests/auto/animation/animationutils/tst_animationutils.cpp
@@ -606,12 +606,12 @@ private Q_SLOTS:
QTest::addColumn<Handler *>("handler");
QTest::addColumn<AnimationClipLoader *>("clip");
QTest::addColumn<float>("localTime");
- QTest::addColumn<QVector<float>>("expectedResults");
+ QTest::addColumn<ClipResults>("expectedResults");
Handler *handler;
AnimationClipLoader *clip;
float localTime;
- QVector<float> expectedResults;
+ ClipResults expectedResults;
{
handler = new Handler();
@@ -690,10 +690,10 @@ private Q_SLOTS:
QFETCH(Handler *, handler);
QFETCH(AnimationClipLoader *, clip);
QFETCH(float, localTime);
- QFETCH(QVector<float>, expectedResults);
+ QFETCH(ClipResults, expectedResults);
// WHEN
- QVector<float> actualResults = evaluateClipAtLocalTime(clip, localTime);
+ ClipResults actualResults = evaluateClipAtLocalTime(clip, localTime);
// THEN
QCOMPARE(actualResults.size(), expectedResults.size());