(file) Return to README CVS log (file) (dir) Up to [Pegasus] / pegasus / test / TestProviders / LargeDataProvider

 1 s.soni 1.1 Large Data Sample Provider
 2            --------------------------
 3            The test programs present in this directory implement an instance provider 
 4            that exercise the messaging system by returning large amounts of data.
 5            
 6            The Base Class of the provider is LargeDataSampleClass, the class for which
 7            all the CIM operations are performed is SampleClass.
 8            
 9            Working
10            -------
11            There is a const macro NO_OF_INSTANCES which decides the number of instances 
12            to be created. This can be modified for testing huge amount of data in any of 
13            the 2 places. Either in the source file LargeDataProvider.cpp Or in the 
14            Makefile by defining the NO_OF_INSTANCES locally as:
15            LOCAL_DEFINES=-DNO_OF_INSTANCES=<number>
16            If it is defined inside the Makefile, the value present in the cpp source is 
17            overwritten.
18            The creation of Instances is done when the enumerateInstances method of the
19            provider is called.If a client requests for enumerateInstanceNames it will fail
20            if enumerateInstances wouldn't have been executed.
21            
22 s.soni 1.1 Scripts
23            -------
24            rebuild: After modifying the source for NO_OF_INSTANCES you need to execute 
25            	this script in order to rebuild and register the provider. It also 
26            	restarts the cimserver so that the new repository is also loaded when
27            	we are performing operations on the Provider.

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2