BUG#: 1864
authorcarolann.graves <carolann.graves>
Thu, 2 Sep 2004 23:58:43 +0000 (23:58 +0000)
committercarolann.graves <carolann.graves>
Thu, 2 Sep 2004 23:58:43 +0000 (23:58 +0000)
TITLE: Indication Service must validate key property values

DESCRIPTION: Fixed Uint64 literals in test program to compile on Linux.

src/Pegasus/IndicationService/tests/Subscription/Subscription.cpp

index 9408b4d8aea82a518109e5463f41c342cb0d36ee..8bc27c69c4be4e70ddcd038499ebb45ba6df23d6 100644 (file)
@@ -1057,7 +1057,8 @@ void _valid (CIMClient & client)
     _addUint16Property (subscription01, "SubscriptionState", 2);
     _addStringProperty (subscription01, "OtherSubscriptionState", String::EMPTY,
         true);
-    _addUint64Property (subscription01, "SubscriptionDuration", 60000000000);
+    _addUint64Property (subscription01, "SubscriptionDuration", 
+        PEGASUS_UINT64_LITERAL(60000000000));
     _addUint16Property (subscription01, "RepeatNotificationPolicy", 1);
     _addStringProperty (subscription01, "OtherRepeatNotificationPolicy", 
         "another policy");
@@ -1077,7 +1078,7 @@ void _valid (CIMClient & client)
     _checkStringProperty (retrievedInstance, "OtherSubscriptionState", 
         String::EMPTY, true);
     _checkUint64Property (retrievedInstance, "SubscriptionDuration", 
-        60000000000);
+        PEGASUS_UINT64_LITERAL(60000000000));
     _checkUint16Property (retrievedInstance, "RepeatNotificationPolicy", 1);
     _checkStringProperty (retrievedInstance, "OtherRepeatNotificationPolicy", 
         "another policy");
@@ -1099,7 +1100,7 @@ void _valid (CIMClient & client)
     _checkStringProperty (instances [0], "OtherSubscriptionState", 
         String::EMPTY, true);
     _checkUint64Property (instances [0], "SubscriptionDuration", 
-        60000000000);
+        PEGASUS_UINT64_LITERAL(60000000000));
     _checkUint16Property (instances [0], "RepeatNotificationPolicy", 1);
     _checkStringProperty (instances [0], "OtherRepeatNotificationPolicy", 
         "another policy");