version 1.1, 2006/08/01 18:12:42
|
version 1.2, 2006/08/11 19:47:09
|
|
|
// | // |
//============================================================================== | //============================================================================== |
// | // |
// Author: Yi Zhou, Hewlett-Packard Company (Yi.Zhou@hp.com) |
|
// |
|
// Modified By: |
|
// |
|
//%///////////////////////////////////////////////////////////////////////////// | //%///////////////////////////////////////////////////////////////////////////// |
| |
#include <Pegasus/Common/PegasusAssert.h> | #include <Pegasus/Common/PegasusAssert.h> |
|
|
CIMHandler* handler = handlerTable.getHandler(handlerId, repository); | CIMHandler* handler = handlerTable.getHandler(handlerId, repository); |
PEGASUS_TEST_ASSERT(handler != 0); | PEGASUS_TEST_ASSERT(handler != 0); |
| |
handler->initialize(repository); |
|
TestExceptionHandling(handler); | TestExceptionHandling(handler); |
| |
// | // |
|
|
repository->deleteQualifier(NS, CIMName ("NotMappingStrings")); | repository->deleteQualifier(NS, CIMName ("NotMappingStrings")); |
| |
repository->deleteNameSpace(NS); | repository->deleteNameSpace(NS); |
|
|
delete repository; |
|
} | } |
catch(Exception& e) | catch(Exception& e) |
{ | { |
|
|
exit(1); | exit(1); |
} | } |
| |
|
delete repository; |
|
|
cout << "+++++ passed all tests" << endl; | cout << "+++++ passed all tests" << endl; |
return 0; | return 0; |
} | } |