diff options
author | Sebastian Holtermann <sebholt@xwmw.org> | 2018-01-05 12:28:09 (GMT) |
---|---|---|
committer | Sebastian Holtermann <sebholt@xwmw.org> | 2018-01-17 16:23:49 (GMT) |
commit | 6f4b661383fccc5f2f5a936499ba11cf2000b535 (patch) | |
tree | 129047e8c296ba8c7451fa958ecdfb14878651d0 /Tests/QtAutogen/Parallel/bbb/aaa | |
parent | a008578deebfa71b38786281450e3d9cf84f5847 (diff) | |
download | CMake-6f4b661383fccc5f2f5a936499ba11cf2000b535.zip CMake-6f4b661383fccc5f2f5a936499ba11cf2000b535.tar.gz CMake-6f4b661383fccc5f2f5a936499ba11cf2000b535.tar.bz2 |
Autogen: Tests: Add AUTOGEN_PARALLEL tests
Diffstat (limited to 'Tests/QtAutogen/Parallel/bbb/aaa')
-rw-r--r-- | Tests/QtAutogen/Parallel/bbb/aaa/data.qrc | 6 | ||||
-rw-r--r-- | Tests/QtAutogen/Parallel/bbb/aaa/item.cpp | 22 | ||||
-rw-r--r-- | Tests/QtAutogen/Parallel/bbb/aaa/item.hpp | 18 |
3 files changed, 46 insertions, 0 deletions
diff --git a/Tests/QtAutogen/Parallel/bbb/aaa/data.qrc b/Tests/QtAutogen/Parallel/bbb/aaa/data.qrc new file mode 100644 index 0000000..da98009 --- /dev/null +++ b/Tests/QtAutogen/Parallel/bbb/aaa/data.qrc @@ -0,0 +1,6 @@ +<!DOCTYPE RCC><RCC version="1.0"> +<qresource prefix="bbb/aaa/"> + <file>item.hpp</file> + <file>item.cpp</file> +</qresource> +</RCC> diff --git a/Tests/QtAutogen/Parallel/bbb/aaa/item.cpp b/Tests/QtAutogen/Parallel/bbb/aaa/item.cpp new file mode 100644 index 0000000..7ad01c3 --- /dev/null +++ b/Tests/QtAutogen/Parallel/bbb/aaa/item.cpp @@ -0,0 +1,22 @@ +#include "item.hpp" + +namespace bbb { +namespace aaa { + +class MocLocal : public QObject +{ + Q_OBJECT; + +public: + MocLocal() = default; + ~MocLocal() = default; +}; + +void Item::go() +{ + MocLocal obj; +} +} +} + +#include "bbb/aaa/item.moc" diff --git a/Tests/QtAutogen/Parallel/bbb/aaa/item.hpp b/Tests/QtAutogen/Parallel/bbb/aaa/item.hpp new file mode 100644 index 0000000..be07ca8 --- /dev/null +++ b/Tests/QtAutogen/Parallel/bbb/aaa/item.hpp @@ -0,0 +1,18 @@ +#ifndef BBB_AAA_ITEM_HPP +#define BBB_AAA_ITEM_HPP + +#include <QObject> + +namespace bbb { +namespace aaa { + +class Item : public QObject +{ + Q_OBJECT + Q_SLOT + void go(); +}; +} +} + +#endif |