Formatting for gtest_util.h and licence file update

This commit is contained in:
George Wright
2021-03-17 17:29:20 -07:00
committed by George Wright
parent 56d2c6f1c7
commit 34ee06d973
2 changed files with 7 additions and 5 deletions

View File

@@ -2052,6 +2052,8 @@ FILE: ../../../flutter/third_party/accessibility/ax/test_ax_node_helper.cc
FILE: ../../../flutter/third_party/accessibility/ax/test_ax_node_helper.h
FILE: ../../../flutter/third_party/accessibility/ax/test_ax_tree_manager.cc
FILE: ../../../flutter/third_party/accessibility/ax/test_ax_tree_manager.h
FILE: ../../../flutter/third_party/accessibility/base/win/dispatch_stub.cc
FILE: ../../../flutter/third_party/accessibility/base/win/dispatch_stub.h
FILE: ../../../flutter/third_party/accessibility/base/win/variant_util.h
FILE: ../../../flutter/third_party/accessibility/base/win/variant_vector.cc
FILE: ../../../flutter/third_party/accessibility/base/win/variant_vector.h

View File

@@ -34,9 +34,9 @@
// DCHECK_IS_ON() && defined(GTEST_HAS_DEATH_TEST) && !defined(OS_ANDROID)
#define EXPECT_DCHECK_DEATH(statement) \
GTEST_UNSUPPORTED_DEATH_TEST(statement, "Check failed", )
GTEST_UNSUPPORTED_DEATH_TEST(statement, "Check failed", )
#define ASSERT_DCHECK_DEATH(statement) \
GTEST_UNSUPPORTED_DEATH_TEST(statement, "Check failed", return)
GTEST_UNSUPPORTED_DEATH_TEST(statement, "Check failed", return )
#endif
// DCHECK_IS_ON() && defined(GTEST_HAS_DEATH_TEST) && !defined(OS_ANDROID)
@@ -98,9 +98,9 @@ bool WriteCompiledInTestsToFile(const FilePath& path) WARN_UNUSED_RESULT;
// Reads the list of gtest-based tests from |path| into |output|.
// Returns true on success.
bool ReadTestNamesFromFile(
const FilePath& path,
std::vector<TestIdentifier>* output) WARN_UNUSED_RESULT;
bool ReadTestNamesFromFile(const FilePath& path,
std::vector<TestIdentifier>* output)
WARN_UNUSED_RESULT;
} // namespace base