proxygen
|
#include <folly/experimental/EnvUtil.h>
#include <boost/algorithm/string.hpp>
#include <folly/Memory.h>
#include <folly/Subprocess.h>
#include <folly/portability/Fcntl.h>
#include <folly/portability/GTest.h>
#include <folly/portability/Stdlib.h>
#include <glog/logging.h>
#include <spawn.h>
#include <system_error>
Go to the source code of this file.
Functions | |
DEFINE_string (env_util_subprocess_binary,"./env_util_subprocess","Location of the `env_util_subprocess` test helper program") | |
TEST (EnvVarSaverTest, ExampleNew) | |
TEST (EnvVarSaverTest, ExampleExisting) | |
TEST (EnvVarSaverTest, Movable) | |
TEST (EnvironmentStateTest, FailOnEmptyString) | |
TEST (EnvironmentStateTest, MovableAndCopyable) | |
TEST (EnvironmentStateTest, FailOnDuplicate) | |
TEST (EnvironmentStateTest, Separation) | |
TEST (EnvironmentStateTest, Update) | |
TEST (EnvironmentStateTest, forSubprocess) | |
TEST (EnvironmentStateTest, forC) | |
TEST (EnvVarSaverTest, ExampleDeleting) | |
DEFINE_string | ( | env_util_subprocess_binary | , |
"./env_util_subprocess" | , | ||
"Location of the `env_util_subprocess` test helper program" | |||
) |
TEST | ( | EnvVarSaverTest | , |
ExampleNew | |||
) |
TEST | ( | EnvVarSaverTest | , |
ExampleExisting | |||
) |
Definition at line 55 of file EnvUtilTest.cpp.
References EXPECT_EQ, EXPECT_NE, EXPECT_STREQ, string, and folly::value().
TEST | ( | EnvVarSaverTest | , |
Movable | |||
) |
Definition at line 67 of file EnvUtilTest.cpp.
References folly::Optional< Value >::clear(), folly::Optional< Value >::emplace(), EXPECT_EQ, EXPECT_NE, EXPECT_STREQ, folly::gen::move, string, and folly::value().
TEST | ( | EnvironmentStateTest | , |
FailOnEmptyString | |||
) |
TEST | ( | EnvironmentStateTest | , |
MovableAndCopyable | |||
) |
Definition at line 92 of file EnvUtilTest.cpp.
References folly::empty(), EXPECT_EQ, and folly::gen::move.
TEST | ( | EnvironmentStateTest | , |
FailOnDuplicate | |||
) |
TEST | ( | EnvironmentStateTest | , |
Separation | |||
) |
Definition at line 122 of file EnvUtilTest.cpp.
References EXPECT_EQ, and EXPECT_STREQ.
TEST | ( | EnvironmentStateTest | , |
Update | |||
) |
Definition at line 135 of file EnvUtilTest.cpp.
References EXPECT_EQ, and EXPECT_STREQ.
TEST | ( | EnvironmentStateTest | , |
forSubprocess | |||
) |
Definition at line 145 of file EnvUtilTest.cpp.
References folly::empty(), and EXPECT_EQ.
TEST | ( | EnvironmentStateTest | , |
forC | |||
) |
Definition at line 158 of file EnvUtilTest.cpp.
References folly::empty(), EXPECT_EQ, and EXPECT_STREQ.
TEST | ( | EnvVarSaverTest | , |
ExampleDeleting | |||
) |
Definition at line 179 of file EnvUtilTest.cpp.
References EXPECT_EQ, EXPECT_NE, EXPECT_TRUE, string, and folly::value().