diff options
author | Christian Kandeler <christian.kandeler@digia.com> | 2013-03-07 17:14:29 +0100 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@digia.com> | 2013-03-08 13:51:43 +0100 |
commit | 3d070261e5d9fdbf74a4f570edd2fafd865105c3 (patch) | |
tree | ee44fcc610690e232dccc073d6070a63a6cc0b62 /tests/auto/blackbox/tst_blackbox.h | |
parent | 62bd604abb3dcd0a224b3162d334ba00db0c88e6 (diff) |
Add an autotest for the "missing header file" situation.
The test checks whether qbs handles the following situation correctly:
- A class derived from QObject is implemented in a pair of header
and source files.
- The header file is mistakenly not added to the qbs file.
- The build fails with a linker error due to missing Q_OBJECT content.
- The header file is then added to the qbs file.
- The build succeeds.
This currently does not work, so the test is marked as expected to fail
for now.
Change-Id: I1de131504f56d807c6a0dec6865839230a053526
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Diffstat (limited to 'tests/auto/blackbox/tst_blackbox.h')
-rw-r--r-- | tests/auto/blackbox/tst_blackbox.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/blackbox/tst_blackbox.h b/tests/auto/blackbox/tst_blackbox.h index 67dee6b3d..50c9ca9a4 100644 --- a/tests/auto/blackbox/tst_blackbox.h +++ b/tests/auto/blackbox/tst_blackbox.h @@ -78,6 +78,7 @@ private slots: void recursiveRenaming(); void recursiveWildcards(); void codegen(); + void missingQObjectHeader(); void productProperties(); void installedApp(); void toolLookup(); |