(file) Return to TestSnmpHandlerException.cpp CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / Handler / snmpIndicationHandler / tests / SnmpHandlerException

Diff for /pegasus/src/Pegasus/Handler/snmpIndicationHandler/tests/SnmpHandlerException/TestSnmpHandlerException.cpp between version 1.9 and 1.11

version 1.9, 2008/12/02 09:01:38 version 1.11, 2012/12/05 09:47:56
Line 309 
Line 309 
     TestException(handler, indicationHandlerInstance, indicationInstance,     TestException(handler, indicationHandlerInstance, indicationInstance,
         CIM_ERR_FAILED);         CIM_ERR_FAILED);
  
     // Test "SNMP session open failed" exception  
     indicationInstance = CIMInstance(testClass1);  
     indicationHandlerInstance = CreateHandlerInstance();  
     indicationHandlerInstance.addProperty(CIMProperty(  
        CIMName("TargetHost"), String("")));  
     indicationHandlerInstance.addProperty(CIMProperty(  
         CIMName("TargetHostFormat"), Uint16(3)));  
     indicationHandlerInstance.addProperty(CIMProperty(  
         CIMName("SNMPVersion"), Uint16(2)));  
     indicationHandlerInstance.addProperty(CIMProperty(  
        CIMName("OtherTargetHostFormat"), String("testOtherTargetHostFormat")));  
     indicationHandlerInstance.addProperty(CIMProperty(  
        CIMName("PortNumber"), Uint32(200)));  
     TestException(handler, indicationHandlerInstance, indicationInstance,  
         CIM_ERR_FAILED);  
   
     // Test "invalid MappingStrings Syntax" exception     // Test "invalid MappingStrings Syntax" exception
     indicationInstance = CIMInstance(testClass8);     indicationInstance = CIMInstance(testClass8);
     indicationInstance.addProperty(CIMProperty(     indicationInstance.addProperty(CIMProperty(
Line 455 
Line 439 
 } }
  
  
 int main(int argc, char** argv)  int main()
 { {
  
     const char* pegasusHome = getenv("PEGASUS_HOME");     const char* pegasusHome = getenv("PEGASUS_HOME");


Legend:
Removed from v.1.9  
changed lines
  Added in v.1.11

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2