proxygen
folly::symbolizer::test::ElfCacheTest Class Reference
Inheritance diagram for folly::symbolizer::test::ElfCacheTest:
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)
 

Detailed Description

Definition at line 77 of file SymbolizerTest.cpp.

Member Function Documentation

void folly::symbolizer::test::ElfCacheTest::SetUp ( )
overrideprotectedvirtual

Reimplemented from testing::Test.

Definition at line 85 of file SymbolizerTest.cpp.

References ASSERT_LE, folly::symbolizer::test::bar(), folly::symbolizer::FrameArray< N >::frameCount, and folly::symbolizer::Symbolizer::symbolize().

85  {
87  Symbolizer symbolizer;
88  symbolizer.symbolize(goldenFrames);
89  // At least 3 stack frames from us + getStackTrace()
90  ASSERT_LE(4, goldenFrames.frameCount);
91 }
#define ASSERT_LE(val1, val2)
Definition: gtest.h:1964
FOLLY_NOINLINE void bar()
FrameArray< 100 > goldenFrames

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