diff --git a/tests/auto/qbarset/tst_qbarset.cpp b/tests/auto/qbarset/tst_qbarset.cpp index 4200a21..9f45a14 100644 --- a/tests/auto/qbarset/tst_qbarset.cpp +++ b/tests/auto/qbarset/tst_qbarset.cpp @@ -131,7 +131,6 @@ void tst_QBarSet::append() QVERIFY(qFuzzyIsNull(m_barset->sum())); QSignalSpy valueSpy(m_barset, SIGNAL(valuesAdded(int,int))); - QSignalSpy countSpy(m_barset, SIGNAL(countChanged(int))); qreal sum(0.0); qreal value(0.0); @@ -147,7 +146,6 @@ void tst_QBarSet::append() QVERIFY(qFuzzyCompare(m_barset->sum(), sum)); QCOMPARE(valueSpy.count(), count); - QCOMPARE(countSpy.count(), count); } void tst_QBarSet::appendOperator_data() @@ -163,7 +161,6 @@ void tst_QBarSet::appendOperator() QVERIFY(qFuzzyIsNull(m_barset->sum())); QSignalSpy valueSpy(m_barset,SIGNAL(valuesAdded(int,int))); - QSignalSpy countSpy(m_barset, SIGNAL(countChanged(int))); qreal sum(0.0); qreal value(0.0); @@ -178,7 +175,6 @@ void tst_QBarSet::appendOperator() QCOMPARE(m_barset->count(), count); QVERIFY(qFuzzyCompare(m_barset->sum(), sum)); QCOMPARE(valueSpy.count(), count); - QCOMPARE(countSpy.count(), count); } void tst_QBarSet::insert_data() @@ -190,7 +186,6 @@ void tst_QBarSet::insert() QCOMPARE(m_barset->count(), 0); QVERIFY(qFuzzyIsNull(m_barset->sum())); QSignalSpy valueSpy(m_barset,SIGNAL(valuesAdded(int,int))); - QSignalSpy countSpy(m_barset, SIGNAL(countChanged(int))); m_barset->insert(0, 1.0); // 1.0 QCOMPARE(m_barset->at(0).y(), 1.0); @@ -210,7 +205,6 @@ void tst_QBarSet::insert() QCOMPARE(m_barset->count(), 3); QVERIFY(qFuzzyCompare(m_barset->sum(), 6.0)); QCOMPARE(valueSpy.count(), 3); - QCOMPARE(countSpy.count(), 3); } void tst_QBarSet::remove_data() @@ -223,7 +217,6 @@ void tst_QBarSet::remove() QVERIFY(qFuzzyIsNull(m_barset->sum())); QSignalSpy valueSpy(m_barset,SIGNAL(valuesRemoved(int,int))); - QSignalSpy countSpy(m_barset, SIGNAL(countChanged(int))); m_barset->append(1.0); m_barset->append(2.0); @@ -247,7 +240,6 @@ void tst_QBarSet::remove() QCOMPARE(m_barset->sum(), 6.0); QCOMPARE(valueSpy.count(), 2); - QCOMPARE(countSpy.count(), 6); } void tst_QBarSet::replace_data()