(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.10

version 1.9, 2008/12/02 09:01:38 version 1.10, 2011/01/27 13:32:59
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(


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

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2