From 85f633544904e9a2e1b47ad3a713ad764c81eaf2 Mon Sep 17 00:00:00 2001 From: "nsylvain@chromium.org" Date: Mon, 9 Aug 2010 17:32:32 +0000 Subject: Revert 55400 - Cleanup in base. This moves the implementation (and a bunch of header file dependencies) from the multiprocess test and the test_suite headers to .cc files. Moves multiprocess_test to the test directory, and all of this stuff to the existing base_test_support project. I also used the base namespace. Previously other projects included this functionality just by #include because it was all inline, so I had to add dependencies on base_test_support in a few places. Moves and renames the command line switch this was using to base_switches. Move the base switch for process type to chrome switches. TEST=none BUG=none Review URL: http://codereview.chromium.org/3026055 TBR=brettw@chromium.org Review URL: http://codereview.chromium.org/3035062 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55416 0039d316-1c4b-4281-b951-d872f2087c98 --- courgette/courgette.gyp | 2 -- courgette/encoded_program_fuzz_unittest.cc | 2 +- courgette/run_all_unittests.cc | 2 +- 3 files changed, 2 insertions(+), 4 deletions(-) (limited to 'courgette') diff --git a/courgette/courgette.gyp b/courgette/courgette.gyp index c45b3ac..7ca3dbe6 100644 --- a/courgette/courgette.gyp +++ b/courgette/courgette.gyp @@ -92,7 +92,6 @@ 'courgette_lib', '../base/base.gyp:base', '../base/base.gyp:base_i18n', - '../base/base.gyp:test_support_base', '../testing/gtest.gyp:gtest', ], 'conditions': [ @@ -118,7 +117,6 @@ 'courgette_lib', '../base/base.gyp:base', '../base/base.gyp:base_i18n', - '../base/base.gyp:test_support_base', '../testing/gtest.gyp:gtest', ], 'conditions': [ diff --git a/courgette/encoded_program_fuzz_unittest.cc b/courgette/encoded_program_fuzz_unittest.cc index 9f7e053..ccbf787 100644 --- a/courgette/encoded_program_fuzz_unittest.cc +++ b/courgette/encoded_program_fuzz_unittest.cc @@ -231,5 +231,5 @@ TEST_F(DecodeFuzzTest, All) { } int main(int argc, char** argv) { - return base::TestSuite(argc, argv).Run(); + return TestSuite(argc, argv).Run(); } diff --git a/courgette/run_all_unittests.cc b/courgette/run_all_unittests.cc index 8bfeb3b..841b353 100644 --- a/courgette/run_all_unittests.cc +++ b/courgette/run_all_unittests.cc @@ -5,5 +5,5 @@ #include "base/test/test_suite.h" int main(int argc, char** argv) { - return base::TestSuite(argc, argv).Run(); + return TestSuite(argc, argv).Run(); } -- cgit v1.1