Pencil2D  ff90c0872e88be3bf81c548cd60f01983012ec49
Pencil2D is an animation software for both bitmap and vector graphics. It is free, multi-platform, and open source.
 All Classes Functions
main.cpp
1 #include <cstdlib>
2 #include "AutoTest.h"
3 #include <QTest>
4 
5 //QTEST_MAIN
6 int main(int argc, char *argv[])
7 {
8  QApplication app( argc, argv );
9  app.setAttribute( Qt::AA_Use96Dpi, true );
10 
11  int ret = AutoTest::run(argc, argv);
12  bool allTestsPass = ( ret == 0 );
13 
14  if ( allTestsPass )
15  {
16  qDebug() << "\n==== ALL TESTS PASSED ====\n";
17  }
18  else
19  {
20  qDebug() << "\n==== SOME TESTS FAILED ====\n";
21  }
22 
23 #ifdef WIN32
24  system("PAUSE");
25 #endif
26 
27  return ret;
28 }