Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
sample2_unittest.cc File Reference
#include "sample2.h"
#include "gtest/gtest.h"
+ Include dependency graph for sample2_unittest.cc:

Go to the source code of this file.

Functions

 TEST (MyString, DefaultConstructor)
 
 TEST (MyString, ConstructorFromCString)
 
 TEST (MyString, CopyConstructor)
 
 TEST (MyString, Set)
 

Variables

const char kHelloString [] = "Hello, world!"
 

Function Documentation

TEST ( MyString  ,
DefaultConstructor   
)

Definition at line 49 of file sample2_unittest.cc.

View newest version in sPHENIX GitHub at line 49 of file sample2_unittest.cc

References MyString::c_string(), EXPECT_EQ, EXPECT_STREQ, MyString::Length(), physmon_simulation::s, and physmon_ckf_tracking::u.

+ Here is the call graph for this function:

TEST ( MyString  ,
ConstructorFromCString   
)

Definition at line 80 of file sample2_unittest.cc.

View newest version in sPHENIX GitHub at line 80 of file sample2_unittest.cc

References MyString::c_string(), EXPECT_EQ, kHelloString, MyString::Length(), and physmon_simulation::s.

+ Here is the call graph for this function:

TEST ( MyString  ,
CopyConstructor   
)

Definition at line 88 of file sample2_unittest.cc.

View newest version in sPHENIX GitHub at line 88 of file sample2_unittest.cc

References MyString::c_string(), EXPECT_EQ, and kHelloString.

+ Here is the call graph for this function:

TEST ( MyString  ,
Set   
)

Definition at line 95 of file sample2_unittest.cc.

View newest version in sPHENIX GitHub at line 95 of file sample2_unittest.cc

References MyString::c_string(), EXPECT_EQ, EXPECT_STREQ, kHelloString, physmon_simulation::s, and MyString::Set().

+ Here is the call graph for this function:

Variable Documentation

const char kHelloString[] = "Hello, world!"

Definition at line 77 of file sample2_unittest.cc.

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

Referenced by TEST().