Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

alma::alarmsystem::source::test::TestUtil Class Reference

List of all members.

Static Public Member Functions

void deleteAlarmBranch (String CDBFolder)
void setupAlarmBranch (String CDBFolder, String ASImplementation)

Static Private Attributes

String XMLHead []
String XMLTail = "</configuration-property>\n</alarm-system-configuration>\n"

Detailed Description

A class containing a set of useful methods needed by the tests

NOTE: In this test I am interested in checking if the alarms are sent to the log. CurrentlyI have the following message in the stdout (I think I'll mask that in the TestList.grep): failed to flush logging queue because remote logging service has not been made available.

This message is here because I have not initialized correctly the log and the remote logging is disabled. To fix that I should define this class as a Client, log into the manager and initialize the log. This would require a lot of time because I don't have the SimpleClient available at this point: everything should be done by hand. Ok... I don't care about the error because if the message is in the stdout it means that everything is working.

Author:
acaproni


Member Function Documentation

void alma::alarmsystem::source::test::TestUtil::deleteAlarmBranch String  CDBFolder  )  [inline, static]
 

Remove the Alarm branch from the CDB

Parameters:
CDBFolder The directory of the CDB

void alma::alarmsystem::source::test::TestUtil::setupAlarmBranch String  CDBFolder,
String  ASImplementation
[inline, static]
 

Rewrite the Alarm branch of the CDB.

Parameters:
CDBFolder The directory of the CDB
ASImplementation The value of the implementation property of the CDB


Member Data Documentation

String alma::alarmsystem::source::test::TestUtil::XMLHead[] [static, private]
 

Initial value:

{ "<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>\n", "<alarm-system-configuration xmlns=\"urn:schemas-cosylab-com:AcsAlarmSystem:1.0\" \n\t\t", "xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"> \n", "\t<configuration-property name=\"Implementation\">" }

String alma::alarmsystem::source::test::TestUtil::XMLTail = "</configuration-property>\n</alarm-system-configuration>\n" [static, private]
 


The documentation for this class was generated from the following file:
Generated on Thu Apr 30 03:01:39 2009 for ACS Java API by doxygen 1.3.8