Revision 24167,
1.2 KB
checked in by broder, 15 years ago
(diff) |
Import schroot upstream into subversion.
|
Line | |
---|
1 | /* Copyright © 2006-2007 Roger Leigh <rleigh@debian.org> |
---|
2 | * |
---|
3 | * schroot is free software: you can redistribute it and/or modify it |
---|
4 | * under the terms of the GNU General Public License as published by |
---|
5 | * the Free Software Foundation, either version 3 of the License, or |
---|
6 | * (at your option) any later version. |
---|
7 | * |
---|
8 | * schroot is distributed in the hope that it will be useful, but |
---|
9 | * WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
---|
11 | * General Public License for more details. |
---|
12 | * |
---|
13 | * You should have received a copy of the GNU General Public License |
---|
14 | * along with this program. If not, see |
---|
15 | * <http://www.gnu.org/licenses/>. |
---|
16 | * |
---|
17 | *********************************************************************/ |
---|
18 | |
---|
19 | #include <sbuild/sbuild-nostream.h> |
---|
20 | |
---|
21 | #include <cstdlib> |
---|
22 | |
---|
23 | #include <cppunit/extensions/HelperMacros.h> |
---|
24 | |
---|
25 | using namespace CppUnit; |
---|
26 | |
---|
27 | class test_nostream : public TestCase |
---|
28 | { |
---|
29 | CPPUNIT_TEST_SUITE(test_nostream); |
---|
30 | CPPUNIT_TEST(test_stream); |
---|
31 | CPPUNIT_TEST_SUITE_END(); |
---|
32 | |
---|
33 | public: |
---|
34 | test_nostream() |
---|
35 | {} |
---|
36 | |
---|
37 | void test_stream() |
---|
38 | { |
---|
39 | sbuild::cnull << "Discard"; |
---|
40 | } |
---|
41 | }; |
---|
42 | |
---|
43 | CPPUNIT_TEST_SUITE_REGISTRATION(test_nostream); |
---|
Note: See
TracBrowser
for help on using the repository browser.