#include "edbee/exports.h"
#include <QObject>
#include <QString>
#include <QSharedPointer>
#include <QTextStream>
Go to the source code of this file.
|
namespace | edbee |
| QT Acessibility has an issue with reporting blank lines between elements lines. defining 'WINDOWS_EMPTY_LINE_READING_ERROR_FIX' adds a \r before a newline. Which is a workaround for this issue. (It does some offset-length and string magic when this is enabled)
|
|
namespace | edbee::test |
|
|
#define | TEST_CONCATENATE_DETAIL(x, y) |
| @TODO: Replace these tests with the standard Qt testing framework
|
|
#define | TEST_CONCATENATE(x, y) |
|
#define | TEST_MAKE_UNIQUE(x) |
|
#define | DECLARE_TEST(className) |
|
#define | DECLARE_NAMED_TEST(name, className) |
|
#define | GET_3TH_ARG(arg1, arg2, arg3, ...) |
|
#define | GET_4TH_ARG(arg1, arg2, arg3, arg4, ...) |
|
#define | testTrue_1(statement) |
|
#define | testTrue_2(statement, message) |
|
#define | testTrue_MACRO_CHOOSER(...) |
|
#define | testTrue(...) |
|
#define | testFalse(statement) |
|
#define | testEqual_1(actual, expected) |
|
#define | testEqual_2(actual, expected, message) |
|
#define | testEqual_MACRO_CHOOSER(...) |
|
#define | testEqual(...) |
|
#define | testSkip(msg) |
|
◆ DECLARE_NAMED_TEST
#define DECLARE_NAMED_TEST |
( |
| name, |
|
|
| className ) |
Value:
#define TEST_MAKE_UNIQUE(x)
Definition test.h:22
◆ DECLARE_TEST
#define DECLARE_TEST |
( |
| className | ) |
|
◆ GET_3TH_ARG
#define GET_3TH_ARG |
( |
| arg1, |
|
|
| arg2, |
|
|
| arg3, |
|
|
| ... ) |
◆ GET_4TH_ARG
#define GET_4TH_ARG |
( |
| arg1, |
|
|
| arg2, |
|
|
| arg3, |
|
|
| arg4, |
|
|
| ... ) |
◆ TEST_CONCATENATE
#define TEST_CONCATENATE |
( |
| x, |
|
|
| y ) |
Value:
#define TEST_CONCATENATE_DETAIL(x, y)
@TODO: Replace these tests with the standard Qt testing framework
Definition test.h:20
◆ TEST_CONCATENATE_DETAIL
#define TEST_CONCATENATE_DETAIL |
( |
| x, |
|
|
| y ) |
Value:
@TODO: Replace these tests with the standard Qt testing framework
◆ TEST_MAKE_UNIQUE
#define TEST_MAKE_UNIQUE |
( |
| x | ) |
|
Value:
#define TEST_CONCATENATE(x, y)
Definition test.h:21
◆ testEqual
Value:
#define testEqual_MACRO_CHOOSER(...)
Definition test.h:139
◆ testEqual_1
#define testEqual_1 |
( |
| actual, |
|
|
| expected ) |
Value: do { \
testEqualImpl( ( actualStr ) == ( expectedStr ), actualStr, expectedStr, #actual, #expected, "", __FILE__, __LINE__ ); \
} while( false )
QString toQString(const T &obj)
Definition test.h:40
◆ testEqual_2
#define testEqual_2 |
( |
| actual, |
|
|
| expected, |
|
|
| message ) |
Value: do \
testEqualImpl( ( actualStr ) == ( expectedStr ), actualStr, expectedStr, #actual, #expected, (message), __FILE__, __LINE__ ); \
} while( false )
◆ testEqual_MACRO_CHOOSER
#define testEqual_MACRO_CHOOSER |
( |
| ... | ) |
|
Value:
#define GET_4TH_ARG(arg1, arg2, arg3, arg4,...)
Definition test.h:113
#define testEqual_2(actual, expected, message)
Definition test.h:132
#define testEqual_1(actual, expected)
Definition test.h:126
◆ testFalse
#define testFalse |
( |
| statement | ) |
|
Value:
#define testTrue(...)
Definition test.h:120
◆ testSkip
Value:testSkipImpl( msg, __FILE__, __LINE__)
◆ testTrue
Value:
#define testTrue_MACRO_CHOOSER(...)
Definition test.h:118
◆ testTrue_1
#define testTrue_1 |
( |
| statement | ) |
|
Value:testTrueImpl( ( statement ) ? true : false, #statement, "", __FILE__, __LINE__)
◆ testTrue_2
#define testTrue_2 |
( |
| statement, |
|
|
| message ) |
Value:testTrueImpl( ( statement ) ? true : false, #statement, (message), __FILE__, __LINE__ )
◆ testTrue_MACRO_CHOOSER
#define testTrue_MACRO_CHOOSER |
( |
| ... | ) |
|
Value:
#define testTrue_2(statement, message)
Definition test.h:117
#define GET_3TH_ARG(arg1, arg2, arg3,...)
Definition test.h:112
#define testTrue_1(statement)
Definition test.h:116