| 1 | 
tim | 
85 | 
#include "io/basic_ifstrstream.hpp" | 
| 2 | 
  | 
  | 
#include "IfstrstreamTestCase.hpp" | 
| 3 | 
  | 
  | 
// Registers the fixture into the 'registry' | 
| 4 | 
tim | 
87 | 
using namespace oopse; | 
| 5 | 
tim | 
85 | 
CPPUNIT_TEST_SUITE_REGISTRATION( IfstrstreamTestCase ); | 
| 6 | 
  | 
  | 
 | 
| 7 | 
  | 
  | 
#ifndef IS_MPI | 
| 8 | 
  | 
  | 
void IfstrstreamTestCase::setUp() { | 
| 9 | 
  | 
  | 
 | 
| 10 | 
  | 
  | 
} | 
| 11 | 
  | 
  | 
 | 
| 12 | 
  | 
  | 
void IfstrstreamTestCase::tearDown() { | 
| 13 | 
  | 
  | 
 | 
| 14 | 
  | 
  | 
} | 
| 15 | 
  | 
  | 
 | 
| 16 | 
  | 
  | 
 | 
| 17 | 
  | 
  | 
void IfstrstreamTestCase::testConstructor() { | 
| 18 | 
  | 
  | 
 | 
| 19 | 
  | 
  | 
} | 
| 20 | 
  | 
  | 
 | 
| 21 | 
  | 
  | 
void IfstrstreamTestCase::testOpen() { | 
| 22 | 
  | 
  | 
 | 
| 23 | 
  | 
  | 
} | 
| 24 | 
  | 
  | 
 | 
| 25 | 
  | 
  | 
void IfstrstreamTestCase::testIs_open() { | 
| 26 | 
  | 
  | 
 | 
| 27 | 
  | 
  | 
} | 
| 28 | 
  | 
  | 
 | 
| 29 | 
  | 
  | 
void IfstrstreamTestCase::testClose() { | 
| 30 | 
  | 
  | 
 | 
| 31 | 
  | 
  | 
} | 
| 32 | 
  | 
  | 
 | 
| 33 | 
  | 
  | 
#else | 
| 34 | 
  | 
  | 
void IfstrstreamTestCase::setUp() { | 
| 35 | 
  | 
  | 
 | 
| 36 | 
  | 
  | 
} | 
| 37 | 
  | 
  | 
 | 
| 38 | 
  | 
  | 
void IfstrstreamTestCase::tearDown() { | 
| 39 | 
  | 
  | 
 | 
| 40 | 
  | 
  | 
} | 
| 41 | 
  | 
  | 
 | 
| 42 | 
  | 
  | 
void IfstrstreamTestCase::testMasterConstructor() { | 
| 43 | 
tim | 
87 | 
    ifstrstream in; | 
| 44 | 
tim | 
85 | 
}     | 
| 45 | 
  | 
  | 
 | 
| 46 | 
  | 
  | 
void IfstrstreamTestCase::testMasterOpen() { | 
| 47 | 
  | 
  | 
 | 
| 48 | 
  | 
  | 
} | 
| 49 | 
  | 
  | 
 | 
| 50 | 
  | 
  | 
void IfstrstreamTestCase::testMasterIs_open() { | 
| 51 | 
  | 
  | 
 | 
| 52 | 
  | 
  | 
} | 
| 53 | 
  | 
  | 
 | 
| 54 | 
  | 
  | 
void IfstrstreamTestCase::testMasterClose() { | 
| 55 | 
  | 
  | 
 | 
| 56 | 
  | 
  | 
 | 
| 57 | 
  | 
  | 
} | 
| 58 | 
  | 
  | 
 | 
| 59 | 
  | 
  | 
void IfstrstreamTestCase::testSlaveConstructor() { | 
| 60 | 
  | 
  | 
 | 
| 61 | 
  | 
  | 
}     | 
| 62 | 
  | 
  | 
 | 
| 63 | 
  | 
  | 
void IfstrstreamTestCase::testSlaveOpen() { | 
| 64 | 
  | 
  | 
 | 
| 65 | 
  | 
  | 
} | 
| 66 | 
  | 
  | 
 | 
| 67 | 
  | 
  | 
void IfstrstreamTestCase::testSlaveIs_open() { | 
| 68 | 
  | 
  | 
 | 
| 69 | 
  | 
  | 
} | 
| 70 | 
  | 
  | 
 | 
| 71 | 
  | 
  | 
void IfstrstreamTestCase::testSlaveClose() { | 
| 72 | 
  | 
  | 
 | 
| 73 | 
  | 
  | 
 | 
| 74 | 
  | 
  | 
} | 
| 75 | 
  | 
  | 
#endif |