AliRoot Core  13155fd (13155fd)
EMCAL::Base::Tests::TestAliEMCALTriggerTRUDCSConfig Namespace Reference

Functions

void ConfigureReference (AliEMCALTriggerTRUDCSConfig &testobject)
 Apply reference configuration. More...
 
bool TestEqualSelf ()
 Test for operator== on itself. More...
 
bool TestEqualTrue ()
 Test for operator== on same object. More...
 
bool TestEqualFalse ()
 Test for operator== on different objects. More...
 
bool TestStream ()
 Test for the stream operator. More...
 

Function Documentation

void EMCAL::Base::Tests::TestAliEMCALTriggerTRUDCSConfig::ConfigureReference ( AliEMCALTriggerTRUDCSConfig testobject)

Apply reference configuration.

Reference configuration taken from pp 2016

Parameters
testobjectObject for test to be configured

Definition at line 47 of file TestsAliEMCALTriggerTRUDCSConfig.cxx.

Referenced by TestEqualFalse(), TestEqualSelf(), TestEqualTrue(), and TestStream().

bool EMCAL::Base::Tests::TestAliEMCALTriggerTRUDCSConfig::TestEqualFalse ( )

Test for operator== on different objects.

Tests whether the operator== returns false if at least one setting is different. For this operator== is tested with multiple objects based on a reference setting where only one parameter is changed at the time.

Returns
true Test passed (operator== returns false in all cases)
false Test failed (operator== returns true at least once)

Definition at line 106 of file TestsAliEMCALTriggerTRUDCSConfig.cxx.

Referenced by main().

bool EMCAL::Base::Tests::TestAliEMCALTriggerTRUDCSConfig::TestEqualSelf ( )

Test for operator== on itself.

Tests whether operator== returns true in case the object is tested against itself.

Returns
true Test passed (operator== returning true)
false Test failed (operator== returning false)

Definition at line 71 of file TestsAliEMCALTriggerTRUDCSConfig.cxx.

Referenced by main().

bool EMCAL::Base::Tests::TestAliEMCALTriggerTRUDCSConfig::TestEqualTrue ( )

Test for operator== on same object.

Tests whether operator== returns true in case both objects have the same content.

Returns
true Test passed (operator== returning true)
false Test failed (operator== returning false)

Definition at line 88 of file TestsAliEMCALTriggerTRUDCSConfig.cxx.

Referenced by main().

bool EMCAL::Base::Tests::TestAliEMCALTriggerTRUDCSConfig::TestStream ( )

Test for the stream operator.

Test if operator<< for a reference configuration produces the expected reference string. Test is implemented using a streaming operator.

Returns
true Test passed (operator<< to string produces reference string)
false Test failed (operator<< to string produces different string)

Definition at line 167 of file TestsAliEMCALTriggerTRUDCSConfig.cxx.

Referenced by main().