root / gr-howto-write-a-block / lib / qa_howto.cc @ 0a3595df
History | View | Annotate | Download (1.2 kB)
| 1 | 0a3595df | Johnathan Corgan | /*
|
|---|---|---|---|
| 2 | 0a3595df | Johnathan Corgan | * Copyright 2009 Free Software Foundation, Inc. |
| 3 | 0a3595df | Johnathan Corgan | * |
| 4 | 0a3595df | Johnathan Corgan | * This file is part of GNU Radio |
| 5 | 0a3595df | Johnathan Corgan | * |
| 6 | 0a3595df | Johnathan Corgan | * GNU Radio is free software; you can redistribute it and/or modify |
| 7 | 0a3595df | Johnathan Corgan | * it under the terms of the GNU General Public License as published by |
| 8 | 0a3595df | Johnathan Corgan | * the Free Software Foundation; either version 3, or (at your option) |
| 9 | 0a3595df | Johnathan Corgan | * any later version. |
| 10 | 0a3595df | Johnathan Corgan | * |
| 11 | 0a3595df | Johnathan Corgan | * GNU Radio is distributed in the hope that it will be useful, |
| 12 | 0a3595df | Johnathan Corgan | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 | 0a3595df | Johnathan Corgan | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 14 | 0a3595df | Johnathan Corgan | * GNU General Public License for more details. |
| 15 | 0a3595df | Johnathan Corgan | * |
| 16 | 0a3595df | Johnathan Corgan | * You should have received a copy of the GNU General Public License |
| 17 | 0a3595df | Johnathan Corgan | * along with GNU Radio; see the file COPYING. If not, write to |
| 18 | 0a3595df | Johnathan Corgan | * the Free Software Foundation, Inc., 51 Franklin Street, |
| 19 | 0a3595df | Johnathan Corgan | * Boston, MA 02110-1301, USA. |
| 20 | 0a3595df | Johnathan Corgan | */ |
| 21 | 0a3595df | Johnathan Corgan | |
| 22 | 0a3595df | Johnathan Corgan | /*
|
| 23 | 0a3595df | Johnathan Corgan | * This class gathers together all the test cases for the example |
| 24 | 0a3595df | Johnathan Corgan | * directory into a single test suite. As you create new test cases, |
| 25 | 0a3595df | Johnathan Corgan | * add them here. |
| 26 | 0a3595df | Johnathan Corgan | */ |
| 27 | 0a3595df | Johnathan Corgan | |
| 28 | 0a3595df | Johnathan Corgan | #include <qa_howto.h> |
| 29 | 0a3595df | Johnathan Corgan | #include <qa_howto_square_ff.h> |
| 30 | 0a3595df | Johnathan Corgan | #include <qa_howto_square2_ff.h> |
| 31 | 0a3595df | Johnathan Corgan | |
| 32 | 0a3595df | Johnathan Corgan | CppUnit::TestSuite * |
| 33 | 0a3595df | Johnathan Corgan | qa_howto::suite() |
| 34 | 0a3595df | Johnathan Corgan | {
|
| 35 | 0a3595df | Johnathan Corgan | CppUnit::TestSuite *s = new CppUnit::TestSuite("howto"); |
| 36 | 0a3595df | Johnathan Corgan | |
| 37 | 0a3595df | Johnathan Corgan | s->addTest(qa_howto_square_ff::suite()); |
| 38 | 0a3595df | Johnathan Corgan | s->addTest(qa_howto_square2_ff::suite()); |
| 39 | 0a3595df | Johnathan Corgan | |
| 40 | 0a3595df | Johnathan Corgan | return s;
|
| 41 | 0a3595df | Johnathan Corgan | } |