![]() |
AliPhysics
2b88e80 (2b88e80)
|
Unit test for class AliEmcalTrackSelResultPtr. More...
#include <AliEmcalTrackSelResultPtr.h>
Public Member Functions | |
TestAliEmcalTrackSelResultPtr () | |
Constructor. More... | |
virtual | ~TestAliEmcalTrackSelResultPtr () |
Destructor. More... | |
bool | RunAllTests () const |
Run test suite. More... | |
bool | TestOperatorBool () const |
Test for operator bool. More... | |
bool | TestCopyConstructor () const |
Test copy constructor with user information. More... | |
bool | TestOperatorAssign () const |
Tests assignment operatator with user info. More... | |
bool | TestUserInfo () const |
Test handling of user storage. More... | |
Protected Member Functions | |
bool | AssertBool (const AliEmcalTrackSelResultPtr &test, bool testvalue) const |
bool | AssertPayload (const AliEmcalTrackSelResultPtr &test, void *payload) const |
Unit test for class AliEmcalTrackSelResultPtr.
Unit test for AliEmcalTrackSelResultPtr, covering
Definition at line 432 of file AliEmcalTrackSelResultPtr.h.
|
inline |
Constructor.
Definition at line 437 of file AliEmcalTrackSelResultPtr.h.
|
inlinevirtual |
Destructor.
Definition at line 442 of file AliEmcalTrackSelResultPtr.h.
|
protected |
Definition at line 320 of file AliEmcalTrackSelResultPtr.cxx.
|
protected |
Definition at line 324 of file AliEmcalTrackSelResultPtr.cxx.
bool TestAliEmcalTrackSelResultPtr::RunAllTests | ( | ) | const |
Run test suite.
Running all unit tests implemented for AliEmcalTrackSelResultPtr
Definition at line 261 of file AliEmcalTrackSelResultPtr.cxx.
bool TestAliEmcalTrackSelResultPtr::TestCopyConstructor | ( | ) | const |
Test copy constructor with user information.
Test prepared with 10 instances of user objects and 10 instances without user objects
Definition at line 274 of file AliEmcalTrackSelResultPtr.cxx.
bool TestAliEmcalTrackSelResultPtr::TestOperatorAssign | ( | ) | const |
Tests assignment operatator with user info.
Test prepared with 10 instances of user objects and 10 instances without user objects
Definition at line 291 of file AliEmcalTrackSelResultPtr.cxx.
bool TestAliEmcalTrackSelResultPtr::TestOperatorBool | ( | ) | const |
Test for operator bool.
Both cases tested:
Definition at line 265 of file AliEmcalTrackSelResultPtr.cxx.
bool TestAliEmcalTrackSelResultPtr::TestUserInfo | ( | ) | const |
Test handling of user storage.
Prepared 10 pointers with and 10 without storage. Pointer must return
Definition at line 308 of file AliEmcalTrackSelResultPtr.cxx.