proxygen
|
#include <folly/io/IOBuf.h>
#include <glog/logging.h>
#include <folly/portability/GTest.h>
#include <proxygen/lib/utils/Logging.h>
Go to the source code of this file.
Classes | |
class | LoggingTests |
Functions | |
TEST_F (LoggingTests, PrintHexIobuf) | |
TEST_F (LoggingTests, HexString) | |
TEST_F (LoggingTests, DumpBin) | |
TEST_F (LoggingTests, DumpBinToFile) | |
TEST_F (LoggingTests, CHECK_LOG_AND_THROW_TEST) | |
TEST_F (LoggingTests, CHECK_LOG_AND_THROW_LT_TEST) | |
TEST_F (LoggingTests, CHECK_LOG_AND_THROW_LE_TEST) | |
TEST_F (LoggingTests, CHECK_LOG_AND_THROW_GT_TEST) | |
TEST_F (LoggingTests, CHECK_LOG_AND_THROW_GE_TEST) | |
TEST_F (LoggingTests, CHECK_LOG_AND_THROW_EQ_TEST) | |
TEST_F (LoggingTests, CHECK_LOG_AND_THROW_NE_TEST) | |
TEST_F (LoggingTests, CHECK_LOG_AND_THROW_NOT_NULL_TEST) | |
TEST_F (LoggingTests, CHECK_LOG_AND_THROW_NULL_TEST) | |
TEST_F | ( | LoggingTests | , |
PrintHexIobuf | |||
) |
Definition at line 23 of file LoggingTests.cpp.
References folly::IOBuf::append(), folly::IOBuf::create(), folly::data(), EXPECT_EQ, EXPECT_TRUE, i, deadlock::info(), uint8_t, and folly::IOBuf::writableData().
TEST_F | ( | LoggingTests | , |
HexString | |||
) |
Definition at line 49 of file LoggingTests.cpp.
References EXPECT_EQ, proxygen::hexStr(), s, and uint8_t.
TEST_F | ( | LoggingTests | , |
DumpBin | |||
) |
Definition at line 57 of file LoggingTests.cpp.
References folly::IOBuf::append(), folly::IOBuf::appendChain(), folly::IOBuf::create(), EXPECT_EQ, folly::gen::move, and folly::IOBuf::writableData().
TEST_F | ( | LoggingTests | , |
DumpBinToFile | |||
) |
Definition at line 76 of file LoggingTests.cpp.
References folly::IOBuf::create(), proxygen::dumpBinToFile(), and EXPECT_EQ.
TEST_F | ( | LoggingTests | , |
CHECK_LOG_AND_THROW_TEST | |||
) |
Definition at line 100 of file LoggingTests.cpp.
References CHECK_LOG_AND_THROW, proxygen::ERROR, EXPECT_NO_THROW, and EXPECT_THROW.
TEST_F | ( | LoggingTests | , |
CHECK_LOG_AND_THROW_LT_TEST | |||
) |
Definition at line 111 of file LoggingTests.cpp.
References CHECK_LOG_AND_THROW_LT, proxygen::ERROR, EXPECT_NO_THROW, and EXPECT_THROW.
TEST_F | ( | LoggingTests | , |
CHECK_LOG_AND_THROW_LE_TEST | |||
) |
Definition at line 122 of file LoggingTests.cpp.
References CHECK_LOG_AND_THROW_LE, proxygen::ERROR, EXPECT_NO_THROW, and EXPECT_THROW.
TEST_F | ( | LoggingTests | , |
CHECK_LOG_AND_THROW_GT_TEST | |||
) |
Definition at line 137 of file LoggingTests.cpp.
References CHECK_LOG_AND_THROW_GT, proxygen::ERROR, EXPECT_NO_THROW, and EXPECT_THROW.
TEST_F | ( | LoggingTests | , |
CHECK_LOG_AND_THROW_GE_TEST | |||
) |
Definition at line 148 of file LoggingTests.cpp.
References CHECK_LOG_AND_THROW_GE, proxygen::ERROR, EXPECT_NO_THROW, and EXPECT_THROW.
TEST_F | ( | LoggingTests | , |
CHECK_LOG_AND_THROW_EQ_TEST | |||
) |
Definition at line 163 of file LoggingTests.cpp.
References CHECK_LOG_AND_THROW_EQ, proxygen::ERROR, EXPECT_NO_THROW, and EXPECT_THROW.
TEST_F | ( | LoggingTests | , |
CHECK_LOG_AND_THROW_NE_TEST | |||
) |
Definition at line 174 of file LoggingTests.cpp.
References CHECK_LOG_AND_THROW_NE, proxygen::ERROR, EXPECT_NO_THROW, and EXPECT_THROW.
TEST_F | ( | LoggingTests | , |
CHECK_LOG_AND_THROW_NOT_NULL_TEST | |||
) |
Definition at line 185 of file LoggingTests.cpp.
References CHECK_LOG_AND_THROW_NOT_NULL, proxygen::ERROR, EXPECT_NO_THROW, and EXPECT_THROW.
TEST_F | ( | LoggingTests | , |
CHECK_LOG_AND_THROW_NULL_TEST | |||
) |
Definition at line 196 of file LoggingTests.cpp.
References CHECK_LOG_AND_THROW_NULL, proxygen::ERROR, EXPECT_NO_THROW, and EXPECT_THROW.