

Public Member Functions | |
| SpecialAlarmTest () throws Exception | |
| void | testCreateSpecialAlarmWronglURL () throws Exception |
| void | testSpecialAlarmTest () throws Exception |
| void | testSetState () throws Exception |
| void | testSetProperties () throws Exception |
Protected Member Functions | |
| void | setUp () throws Exception |
Static Private Attributes | |
| static final String | family = "FaultFamily" |
| static final String | member = "Component" |
| static final int | code = 1 |
| static final String | action = "The action to fix" |
| static final String | description = "Description of the alarm" |
| static final String | cause = "Possible cause" |
| static final String | consequences = "What else?" |
| static final int | priority = 1 |
| static final String | url = "http://www.eso.org" |
| static final String | email = "person@host.org" |
| static final Properties | props = new Properties() |
| static final String | prop1Key = "Property 1 - key" |
| static final String | prop1Val = "Value1" |
| static final String | prop2Key = "Property 2 - key" |
| static final String | prop2Val = "Value2" |
Test if the SpecialAlarm matches the specifications.
| alma::acs::alarm::test::panel::SpecialAlarmTest::SpecialAlarmTest | ( | ) | throws Exception [inline] |
Constructor
| Exception |
| void alma::acs::alarm::test::panel::SpecialAlarmTest::setUp | ( | ) | throws Exception [inline, protected] |
| void alma::acs::alarm::test::panel::SpecialAlarmTest::testCreateSpecialAlarmWronglURL | ( | ) | throws Exception [inline] |
Test the creation of the alarm when the URL is null.
References action, cause, code, consequences, description, email, family, cern::laser::client::data::Alarm::getHelpURL(), member, priority, and props.
| void alma::acs::alarm::test::panel::SpecialAlarmTest::testSetProperties | ( | ) | throws Exception [inline] |
References action, cause, code, consequences, description, email, family, alma::acsplugins::alarmsystem::gui::specialalarm::SpecialAlarm::getStatus(), cern::laser::client::data::Status::getUserProperties(), member, priority, props, alma::acsplugins::alarmsystem::gui::specialalarm::SpecialAlarm::setUserProperties(), and url.
| void alma::acs::alarm::test::panel::SpecialAlarmTest::testSetState | ( | ) | throws Exception [inline] |
References action, cause, code, consequences, description, email, family, alma::acsplugins::alarmsystem::gui::specialalarm::SpecialAlarm::getStatus(), cern::laser::client::data::Status::isActive(), member, priority, props, alma::acsplugins::alarmsystem::gui::specialalarm::SpecialAlarm::setStatus(), and url.
| void alma::acs::alarm::test::panel::SpecialAlarmTest::testSpecialAlarmTest | ( | ) | throws Exception [inline] |
References action, cause, code, consequences, description, email, family, cern::laser::client::data::Alarm::getAction(), cern::laser::client::data::Alarm::getAlarmId(), cern::laser::client::data::Alarm::getCause(), cern::laser::client::data::Alarm::getConsequence(), cern::laser::client::data::Triplet::getFaultCode(), cern::laser::client::data::Triplet::getFaultFamily(), cern::laser::client::data::Triplet::getFaultMember(), cern::laser::client::data::Alarm::getHelpURL(), cern::laser::client::data::Alarm::getPiquetEmail(), cern::laser::client::data::Alarm::getPriority(), cern::laser::client::data::Alarm::getProblemDescription(), cern::laser::client::data::Alarm::getStatus(), cern::laser::client::data::Alarm::getTriplet(), cern::laser::client::data::Status::getUserProperties(), cern::laser::client::data::Status::isActive(), member, priority, prop1Key, prop1Val, prop2Key, prop2Val, props, and url.
final String alma::acs::alarm::test::panel::SpecialAlarmTest::action = "The action to fix" [static, private] |
Referenced by testCreateSpecialAlarmWronglURL(), testSetProperties(), testSetState(), and testSpecialAlarmTest().
final String alma::acs::alarm::test::panel::SpecialAlarmTest::cause = "Possible cause" [static, private] |
Referenced by testCreateSpecialAlarmWronglURL(), testSetProperties(), testSetState(), and testSpecialAlarmTest().
final int alma::acs::alarm::test::panel::SpecialAlarmTest::code = 1 [static, private] |
Referenced by testCreateSpecialAlarmWronglURL(), testSetProperties(), testSetState(), and testSpecialAlarmTest().
final String alma::acs::alarm::test::panel::SpecialAlarmTest::consequences = "What else?" [static, private] |
Referenced by testCreateSpecialAlarmWronglURL(), testSetProperties(), testSetState(), and testSpecialAlarmTest().
final String alma::acs::alarm::test::panel::SpecialAlarmTest::description = "Description of the alarm" [static, private] |
Referenced by testCreateSpecialAlarmWronglURL(), testSetProperties(), testSetState(), and testSpecialAlarmTest().
final String alma::acs::alarm::test::panel::SpecialAlarmTest::email = "person@host.org" [static, private] |
Referenced by testCreateSpecialAlarmWronglURL(), testSetProperties(), testSetState(), and testSpecialAlarmTest().
final String alma::acs::alarm::test::panel::SpecialAlarmTest::family = "FaultFamily" [static, private] |
Referenced by testCreateSpecialAlarmWronglURL(), testSetProperties(), testSetState(), and testSpecialAlarmTest().
final String alma::acs::alarm::test::panel::SpecialAlarmTest::member = "Component" [static, private] |
Referenced by testCreateSpecialAlarmWronglURL(), testSetProperties(), testSetState(), and testSpecialAlarmTest().
final int alma::acs::alarm::test::panel::SpecialAlarmTest::priority = 1 [static, private] |
Referenced by testCreateSpecialAlarmWronglURL(), testSetProperties(), testSetState(), and testSpecialAlarmTest().
final String alma::acs::alarm::test::panel::SpecialAlarmTest::prop1Key = "Property 1 - key" [static, private] |
Referenced by setUp(), and testSpecialAlarmTest().
final String alma::acs::alarm::test::panel::SpecialAlarmTest::prop1Val = "Value1" [static, private] |
Referenced by setUp(), and testSpecialAlarmTest().
final String alma::acs::alarm::test::panel::SpecialAlarmTest::prop2Key = "Property 2 - key" [static, private] |
Referenced by setUp(), and testSpecialAlarmTest().
final String alma::acs::alarm::test::panel::SpecialAlarmTest::prop2Val = "Value2" [static, private] |
Referenced by setUp(), and testSpecialAlarmTest().
final Properties alma::acs::alarm::test::panel::SpecialAlarmTest::props = new Properties() [static, private] |
Referenced by setUp(), testCreateSpecialAlarmWronglURL(), testSetProperties(), testSetState(), and testSpecialAlarmTest().
final String alma::acs::alarm::test::panel::SpecialAlarmTest::url = "http://www.eso.org" [static, private] |
Referenced by testSetProperties(), testSetState(), and testSpecialAlarmTest().
1.6.2