mirror of
https://github.com/HDFGroup/hdf5.git
synced 2026-09-25 04:09:44 +03:00
[svn-r13524] Purpose: Cleanup tests
Description:
Added extern "C" to cleanup functions as well, forgot last time.
Cleaned up/Added comments to some of the newly added tests.
Platforms tested
AIX 5.1 (copper)
Linux 2.6 (kagiso)
SunOS 5.8 64-bit (sol)
This commit is contained in:
+23
-1
@@ -100,7 +100,7 @@ void issue_fail_msg(const char* where, int line, const char* file_name,
|
||||
{
|
||||
//if (GetTestVerbosity()>=VERBO_HI)
|
||||
{
|
||||
cerr << "ERROR>>> From " << where << " at line " << line
|
||||
cerr << ">>> FAILED in " << where << " at line " << line
|
||||
<< " in " << file_name << " - " << message << endl << endl;
|
||||
}
|
||||
}
|
||||
@@ -160,3 +160,25 @@ InvalidActionException::InvalidActionException(const H5std_string func_name, con
|
||||
//--------------------------------------------------------------------------
|
||||
InvalidActionException::~InvalidActionException() {}
|
||||
|
||||
//--------------------------------------------------------------------------
|
||||
// Function: TestFailedException default constructor
|
||||
//--------------------------------------------------------------------------
|
||||
TestFailedException::TestFailedException():Exception(){}
|
||||
|
||||
//--------------------------------------------------------------------------
|
||||
// Function: TestFailedException overloaded constructor
|
||||
//
|
||||
// Purpose: Creates an TestFailedException with the name of the function,
|
||||
// which the failure should have occurred but didn't, and a
|
||||
// message explaining why it should fail.
|
||||
// Parameters
|
||||
// func_name - IN: Name of the function where failure should occur
|
||||
// message - IN: Message
|
||||
//--------------------------------------------------------------------------
|
||||
TestFailedException::TestFailedException(const H5std_string func_name, const H5std_string message) : Exception(func_name, message) {}
|
||||
|
||||
//--------------------------------------------------------------------------
|
||||
// Function: TestFailedException destructor
|
||||
//--------------------------------------------------------------------------
|
||||
TestFailedException::~TestFailedException() {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user