aboutsummaryrefslogtreecommitdiffstats
path: root/share/qtcreator/templates/wizards/autotest/files/tst_src_gt.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'share/qtcreator/templates/wizards/autotest/files/tst_src_gt.cpp')
-rw-r--r--share/qtcreator/templates/wizards/autotest/files/tst_src_gt.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/share/qtcreator/templates/wizards/autotest/files/tst_src_gt.cpp b/share/qtcreator/templates/wizards/autotest/files/tst_src_gt.cpp
new file mode 100644
index 00000000000..749ff06f0ac
--- /dev/null
+++ b/share/qtcreator/templates/wizards/autotest/files/tst_src_gt.cpp
@@ -0,0 +1,13 @@
+%{Cpp:LicenseTemplate}\
+
+#include <gtest/gtest.h>
+#include <gmock/gmock-matchers.h>
+
+using namespace testing;
+
+TEST(%{TestSuiteName}, %{TestCaseName})
+{
+ EXPECT_EQ(1, 1);
+ ASSERT_THAT(0, Eq(0));
+}
+