~jhodapp/qtubuntu-camera/media-hub-camera-integration

« back to all changes in this revision

Viewing changes to unittests/aalcameraexposurecontrol/tst_aalcameraexposurecontrol.cpp

  • Committer: Jim Hodapp
  • Date: 2014-07-31 16:44:03 UTC
  • Revision ID: jim.hodapp@canonical.com-20140731164403-abcg6cnvm7t6tqrx
Use QTEST_GUILESS_MAIN instead of QTEST_MAIN to avoid X11 dbus errors for the unittests. Also use deleteLater() for AudioCapture and QThread deletion in the destructor of AalMediaRecorderControl

Show diffs side-by-side

added added

removed removed

Lines of Context:
91
91
    QCOMPARE(spyRequested.count(), 1);
92
92
}
93
93
 
94
 
QTEST_MAIN(tst_AalCameraExposureControl)
 
94
QTEST_GUILESS_MAIN(tst_AalCameraExposureControl)
95
95
 
96
96
#include "tst_aalcameraexposurecontrol.moc"