aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorpiotr <Piotr Krysik pkrysik@elka.pw.edu.pl>2014-04-17 16:06:24 +0200
committerpiotr <Piotr Krysik pkrysik@elka.pw.edu.pl>2014-04-17 16:06:24 +0200
commit883d5084befb7f087642fc762ee0e32b3e175a27 (patch)
treef3a20513714fbe2dd26d3d6d263787ecc5dd6900 /lib
parent903b1d69bb97274fcd24e8ecc835845a7e6f57ba (diff)
parent6629251062b404677b05eb5e43be1c60f1dcd110 (diff)
Merge branch 'master' of github.com:Jakotako/gr-gsm
Diffstat (limited to 'lib')
-rw-r--r--lib/qa_gsm.cc40
-rw-r--r--lib/qa_gsm.h40
-rw-r--r--lib/qa_receiver.cc40
-rw-r--r--lib/qa_receiver.h47
4 files changed, 167 insertions, 0 deletions
diff --git a/lib/qa_gsm.cc b/lib/qa_gsm.cc
new file mode 100644
index 0000000..b84c0ea
--- /dev/null
+++ b/lib/qa_gsm.cc
@@ -0,0 +1,40 @@
+/*
+ * Copyright 2012 Free Software Foundation, Inc.
+ *
+ * This file is part of GNU Radio
+ *
+ * GNU Radio is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3, or (at your option)
+ * any later version.
+ *
+ * GNU Radio is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with GNU Radio; see the file COPYING. If not, write to
+ * the Free Software Foundation, Inc., 51 Franklin Street,
+ * Boston, MA 02110-1301, USA.
+ */
+
+/*
+ * This class gathers together all the test cases for the gr-filter
+ * directory into a single test suite. As you create new test cases,
+ * add them here.
+ */
+
+#include "qa_gsm.h"
+#include "qa_receiver.h"
+
+//this is just a stub created by gr_modtool
+
+CppUnit::TestSuite *
+qa_gsm::suite()
+{
+ CppUnit::TestSuite *s = new CppUnit::TestSuite("gsm");
+ s->addTest(gr::gsm::qa_receiver::suite());
+
+ return s;
+}
diff --git a/lib/qa_gsm.h b/lib/qa_gsm.h
new file mode 100644
index 0000000..f5ce6cd
--- /dev/null
+++ b/lib/qa_gsm.h
@@ -0,0 +1,40 @@
+/* -*- c++ -*- */
+/*
+ * Copyright 2012 Free Software Foundation, Inc.
+ *
+ * This file is part of GNU Radio
+ *
+ * GNU Radio is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3, or (at your option)
+ * any later version.
+ *
+ * GNU Radio is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with GNU Radio; see the file COPYING. If not, write to
+ * the Free Software Foundation, Inc., 51 Franklin Street,
+ * Boston, MA 02110-1301, USA.
+ */
+
+#ifndef _QA_GSM_H_
+#define _QA_GSM_H_
+
+#include <gnuradio/attributes.h>
+#include <cppunit/TestSuite.h>
+
+//this is just a stub created by gr_modtool
+
+//! collect all the tests for the gr-filter directory
+
+class __GR_ATTR_EXPORT qa_gsm
+{
+ public:
+ //! return suite of tests for all of gr-filter directory
+ static CppUnit::TestSuite *suite();
+};
+
+#endif /* _QA_GSM_H_ */
diff --git a/lib/qa_receiver.cc b/lib/qa_receiver.cc
new file mode 100644
index 0000000..34949dd
--- /dev/null
+++ b/lib/qa_receiver.cc
@@ -0,0 +1,40 @@
+/* -*- c++ -*- */
+/*
+ * Copyright 2014 <+YOU OR YOUR COMPANY+>.
+ *
+ * This is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3, or (at your option)
+ * any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this software; see the file COPYING. If not, write to
+ * the Free Software Foundation, Inc., 51 Franklin Street,
+ * Boston, MA 02110-1301, USA.
+ */
+
+
+#include <gnuradio/attributes.h>
+#include <cppunit/TestAssert.h>
+#include "qa_receiver.h"
+#include <gsm/receiver.h>
+
+//this is just a stub created by gr_modtool
+
+namespace gr {
+ namespace gsm {
+
+ void
+ qa_receiver::t1()
+ {
+ // Put test here
+ }
+
+ } /* namespace gsm */
+} /* namespace gr */
+
diff --git a/lib/qa_receiver.h b/lib/qa_receiver.h
new file mode 100644
index 0000000..085b45f
--- /dev/null
+++ b/lib/qa_receiver.h
@@ -0,0 +1,47 @@
+/* -*- c++ -*- */
+/*
+ * Copyright 2014 <+YOU OR YOUR COMPANY+>.
+ *
+ * This is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3, or (at your option)
+ * any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this software; see the file COPYING. If not, write to
+ * the Free Software Foundation, Inc., 51 Franklin Street,
+ * Boston, MA 02110-1301, USA.
+ */
+
+//this is just a stub created by gr_modtool
+
+#ifndef _QA_RECEIVER_H_
+#define _QA_RECEIVER_H_
+
+#include <cppunit/extensions/HelperMacros.h>
+#include <cppunit/TestCase.h>
+
+namespace gr {
+ namespace gsm {
+
+ class qa_receiver : public CppUnit::TestCase
+ {
+ public:
+ CPPUNIT_TEST_SUITE(qa_receiver);
+ CPPUNIT_TEST(t1);
+ CPPUNIT_TEST_SUITE_END();
+
+ private:
+ void t1();
+ };
+
+ } /* namespace gsm */
+} /* namespace gr */
+
+#endif /* _QA_RECEIVER_H_ */
+