qcpix/tsrc/qttestutil/simplechecker.cpp
changeset 11 7c6f43cd91cf
equal deleted inserted replaced
8:6547bf8ca13a 11:7c6f43cd91cf
       
     1 /*
       
     2  * Copyright (C) 2008  Remko Troncon
       
     3  * Licensed under the MIT license.
       
     4  * See COPYING for license details.
       
     5  */
       
     6 
       
     7 #include <QCoreApplication>
       
     8 
       
     9 #include "QtTestUtil/TestRegistry.h"
       
    10 
       
    11 /**
       
    12  * Runs all tests registered with the QtTestUtil registry.
       
    13  */
       
    14 int main(int argc, char* argv[]) {
       
    15     QCoreApplication application(argc, argv);
       
    16     return QtTestUtil::TestRegistry::getInstance()->runTests(argc, argv);
       
    17 }