proxygen
|
#include <map>
#include <string>
#include <folly/Range.h>
#include <folly/ScopeGuard.h>
#include <folly/experimental/io/FsUtil.h>
Go to the source code of this file.
Classes | |
class | folly::test::TemporaryFile |
class | folly::test::TemporaryDirectory |
class | folly::test::ChangeToTempDir |
struct | folly::test::detail::SavedState |
class | folly::test::CaptureFD |
struct | folly::test::CaptureFD::NoOpChunkCob |
Namespaces | |
folly | |
—— Concurrent Priority Queue Implementation —— | |
folly::test | |
folly::test::detail | |
Macros | |
#define | EXPECT_PCRE_MATCH(pattern_stringpiece, target_stringpiece) |
#define | EXPECT_NO_PCRE_MATCH(pattern_stringpiece, target_stringpiece) |
Functions | |
SavedState | folly::test::detail::disableInvalidParameters () |
void | folly::test::detail::enableInvalidParameters (SavedState) |
template<typename Func > | |
auto | folly::test::msvcSuppressAbortOnInvalidParams (Func func) -> decltype(func()) |
bool | folly::test::detail::hasPCREPatternMatch (StringPiece pattern, StringPiece target) |
bool | folly::test::detail::hasNoPCREPatternMatch (StringPiece pattern, StringPiece target) |
std::string | folly::test::glogErrorPattern () |
std::string | folly::test::glogWarningPattern () |
std::string | folly::test::glogErrOrWarnPattern () |
#define EXPECT_NO_PCRE_MATCH | ( | pattern_stringpiece, | |
target_stringpiece | |||
) |
Definition at line 184 of file TestUtil.h.
Referenced by TEST().
#define EXPECT_PCRE_MATCH | ( | pattern_stringpiece, | |
target_stringpiece | |||
) |
Easy PCRE regex matching. Note that pattern must match the ENTIRE target, so use .* at the start and end of the pattern, as appropriate. See http://regex101.com/ for a PCRE simulator.
Definition at line 179 of file TestUtil.h.
Referenced by checkItemParseError(), checkMaybeCoercedKeys(), checkXYKeyErrorsAndParseError(), and TEST().