#include <gtest-internal-inl.h>
Definition at line 373 of file gtest-internal-inl.h.
bool testing::internal::UnitTestOptions::FilterMatchesTest |
( |
const std::string & |
test_case_name, |
|
|
const std::string & |
test_name |
|
) |
| |
|
static |
static bool testing::internal::UnitTestOptions::FilterMatchesTest |
( |
const std::string & |
test_case_name, |
|
|
const std::string & |
test_name |
|
) |
| |
|
static |
static bool testing::internal::UnitTestOptions::FilterMatchesTest |
( |
const std::string & |
test_case_name, |
|
|
const std::string & |
test_name |
|
) |
| |
|
static |
std::string testing::internal::UnitTestOptions::GetAbsolutePathToOutputFile |
( |
| ) |
|
|
static |
Definition at line 426 of file gtest.cc.
References testing::internal::FilePath::ConcatPaths(), testing::internal::FilePath::GenerateUniqueFileName(), testing::internal::GetCurrentExecutableName(), testing::UnitTest::GetInstance(), GTEST_FLAG, testing::internal::FilePath::IsAbsolutePath(), testing::internal::FilePath::IsDirectory(), gmock_output_test::output, and testing::internal::FilePath::string().
Referenced by testing::internal::UnitTestImpl::ConfigureXmlOutput(), testing::internal::ShouldRunTestCase(), and testing::internal::ScopedPrematureExitFile::~ScopedPrematureExitFile().
428 if (gtest_output_flag == NULL)
431 const char*
const colon = strchr(gtest_output_flag,
':');
438 internal::FilePath output_name(colon + 1);
439 if (!output_name.IsAbsolutePath())
446 internal::FilePath(colon + 1));
448 if (!output_name.IsDirectory())
449 return output_name.
string();
454 return result.string();
static FilePath ConcatPaths(const FilePath &directory, const FilePath &relative_path)
static std::string GetOutputFormat()
const std::string & string() const
GTEST_API_ FilePath GetCurrentExecutableName()
static FilePath GenerateUniqueFileName(const FilePath &directory, const FilePath &base_name, const char *extension)
static const char kDefaultOutputFile[]
static UnitTest * GetInstance()
static std::string testing::internal::UnitTestOptions::GetAbsolutePathToOutputFile |
( |
| ) |
|
|
static |
static std::string testing::internal::UnitTestOptions::GetAbsolutePathToOutputFile |
( |
| ) |
|
|
static |
std::string testing::internal::UnitTestOptions::GetOutputFormat |
( |
| ) |
|
|
static |
static std::string testing::internal::UnitTestOptions::GetOutputFormat |
( |
| ) |
|
|
static |
static std::string testing::internal::UnitTestOptions::GetOutputFormat |
( |
| ) |
|
|
static |
static bool testing::internal::UnitTestOptions::MatchesFilter |
( |
const std::string & |
name, |
|
|
const char * |
filter |
|
) |
| |
|
static |
static bool testing::internal::UnitTestOptions::MatchesFilter |
( |
const std::string & |
name, |
|
|
const char * |
filter |
|
) |
| |
|
static |
bool testing::internal::UnitTestOptions::MatchesFilter |
( |
const std::string & |
name, |
|
|
const char * |
filter |
|
) |
| |
|
static |
static bool testing::internal::UnitTestOptions::PatternMatchesString |
( |
const char * |
pattern, |
|
|
const char * |
str |
|
) |
| |
|
static |
bool testing::internal::UnitTestOptions::PatternMatchesString |
( |
const char * |
pattern, |
|
|
const char * |
str |
|
) |
| |
|
static |
static bool testing::internal::UnitTestOptions::PatternMatchesString |
( |
const char * |
pattern, |
|
|
const char * |
str |
|
) |
| |
|
static |
The documentation for this class was generated from the following files: