TreeFrogFramework 2.10
Loading...
Searching...
No Matches
Macros
tftest.h File Reference
#include "tkvsdatabasepool.h"
#include "turlroute.h"
#include <QByteArray>
#include <QEventLoop>
#include <QObject>
#include <QtTest/QtTest>
#include <TAppSettings>
#include <TSystemGlobal>
#include <TStdErrSystemLogger>
#include <TWebApplication>
Include dependency graph for tftest.h:

Go to the source code of this file.

Macros

#define TF_TEST_MAIN(TestObject)   TF_TEST_SQL_MAIN(TestObject, true);
 
#define TF_TEST_SQL_MAIN(TestObject, EnableTransactions)
 
#define TF_TEST_SQLLESS_MAIN(TestObject)
 
#define INIT_MULTIPLEXING_SERVER()
 

Macro Definition Documentation

◆ INIT_MULTIPLEXING_SERVER

#define INIT_MULTIPLEXING_SERVER ( )

◆ TF_TEST_MAIN

#define TF_TEST_MAIN (   TestObject)    TF_TEST_SQL_MAIN(TestObject, true);

◆ TF_TEST_SQL_MAIN

#define TF_TEST_SQL_MAIN (   TestObject,
  EnableTransactions 
)

◆ TF_TEST_SQLLESS_MAIN

#define TF_TEST_SQLLESS_MAIN (   TestObject)
Value:
int main(int argc, char *argv[]) \
{ \
TWebApplication app(argc, argv); \
Tf::setupSystemLogger(new TStdErrSystemLogger); \
TestObject tc; \
return QTest::qExec(&tc, argc, argv); \
}
The TStdErrSystemLogger class provides functionality of system logging to stderr.
Definition tstderrsystemlogger.h:5
The TWebApplication class provides an event loop for TreeFrog applications.
Definition twebapplication.h:23