Commit 02e131e5 authored by Utkarsh Ayachit's avatar Utkarsh Ayachit

Merge pull request #8 from mwestphal/CompilationFix

Compilation fix
parents c5877d32 257c5fa8
......@@ -270,46 +270,37 @@ void pqDoubleSpinBoxEventTranslatorTester::testRecordComplexClick()
recordExpected.append(QString("doubleSpinBoxTest, set_double, -5.25#"));
recordExpected.append(QString("doubleSpinBoxTest, set_double, -5.25#"));
std::cout<<recordExpected.toAscii().data()<<std::endl;
QTest::mouseClick(this->DoubleSpinBox, Qt::LeftButton, Qt::NoModifier,
QPoint(size.rwidth()- frameWidth , size.rheight() - frameWidth));
recordExpected.append(QString("doubleSpinBoxTest, set_double, -5.5#"));
std::cout<<recordExpected.toAscii().data()<<std::endl;
QTest::mouseClick(this->DoubleSpinBox, Qt::LeftButton, Qt::NoModifier,
QPoint(size.rwidth()- frameWidth , size.rheight() - frameWidth));
recordExpected.append(QString("doubleSpinBoxTest, set_double, -5.75#"));
std::cout<<recordExpected.toAscii().data()<<std::endl;
QTest::mouseClick(this->DoubleSpinBox, Qt::LeftButton, Qt::NoModifier,
QPoint(size.rwidth()- frameWidth , frameWidth));
recordExpected.append(QString("doubleSpinBoxTest, set_double, -5.5#"));
std::cout<<recordExpected.toAscii().data()<<std::endl;
QTest::mouseClick(this->DoubleSpinBox, Qt::LeftButton, Qt::NoModifier,
QPoint(size.rwidth()- frameWidth , frameWidth));
recordExpected.append(QString("doubleSpinBoxTest, set_double, -5.25#"));
std::cout<<recordExpected.toAscii().data()<<std::endl;
QTest::mouseClick(this->DoubleSpinBox, Qt::LeftButton, Qt::NoModifier,
QPoint(size.rwidth()- frameWidth , frameWidth));
recordExpected.append(QString("doubleSpinBoxTest, set_double, -5#"));
std::cout<<recordExpected.toAscii().data()<<std::endl;
QTest::mouseClick(this->DoubleSpinBox, Qt::LeftButton, Qt::NoModifier,
QPoint(size.rwidth()- frameWidth , frameWidth));
recordExpected.append(QString("doubleSpinBoxTest, set_double, -4.75#"));
std::cout<<recordExpected.toAscii().data()<<std::endl;
QTest::mouseClick(this->DoubleSpinBox, Qt::LeftButton, Qt::NoModifier,
QPoint(size.rwidth()- frameWidth , frameWidth));
recordExpected.append(QString("doubleSpinBoxTest, set_double, -4.5#"));
std::cout<<recordExpected.toAscii().data()<<std::endl;
QTest::keyClicks(this->DoubleSpinBox, QString::number(0));
recordExpected.append(QString("doubleSpinBoxTest, set_double, 0#"));
recordExpected.append(QString("doubleSpinBoxTest, set_double, 0#"));
std::cout<<recordExpected.toAscii().data()<<std::endl;
QCOMPARE(this->EventObserver->Text, recordExpected);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment