proxygen
|
#include <string>
#include <vector>
#include <folly/File.h>
#include <folly/Range.h>
#include <folly/container/Array.h>
#include <folly/experimental/TestUtil.h>
#include <folly/gen/Base.h>
#include <folly/gen/File.h>
#include <folly/portability/GTest.h>
Go to the source code of this file.
Classes | |
class | FileGenBufferedTest |
Functions | |
TEST (FileGen, ByLine) | |
TEST (FileGen, ByLineFull) | |
TEST_P (FileGenBufferedTest, FileWriter) | |
TEST (FileGenBufferedTest, FileWriterSimple) | |
INSTANTIATE_TEST_CASE_P (DifferentBufferSizes, FileGenBufferedTest,::testing::Values(0, 1, 2, 4, 8, 64, 4096)) | |
INSTANTIATE_TEST_CASE_P | ( | DifferentBufferSizes | , |
FileGenBufferedTest | , | ||
::testing::Values(0, 1, 2, 4, 8, 64, 4096) | |||
) |
Referenced by TEST().
TEST | ( | FileGen | , |
ByLine | |||
) |
Definition at line 32 of file FileTest.cpp.
References folly::gen::byLine(), folly::collect(), EXPECT_EQ, folly::test::TemporaryFile::fd(), folly::gen::from(), folly::gen::lines(), folly::test::TemporaryFile::path(), folly::gen::resplit(), string, and fizz::detail::write().
TEST | ( | FileGen | , |
ByLineFull | |||
) |
Definition at line 60 of file FileTest.cpp.
References folly::gen::byLineFull(), EXPECT_EQ, folly::test::TemporaryFile::fd(), folly::gen::lines(), folly::test::TemporaryFile::path(), folly::stripLeftMargin(), and fizz::detail::write().
TEST | ( | FileGenBufferedTest | , |
FileWriterSimple | |||
) |
Definition at line 111 of file FileTest.cpp.
References folly::gen::byLine(), EXPECT_EQ, folly::test::TemporaryFile::fd(), INSTANTIATE_TEST_CASE_P(), folly::gen::map(), folly::test::TemporaryFile::path(), folly::gen::seq(), folly::gen::sum, folly::gen::toFile(), v, and x.
TEST_P | ( | FileGenBufferedTest | , |
FileWriter | |||
) |
Definition at line 90 of file FileTest.cpp.
References folly::gen::byLine(), folly::collect(), EXPECT_TRUE, folly::test::TemporaryFile::fd(), folly::gen::from(), folly::gen::lines(), folly::test::TemporaryFile::path(), folly::gen::resplit(), string, and folly::gen::toFile().