proxygen
|
#include <memory>
#include <vector>
#include <folly/Benchmark.h>
#include <folly/Singleton.h>
#include <folly/portability/GTest.h>
#include <folly/test/SingletonTestStructs.h>
Go to the source code of this file.
Functions | |
TEST (Singleton, BasicGlobalUsage) | |
TEST | ( | Singleton | , |
BasicGlobalUsage | |||
) |
Definition at line 40 of file SingletonTestGlobal.cpp.
References Watchdog::creation_order(), folly::SingletonVault::destroyInstances(), EXPECT_EQ, EXPECT_GE, EXPECT_NE, folly::SingletonVault::singleton(), folly::size(), and folly::Singleton< T, Tag, VaultTag >::try_get().