com::cosylab::acs::alarm::AlarmUserTest Class Reference

Inheritance diagram for com::cosylab::acs::alarm::AlarmUserTest:
Inheritance graph
[legend]
Collaboration diagram for com::cosylab::acs::alarm::AlarmUserTest:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 AlarmUserTest (String arg0)
void setUp ()
void tearDown () throws LaserConsoleException
void notestUserHandler () throws LaserConsoleException
void notestUserConfiguration () throws LaserConsoleException

Private Member Functions

boolean compareCommentedAlarmMap (CommentedAlarmMap cam1, CommentedAlarmMap map)

Private Attributes

final String USER_PREFIX = "test_user"
final int NUM_OF_USERS = 15
final String PASSWORD = "password"
final String CONFIG_PREFIX = "test_config"
final int NUM_OF_CONFIGS = 15
final String COMMENT_PREFIX = "test_comment"

Detailed Description

Test the functionality for user management of the LASER system.

Author:
Klemen Zagar, Cosylab

Constructor & Destructor Documentation

com::cosylab::acs::alarm::AlarmUserTest::AlarmUserTest ( String  arg0  )  [inline]

Member Function Documentation

boolean com::cosylab::acs::alarm::AlarmUserTest::compareCommentedAlarmMap ( CommentedAlarmMap  cam1,
CommentedAlarmMap  map 
) [inline, private]
Parameters:
cam1 
map 
Returns:

Referenced by notestUserConfiguration().

void com::cosylab::acs::alarm::AlarmUserTest::notestUserConfiguration (  )  throws LaserConsoleException [inline]
void com::cosylab::acs::alarm::AlarmUserTest::notestUserHandler (  )  throws LaserConsoleException [inline]
void com::cosylab::acs::alarm::AlarmUserTest::setUp (  )  [inline]

Set-up the test. Defines the default host of the LASER server.

void com::cosylab::acs::alarm::AlarmUserTest::tearDown (  )  throws LaserConsoleException [inline]

Tear-down the test. Removes all the users that have been created during the test.

References NUM_OF_USERS, cern::laser::console::UserHandler::removeUser(), and USER_PREFIX.


Member Data Documentation

final String com::cosylab::acs::alarm::AlarmUserTest::COMMENT_PREFIX = "test_comment" [private]

Referenced by notestUserConfiguration().

final String com::cosylab::acs::alarm::AlarmUserTest::CONFIG_PREFIX = "test_config" [private]

Referenced by notestUserConfiguration().

Referenced by notestUserConfiguration().

Referenced by notestUserHandler(), and tearDown().

final String com::cosylab::acs::alarm::AlarmUserTest::PASSWORD = "password" [private]
final String com::cosylab::acs::alarm::AlarmUserTest::USER_PREFIX = "test_user" [private]

The documentation for this class was generated from the following file:

Generated by  doxygen 1.6.2