proxygen
|
#include <proxygen/lib/utils/Exception.h>
#include <proxygen/lib/utils/TraceEvent.h>
#include <proxygen/lib/utils/TraceEventType.h>
#include <proxygen/lib/utils/TraceFieldType.h>
#include <folly/portability/GTest.h>
#include <folly/portability/GMock.h>
#include <string>
#include <vector>
Go to the source code of this file.
Functions | |
TEST (TraceEventTest, IntegralDataIntegralValue) | |
TEST (TraceEventTest, IntegralDataStringValue) | |
TEST (TraceEventTest, IntegralDataVectorValue) | |
TEST (TraceEventTest, StringDataIntegralValueConvertible) | |
TEST (TraceEventTest, StringDataIntegralValueNonConvertible) | |
TEST (TraceEventTest, StringDataStringValue) | |
TEST (TraceEventTest, StringDataVectorValue) | |
TEST (TraceEventTest, VectorDataIntegralValue) | |
TEST (TraceEventTest, VectorDataStringValue) | |
TEST (TraceEventTest, VectorDataVectorValue) | |
TEST (TraceEventTest, IteratorValueTypeCheckInteger) | |
TEST (TraceEventTest, IteratorValueTypeCheckString) | |
TEST (TraceEventTest, IteratorValueTypeCheckStringArray) | |
TEST (TraceEventTest, IntegerValueToString) | |
TEST (TraceEventTest, StringValueToString) | |
TEST (TraceEventTest, StringArrayValueToString) | |
TEST | ( | TraceEventTest | , |
IntegralDataIntegralValue | |||
) |
Definition at line 23 of file TraceEventTest.cpp.
References proxygen::TraceEvent::addMeta(), ASSERT_EQ, data, proxygen::TraceEvent::getTraceFieldDataAs(), int64_t, proxygen::Protocol, and proxygen::TotalRequest.
TEST | ( | TraceEventTest | , |
IntegralDataStringValue | |||
) |
Definition at line 33 of file TraceEventTest.cpp.
References proxygen::TraceEvent::addMeta(), ASSERT_EQ, proxygen::TraceEvent::getTraceFieldDataAs(), int64_t, proxygen::Protocol, string, and proxygen::TotalRequest.
TEST | ( | TraceEventTest | , |
IntegralDataVectorValue | |||
) |
Definition at line 45 of file TraceEventTest.cpp.
References proxygen::TraceEvent::addMeta(), ASSERT_THROW, data, proxygen::TraceEvent::getTraceFieldDataAs(), int64_t, proxygen::Protocol, and proxygen::TotalRequest.
TEST | ( | TraceEventTest | , |
StringDataIntegralValueConvertible | |||
) |
Definition at line 57 of file TraceEventTest.cpp.
References proxygen::TraceEvent::addMeta(), ASSERT_EQ, proxygen::TraceEvent::getTraceFieldDataAs(), int64_t, proxygen::Protocol, string, and proxygen::TotalRequest.
TEST | ( | TraceEventTest | , |
StringDataIntegralValueNonConvertible | |||
) |
Definition at line 68 of file TraceEventTest.cpp.
References proxygen::TraceEvent::addMeta(), ASSERT_ANY_THROW, data, proxygen::TraceEvent::getTraceFieldDataAs(), int64_t, proxygen::Protocol, string, and proxygen::TotalRequest.
TEST | ( | TraceEventTest | , |
StringDataStringValue | |||
) |
Definition at line 78 of file TraceEventTest.cpp.
References proxygen::TraceEvent::addMeta(), ASSERT_EQ, data, proxygen::TraceEvent::getTraceFieldDataAs(), proxygen::Protocol, string, and proxygen::TotalRequest.
TEST | ( | TraceEventTest | , |
StringDataVectorValue | |||
) |
Definition at line 89 of file TraceEventTest.cpp.
References proxygen::TraceEvent::addMeta(), ASSERT_THROW, data, proxygen::TraceEvent::getTraceFieldDataAs(), proxygen::Protocol, string, and proxygen::TotalRequest.
TEST | ( | TraceEventTest | , |
VectorDataIntegralValue | |||
) |
Definition at line 101 of file TraceEventTest.cpp.
References proxygen::TraceEvent::addMeta(), ASSERT_THROW, data, proxygen::TraceEvent::getTraceFieldDataAs(), int64_t, proxygen::Protocol, and proxygen::TotalRequest.
TEST | ( | TraceEventTest | , |
VectorDataStringValue | |||
) |
Definition at line 115 of file TraceEventTest.cpp.
References proxygen::TraceEvent::addMeta(), ASSERT_EQ, data, proxygen::TraceEvent::getTraceFieldDataAs(), proxygen::Protocol, string, and proxygen::TotalRequest.
TEST | ( | TraceEventTest | , |
VectorDataVectorValue | |||
) |
Definition at line 129 of file TraceEventTest.cpp.
References proxygen::TraceEvent::addMeta(), testing::ContainerEq(), data, EXPECT_THAT, proxygen::TraceEvent::getTraceFieldDataAs(), proxygen::Protocol, and proxygen::TotalRequest.
TEST | ( | TraceEventTest | , |
IteratorValueTypeCheckInteger | |||
) |
Definition at line 145 of file TraceEventTest.cpp.
References proxygen::TraceEvent::addMeta(), ASSERT_EQ, ASSERT_FALSE, ASSERT_TRUE, proxygen::TraceEvent::getMetaDataItr(), int64_t, proxygen::Protocol, and proxygen::TotalRequest.
TEST | ( | TraceEventTest | , |
IteratorValueTypeCheckString | |||
) |
Definition at line 159 of file TraceEventTest.cpp.
References proxygen::TraceEvent::addMeta(), ASSERT_EQ, ASSERT_FALSE, ASSERT_TRUE, proxygen::TraceEvent::getMetaDataItr(), proxygen::Protocol, string, and proxygen::TotalRequest.
TEST | ( | TraceEventTest | , |
IteratorValueTypeCheckStringArray | |||
) |
Definition at line 173 of file TraceEventTest.cpp.
References proxygen::TraceEvent::addMeta(), ASSERT_EQ, ASSERT_FALSE, ASSERT_TRUE, proxygen::TraceEvent::getMetaDataItr(), proxygen::Protocol, and proxygen::TotalRequest.
TEST | ( | TraceEventTest | , |
IntegerValueToString | |||
) |
Definition at line 191 of file TraceEventTest.cpp.
References proxygen::TraceEvent::addMeta(), ASSERT_EQ, proxygen::TraceEvent::end(), proxygen::TraceEvent::getID(), int64_t, proxygen::Protocol, proxygen::TraceEvent::start(), proxygen::TraceEvent::toString(), and proxygen::TotalRequest.
TEST | ( | TraceEventTest | , |
StringValueToString | |||
) |
Definition at line 210 of file TraceEventTest.cpp.
References proxygen::TraceEvent::addMeta(), ASSERT_EQ, proxygen::TraceEvent::end(), proxygen::TraceEvent::getID(), proxygen::Protocol, proxygen::TraceEvent::start(), string, proxygen::TraceEvent::toString(), and proxygen::TotalRequest.
TEST | ( | TraceEventTest | , |
StringArrayValueToString | |||
) |
Definition at line 229 of file TraceEventTest.cpp.
References proxygen::TraceEvent::addMeta(), ASSERT_EQ, proxygen::TraceEvent::end(), proxygen::TraceEvent::getID(), proxygen::Protocol, proxygen::TraceEvent::start(), proxygen::TraceEvent::toString(), and proxygen::TotalRequest.