proxygen
MallctlHelperTest Class Reference
Inheritance diagram for MallctlHelperTest:
testing::Test

Protected Member Functions

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

Static Protected Member Functions

static ssize_t readArena0DecayTime ()
 

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 37 of file MallctlHelperTest.cpp.

Member Function Documentation

static ssize_t MallctlHelperTest::readArena0DecayTime ( )
inlinestaticprotected

Definition at line 45 of file MallctlHelperTest.cpp.

References EXPECT_NO_THROW, kDecayCmd, and folly::mallctlRead().

45  {
46  ssize_t decayTime = 0;
48  return decayTime;
49  }
#define EXPECT_NO_THROW(statement)
Definition: gtest.h:1845
static constexpr char const * kDecayCmd
void mallctlRead(const char *cmd, T *out)
Definition: MallctlHelper.h:48
void MallctlHelperTest::TearDown ( )
inlineoverrideprotectedvirtual

Reimplemented from testing::Test.

Definition at line 39 of file MallctlHelperTest.cpp.

References EXPECT_NO_THROW, kDecayCmd, and folly::mallctlWrite().

39  {
40  // Reset decay_time of arena 0 to 10 seconds.
41  ssize_t decayTime = 10;
43  }
#define EXPECT_NO_THROW(statement)
Definition: gtest.h:1845
static constexpr char const * kDecayCmd
void mallctlWrite(const char *cmd, T in)
Definition: MallctlHelper.h:53

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