ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE-4/test/io/IfstrstreamTestCase.hpp
Revision: 1584
Committed: Fri Oct 15 21:11:35 2004 UTC (19 years, 8 months ago) by tim
File size: 1261 byte(s)
Log Message:
adding test file

File Contents

# Content
1 #ifndef TEST_IFSTRSTREAMTESTCASE_HPP
2 #define TEST_IFSTRSTREAMTESTCASE_HPP
3
4 #include <cppunit/extensions/HelperMacros.h>
5
6
7
8 class IfstrstreamTestCase : public CPPUNIT_NS::TestFixture {
9
10 CPPUNIT_TEST_SUITE( IfstrstreamTestCase);
11
12 #ifndef IS_MPI
13 CPPUNIT_TEST(testConstructor);
14 CPPUNIT_TEST(testOpen);
15 CPPUNIT_TEST(testIs_open);
16 CPPUNIT_TEST(testClose);
17 #else
18 CPPUNIT_TEST(testMasterConstructor);
19 CPPUNIT_TEST(testMasterOpen);
20 CPPUNIT_TEST(testMasterIs_open);
21 CPPUNIT_TEST(testMasterClose);
22 CPPUNIT_TEST(testSlaveConstructor);
23 CPPUNIT_TEST(testSlaveOpen);
24 CPPUNIT_TEST(testSlaveIs_open);
25 CPPUNIT_TEST(testSlaveClose);
26 #endif
27
28 CPPUNIT_TEST_SUITE_END();
29
30 public:
31 virtual void setUp();
32 virtual void tearDown();
33
34 #ifndef IS_MPI
35 void testConstructor();
36 void testOpen();
37 void testIs_open();
38 void testClose();
39
40 #else
41 void testMasterConstructor();
42 void testMasterOpen();
43 void testMasterIs_open();
44 void testMasterClose();
45 void testSlaveConstructor();
46 void testSlaveOpen();
47 void testSlaveIs_open();
48 void testSlaveClose();
49 #endif
50 };
51
52 #endif //TEST_IFSTRSTREAMTESTCASE_HPP

Properties

Name Value
svn:executable *