proxygen
|
#include <boost/thread/barrier.hpp>
#include <folly/Conv.h>
#include <folly/executors/ManualExecutor.h>
#include <folly/futures/Future.h>
#include <folly/portability/GTest.h>
#include <vector>
Go to the source code of this file.
Typedefs | |
typedef FutureException | eggs_t |
Functions | |
TEST (Window, basic) | |
TEST (Window, exception) | |
TEST (Window, stackOverflow) | |
TEST (Window, parallel) | |
TEST (Window, parallelWithError) | |
TEST (Window, allParallelWithError) | |
TEST (WindowExecutor, basic) | |
TEST (WindowExecutor, parallel) | |
TEST (WindowExecutor, parallelWithError) | |
TEST (WindowExecutor, allParallelWithError) | |
Variables | |
static eggs_t | eggs ("eggs") |
typedef FutureException eggs_t |
Definition at line 28 of file WindowTest.cpp.
TEST | ( | Window | , |
basic | |||
) |
Definition at line 31 of file WindowTest.cpp.
References b, folly::symbolizer::test::expect(), EXPECT_EQ, EXPECT_TRUE, folly::Try< T >::hasValue(), i, folly::makeFuture(), folly::reduce(), s, SCOPED_TRACE, string, sum(), folly::Try< T >::value(), and folly::window().
TEST | ( | Window | , |
exception | |||
) |
Definition at line 115 of file WindowTest.cpp.
References b, EXPECT_EQ, folly::Try< T >::hasException(), i, folly::gen::move, folly::reduce(), sum(), and folly::window().
TEST | ( | Window | , |
stackOverflow | |||
) |
Definition at line 143 of file WindowTest.cpp.
References a, b, EXPECT_EQ, i, int64_t, m, folly::gen::move, cpp.ast::next(), folly::reduce(), sum(), and folly::window().
TEST | ( | Window | , |
parallel | |||
) |
Definition at line 177 of file WindowTest.cpp.
References folly::collect(), EXPECT_EQ, EXPECT_TRUE, f, i, folly::pushmi::detail::t, and folly::window().
TEST | ( | Window | , |
parallelWithError | |||
) |
Definition at line 206 of file WindowTest.cpp.
References folly::collect(), eggs, EXPECT_THROW, EXPECT_TRUE, f, i, folly::pushmi::detail::t, and folly::window().
TEST | ( | Window | , |
allParallelWithError | |||
) |
Definition at line 237 of file WindowTest.cpp.
References folly::collectAll(), eggs, EXPECT_EQ, EXPECT_THROW, EXPECT_TRUE, f, i, folly::pushmi::detail::t, and folly::window().
TEST | ( | WindowExecutor | , |
basic | |||
) |
Definition at line 276 of file WindowTest.cpp.
References b, folly::pushmi::executor, folly::symbolizer::test::expect(), EXPECT_EQ, EXPECT_TRUE, folly::Try< T >::hasValue(), i, folly::makeFuture(), folly::gen::move, folly::reduce(), s, SCOPED_TRACE, string, sum(), folly::ManualExecutor::waitFor(), and folly::window().
TEST | ( | WindowExecutor | , |
parallel | |||
) |
Definition at line 336 of file WindowTest.cpp.
References folly::collect(), folly::pushmi::executor, EXPECT_EQ, EXPECT_TRUE, f, i, folly::pushmi::detail::t, folly::ManualExecutor::waitFor(), and folly::window().
TEST | ( | WindowExecutor | , |
parallelWithError | |||
) |
Definition at line 369 of file WindowTest.cpp.
References folly::collect(), eggs, folly::pushmi::executor, EXPECT_THROW, EXPECT_TRUE, f, i, folly::pushmi::detail::t, folly::ManualExecutor::waitFor(), and folly::window().
TEST | ( | WindowExecutor | , |
allParallelWithError | |||
) |
Definition at line 404 of file WindowTest.cpp.
References folly::collectAll(), eggs, folly::pushmi::executor, EXPECT_EQ, EXPECT_THROW, EXPECT_TRUE, f, i, folly::pushmi::detail::t, folly::ManualExecutor::waitFor(), and folly::window().