summaryrefslogtreecommitdiffstats
path: root/Tests/QtAutogenRerun/mocPlugin/StyleE.hpp
diff options
context:
space:
mode:
authorSebastian Holtermann <sebholt@xwmw.org>2017-07-20 20:35:05 (GMT)
committerSebastian Holtermann <sebholt@xwmw.org>2017-07-21 15:03:40 (GMT)
commit0e434fcf0428f43dcc5f540ca0a61e078c9f4b4c (patch)
tree598fd1f91b2855d43064db6d5afb18687efaf155 /Tests/QtAutogenRerun/mocPlugin/StyleE.hpp
parentaf9708881f4c2d8f501ae63a4088c020edb6f070 (diff)
downloadCMake-0e434fcf0428f43dcc5f540ca0a61e078c9f4b4c.zip
CMake-0e434fcf0428f43dcc5f540ca0a61e078c9f4b4c.tar.gz
CMake-0e434fcf0428f43dcc5f540ca0a61e078c9f4b4c.tar.bz2
Autogen: Move repeated tests to new QtAutogenRerun test
By moving QtAutogen tests that run repeatedly to a new QtAutogenRerun test, the `ctest -R Qt[45]Autogen -j4` call runs approximately 25% faster.
Diffstat (limited to 'Tests/QtAutogenRerun/mocPlugin/StyleE.hpp')
-rw-r--r--Tests/QtAutogenRerun/mocPlugin/StyleE.hpp17
1 files changed, 17 insertions, 0 deletions
diff --git a/Tests/QtAutogenRerun/mocPlugin/StyleE.hpp b/Tests/QtAutogenRerun/mocPlugin/StyleE.hpp
new file mode 100644
index 0000000..e7915a8
--- /dev/null
+++ b/Tests/QtAutogenRerun/mocPlugin/StyleE.hpp
@@ -0,0 +1,17 @@
+#ifndef STYLEE_HPP
+#define STYLEE_HPP
+
+#include "StyleCommon.hpp"
+#include <QStylePlugin>
+
+class StyleE : public QStylePlugin
+{
+ Q_OBJECT
+ // No Json file
+ Q_PLUGIN_METADATA(IID "org.styles.E")
+ A_CUSTOM_MACRO(SomeArg, InvalidFileArg, AnotherArg)
+public:
+ QStyle* create(const QString& key);
+};
+
+#endif