forked from qt-creator/qt-creator
Tracing: Adapt aggregator test to new ctor signature
Change-Id: Ifb94c1e1f14b26aa2bb365cd08d36fa67642ecc7 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -65,7 +65,8 @@ void tst_TimelineModelAggregator::height()
|
||||
void tst_TimelineModelAggregator::addRemoveModel()
|
||||
{
|
||||
Timeline::TimelineNotesModel notes;
|
||||
Timeline::TimelineModelAggregator aggregator(¬es);
|
||||
Timeline::TimelineModelAggregator aggregator;
|
||||
aggregator.setNotes(¬es);
|
||||
QSignalSpy spy(&aggregator, SIGNAL(modelsChanged()));
|
||||
|
||||
QCOMPARE(aggregator.notes(), ¬es);
|
||||
|
||||
Reference in New Issue
Block a user