proxygen
StructPaddedConstTest Class Reference
Inheritance diagram for StructPaddedConstTest:
StructPaddedTestBase testing::Test

Protected Member Functions

void SetUp () override
 
- Protected Member Functions inherited from testing::Test
 Test ()
 
virtual void TearDown ()
 
 Test ()
 
virtual void TearDown ()
 
 Test ()
 
virtual void TearDown ()
 

Additional Inherited Members

- Public Types inherited from testing::Test
typedef internal::SetUpTestCaseFunc SetUpTestCaseFunc
 
typedef internal::TearDownTestCaseFunc TearDownTestCaseFunc
 
typedef internal::SetUpTestCaseFunc SetUpTestCaseFunc
 
typedef internal::TearDownTestCaseFunc TearDownTestCaseFunc
 
typedef internal::SetUpTestCaseFunc SetUpTestCaseFunc
 
typedef internal::TearDownTestCaseFunc TearDownTestCaseFunc
 
- Public Member Functions inherited from testing::Test
virtual ~Test ()
 
virtual ~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)
 
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)
 
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)
 
- Protected Types inherited from StructPaddedTestBase
typedef padded::Node< Point, 64 > PointNode
 
typedef std::vector< PointNodePointNodeVec
 
- Protected Attributes inherited from StructPaddedTestBase
PointNodeVec v_
 
int n_
 

Detailed Description

Definition at line 182 of file PaddedTest.cpp.

Member Function Documentation

void StructPaddedConstTest::SetUp ( )
inlineoverrideprotectedvirtual

Reimplemented from testing::Test.

Definition at line 184 of file PaddedTest.cpp.

References i.

184  {
185  v_.resize(4);
186  n_ = 0;
187  for (int i = 0; i < 4; i++) {
188  for (size_t j = 0; j < PointNode::kElementCount; ++j, ++n_) {
189  auto& point = v_[i].data()[j];
190  point.x = n_;
191  point.y = n_ + 1;
192  point.z = n_ + 2;
193  }
194  }
195  }

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