summaryrefslogtreecommitdiff
path: root/gr-utils/python/modtool/templates.py
diff options
context:
space:
mode:
Diffstat (limited to 'gr-utils/python/modtool/templates.py')
-rw-r--r--gr-utils/python/modtool/templates.py21
1 files changed, 20 insertions, 1 deletions
diff --git a/gr-utils/python/modtool/templates.py b/gr-utils/python/modtool/templates.py
index 10ee4a4e6c..420b7c63b5 100644
--- a/gr-utils/python/modtool/templates.py
+++ b/gr-utils/python/modtool/templates.py
@@ -1,5 +1,5 @@
#
-# Copyright 2013-2014 Free Software Foundation, Inc.
+# Copyright 2013-2014,2018 Free Software Foundation, Inc.
#
# This file is part of GNU Radio
#
@@ -442,6 +442,25 @@ class ${blockname}(${parenttype}):
'''
+# C++ file for QA (Boost UTF style)
+Templates['qa_cpp_boostutf'] = '''/* -*- c++ -*- */
+${str_to_fancyc_comment(license)}
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+#include <${include_dir_prefix}/${blockname}.h>
+#include <gnuradio/attributes.h>
+#include <boost/test/unit_test.hpp>
+
+BOOST_AUTO_TEST_CASE(test_${blockname}_t1)
+{
+ // Put test here
+}
+
+'''
+
# C++ file for QA
Templates['qa_cpp'] = '''/* -*- c++ -*- */
${str_to_fancyc_comment(license)}