diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/BUILD.gn | 5 | ||||
-rw-r--r-- | test/test_main.cc | 5 |
2 files changed, 5 insertions, 5 deletions
diff --git a/test/BUILD.gn b/test/BUILD.gn index 663b26d4..be8a1534 100644 --- a/test/BUILD.gn +++ b/test/BUILD.gn @@ -7,9 +7,7 @@ import("//build_overrides/build.gni") source_set("test_main") { testonly = true - sources = [ - "test_main.cc", - ] + sources = [ "test_main.cc" ] if (!build_with_chromium) { defines = [ "ENABLE_PLATFORM_IMPL" ] @@ -17,6 +15,7 @@ source_set("test_main") { deps = [ "../platform", + "../platform:standalone_impl", "../third_party/googletest:gtest", ] } diff --git a/test/test_main.cc b/test/test_main.cc index 443278c7..b678ce9d 100644 --- a/test/test_main.cc +++ b/test/test_main.cc @@ -87,8 +87,9 @@ GlobalTestState InitFromArgs(int argc, char** argv) { // Googletest strongly recommends that we roll our own main // function if we want to do global test environment setup. // See the below link for more info; -// https://github.com/google/googletest/blob/master/googletest/docs/advanced.md#sharing-resources-between-tests-in-the-same-test-case -// +// https://github.com/google/googletest/blob/master/docs/advanced.md#sharing-resources-between-tests-in-the-same-test-suite +// TODO(issuetracker.google.com/172242670): rename reference to "main" +// once googletest has a "main" branch. // This main method is a drop-in replacement for anywhere that currently // depends on gtest_main, meaning it can be linked into any test-only binary // to provide a main implementation that supports setting flags and other |