/*** @author Rob Caldecott* @note This was obtained from http://qtcreator.blogspot.com/2010/04/sample-multiple-unit-test-project.html**/#include "AutoTest.h"#include <QDebug>#if 1// This is all you need to run all the testsTEST_MAIN#else// Or supply your own main functionintmain(intargc,char*argv[]){intfailures=AutoTest::run(argc,argv);if(failures==0){qDebug()<<"ALL TESTS PASSED";}else{qDebug()<<failures<<" TESTS FAILED!";}returnfailures;}#endif