summaryrefslogtreecommitdiffstats
path: root/Tests/QtAutogenRerun/mocPlugin/StyleB.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/StyleB.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/StyleB.hpp')
-rw-r--r--Tests/QtAutogenRerun/mocPlugin/StyleB.hpp17
1 files changed, 17 insertions, 0 deletions
diff --git a/Tests/QtAutogenRerun/mocPlugin/StyleB.hpp b/Tests/QtAutogenRerun/mocPlugin/StyleB.hpp
new file mode 100644
index 0000000..163c9b2
--- /dev/null
+++ b/Tests/QtAutogenRerun/mocPlugin/StyleB.hpp
@@ -0,0 +1,17 @@
+#ifndef STYLEB_HPP
+#define STYLEB_HPP
+
+#include "StyleCommon.hpp"
+#include <QStylePlugin>
+
+class StyleB : public QStylePlugin
+{
+ Q_OBJECT
+ // Json file in local subdirectory
+ Q_PLUGIN_METADATA(IID "org.styles.B" FILE "jsonIn/StyleB.json")
+ A_CUSTOM_MACRO(SomeArg, "jsonIn/StyleB_Custom.json", AnotherArg)
+public:
+ QStyle* create(const QString& key);
+};
+
+#endif