1*1ee847caSNicolas Bonnefon #include "gmock/gmock.h" 2*1ee847caSNicolas Bonnefon 3*1ee847caSNicolas Bonnefon #include <QApplication> 4*1ee847caSNicolas Bonnefon main(int argc,char * argv[])5*1ee847caSNicolas Bonnefonint main(int argc, char *argv[]) { 6*1ee847caSNicolas Bonnefon QApplication a( argc, argv ); 7*1ee847caSNicolas Bonnefon ::testing::InitGoogleTest(&argc, argv); 8*1ee847caSNicolas Bonnefon int iReturn = RUN_ALL_TESTS(); 9*1ee847caSNicolas Bonnefon 10*1ee847caSNicolas Bonnefon // qDebug()<<"rcode:"<<iReturn; 11*1ee847caSNicolas Bonnefon 12*1ee847caSNicolas Bonnefon return a.exec(); 13*1ee847caSNicolas Bonnefon } 14