Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
QueueTest Class Reference
+ Inheritance diagram for QueueTest:
+ Collaboration diagram for QueueTest:

Protected Member Functions

virtual void SetUp ()
 
void MapTester (const Queue< int > *q)
 
virtual void SetUp ()
 
- Protected Member Functions inherited from QuickTest
virtual void TearDown ()
 
- Protected Member Functions inherited from testing::Test
 Test ()
 

Static Protected Member Functions

static int Double (int n)
 

Protected Attributes

Queue< int > q0_
 
Queue< int > q1_
 
Queue< int > q2_
 
- Protected Attributes inherited from QuickTest
time_t start_time_
 

Additional Inherited Members

- Public Types inherited from testing::Test
typedef internal::SetUpTestCaseFunc SetUpTestCaseFunc
 
typedef
internal::TearDownTestCaseFunc 
TearDownTestCaseFunc
 
- Public Member Functions inherited from testing::Test
virtual ~Test ()
 
- Static Public Member Functions inherited from testing::Test
static void SetUpTestCase ()
 
static void TearDownTestCase ()
 
static bool HasFatalFailure ()
 
static bool HasNonfatalFailure ()
 
static bool HasFailure ()
 
static void RecordProperty (const std::string &key, const std::string &value)
 
static void RecordProperty (const std::string &key, int value)
 

Detailed Description

Definition at line 70 of file sample3_unittest.cc.

View newest version in sPHENIX GitHub at line 70 of file sample3_unittest.cc

Member Function Documentation

static int QueueTest::Double ( int  n)
inlinestaticprotected

Definition at line 91 of file sample3_unittest.cc.

View newest version in sPHENIX GitHub at line 91 of file sample3_unittest.cc

References n.

Referenced by MapTester().

+ Here is the caller graph for this function:

void QueueTest::MapTester ( const Queue< int > *  q)
inlineprotected

Definition at line 96 of file sample3_unittest.cc.

View newest version in sPHENIX GitHub at line 96 of file sample3_unittest.cc

References ASSERT_EQ, Double(), EXPECT_EQ, Queue< E >::Head(), Queue< E >::Map(), QueueNode< E >::next(), and Queue< E >::Size().

+ Here is the call graph for this function:

virtual void QueueTest::SetUp ( )
inlineprotectedvirtual

Reimplemented from testing::Test.

Definition at line 77 of file sample3_unittest.cc.

View newest version in sPHENIX GitHub at line 77 of file sample3_unittest.cc

References Queue< E >::Enqueue(), q1_, and q2_.

+ Here is the call graph for this function:

virtual void QueueTest::SetUp ( )
inlineprotectedvirtual

Reimplemented from testing::Test.

Definition at line 146 of file sample5_unittest.cc.

View newest version in sPHENIX GitHub at line 146 of file sample5_unittest.cc

References Queue< E >::Enqueue(), q1_, q2_, and QuickTest::SetUp().

+ Here is the call graph for this function:

Member Data Documentation

Queue< int > QueueTest::q0_
protected

Definition at line 114 of file sample3_unittest.cc.

View newest version in sPHENIX GitHub at line 114 of file sample3_unittest.cc

Queue< int > QueueTest::q1_
protected

Definition at line 115 of file sample3_unittest.cc.

View newest version in sPHENIX GitHub at line 115 of file sample3_unittest.cc

Referenced by SetUp().

Queue< int > QueueTest::q2_
protected

Definition at line 116 of file sample3_unittest.cc.

View newest version in sPHENIX GitHub at line 116 of file sample3_unittest.cc

Referenced by SetUp().


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