List of all members | Public Member Functions | Public Attributes | Static Public Attributes | Private Member Functions
testRawFile Class Reference
Inheritance diagram for testRawFile:
Inheritance graph
[legend]

Public Member Functions

void setUp ()
 
void tearDown ()
 
void testClose ()
 
void testConstructor ()
 
void testConstructorThrow ()
 
void testOpen ()
 
void testOpenCloseOpen ()
 
void testOpenThrowNonExistent ()
 
void testOpenThrowReOpen ()
 
void testRandomAccess ()
 
void testReadHeader ()
 
void testReadToTrailer ()
 
void testSize ()
 

Public Attributes

RawFilef
 

Static Public Attributes

static const int kBlockSize = sizeof(Block)
 

Private Member Functions

 CPPUNIT_TEST (testSize)
 
 CPPUNIT_TEST (testConstructor)
 
 CPPUNIT_TEST (testOpen)
 
 CPPUNIT_TEST (testClose)
 
 CPPUNIT_TEST (testOpenCloseOpen)
 
 CPPUNIT_TEST (testReadHeader)
 
 CPPUNIT_TEST (testReadToTrailer)
 
 CPPUNIT_TEST (testRandomAccess)
 
 CPPUNIT_TEST_EXCEPTION (testConstructorThrow, io::CorsikaIOException)
 
 CPPUNIT_TEST_EXCEPTION (testOpenThrowNonExistent, io::CorsikaIOException)
 
 CPPUNIT_TEST_EXCEPTION (testOpenThrowReOpen, io::CorsikaIOException)
 
 CPPUNIT_TEST_SUITE (testRawFile)
 
 CPPUNIT_TEST_SUITE_END ()
 

Detailed Description

Definition at line 24 of file testRawFile.cc.

Member Function Documentation

testRawFile::CPPUNIT_TEST ( testSize  )
private
testRawFile::CPPUNIT_TEST ( testConstructor  )
private
testRawFile::CPPUNIT_TEST ( testOpen  )
private
testRawFile::CPPUNIT_TEST ( testClose  )
private
testRawFile::CPPUNIT_TEST ( testOpenCloseOpen  )
private
testRawFile::CPPUNIT_TEST ( testReadHeader  )
private
testRawFile::CPPUNIT_TEST ( testReadToTrailer  )
private
testRawFile::CPPUNIT_TEST ( testRandomAccess  )
private
testRawFile::CPPUNIT_TEST_EXCEPTION ( testConstructorThrow  ,
io::CorsikaIOException   
)
private
testRawFile::CPPUNIT_TEST_EXCEPTION ( testOpenThrowNonExistent  ,
io::CorsikaIOException   
)
private
testRawFile::CPPUNIT_TEST_EXCEPTION ( testOpenThrowReOpen  ,
io::CorsikaIOException   
)
private
testRawFile::CPPUNIT_TEST_SUITE ( testRawFile  )
private
testRawFile::CPPUNIT_TEST_SUITE_END ( )
private
void testRawFile::setUp ( )
inline

Definition at line 49 of file testRawFile.cc.

References f.

void testRawFile::tearDown ( )
inline

Definition at line 54 of file testRawFile.cc.

References f.

void testRawFile::testClose ( )
inline

Definition at line 97 of file testRawFile.cc.

References io::Corsika::RawFile::Close(), f, and io::Corsika::RawFile::Open().

void testRawFile::testConstructor ( )
inline

Definition at line 65 of file testRawFile.cc.

void testRawFile::testConstructorThrow ( )
inline

Definition at line 71 of file testRawFile.cc.

References tst::Expected().

void testRawFile::testOpen ( )
inline

Definition at line 77 of file testRawFile.cc.

References f, io::Corsika::RawFile::IsOpen(), and io::Corsika::RawFile::Open().

void testRawFile::testOpenCloseOpen ( )
inline

Definition at line 104 of file testRawFile.cc.

References io::Corsika::RawFile::Close(), f, and io::Corsika::RawFile::Open().

void testRawFile::testOpenThrowNonExistent ( )
inline

Definition at line 84 of file testRawFile.cc.

References tst::Expected(), f, and io::Corsika::RawFile::Open().

void testRawFile::testOpenThrowReOpen ( )
inline

Definition at line 90 of file testRawFile.cc.

References tst::Expected(), f, and io::Corsika::RawFile::Open().

void testRawFile::testRandomAccess ( )
inline
void testRawFile::testReadHeader ( )
inline
void testRawFile::testReadToTrailer ( )
inline
void testRawFile::testSize ( )
inline

Definition at line 59 of file testRawFile.cc.

References kBlockSize.

Member Data Documentation

RawFile* testRawFile::f
const int testRawFile::kBlockSize = sizeof(Block)
static

Definition at line 45 of file testRawFile.cc.

Referenced by testSize().


The documentation for this class was generated from the following file:

, generated on Tue Sep 26 2023.