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

« back to all changes in this revision

Viewing changes to unittests/aalimagecapturecontrol/tst_aalimagecapturecontrol.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:
92
92
    }
93
93
}
94
94
 
95
 
QTEST_MAIN(tst_AalImageCaptureControl)
 
95
QTEST_GUILESS_MAIN(tst_AalImageCaptureControl)
96
96
 
97
97
#include "tst_aalimagecapturecontrol.moc"