Falkon Develop
Cross-platform Qt-based web browser
autotests.h File Reference
#include "mainapplication.h"
#include "qztools.h"
#include <QtTest/QtTest>

Go to the source code of this file.

Macros

#define FALKONTEST_MAIN(Test)
 

Functions

bool waitForLoadfinished (QObject *object)
 

Macro Definition Documentation

◆ FALKONTEST_MAIN

#define FALKONTEST_MAIN (   Test)
Value:
int main(int argc, char **argv) \
{ \
QzTools::removeRecursively(QDir::tempPath() + QSL("/Falkon-test")); \
MainApplication app(argc, argv); \
QTEST_DISABLE_KEYPAD_NAVIGATION; \
Test test; \
return QTest::qExec(&test, argc, argv); \
}
static void setTestModeEnabled(bool enabled)
static bool removeRecursively(const QString &filePath)
Definition: qztools.cpp:139
int main(int argc, char *argv[])
Definition: main.cpp:49
#define QSL(x)
Definition: qzcommon.h:40

Definition at line 23 of file autotests.h.

Function Documentation

◆ waitForLoadfinished()

bool waitForLoadfinished ( QObject *  object)

Definition at line 34 of file autotests.h.