diff options
author | pinkerton@google.com <pinkerton@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-08 20:46:21 +0000 |
---|---|---|
committer | pinkerton@google.com <pinkerton@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-08 20:46:21 +0000 |
commit | 5d42633876f05084c16c0d0be13460230af3e3ec (patch) | |
tree | 9b76a716492b079348296db355651b9dad64f4d5 /base/command_line_unittest.cc | |
parent | e860d4df29efebdb22e76e625b0a08d4b507f3e9 (diff) | |
download | chromium_src-5d42633876f05084c16c0d0be13460230af3e3ec.zip chromium_src-5d42633876f05084c16c0d0be13460230af3e3ec.tar.gz chromium_src-5d42633876f05084c16c0d0be13460230af3e3ec.tar.bz2 |
fix base test harness to work on mac. fix command_line unit tests to match what windows expects. fix base xcode project to separate building and running unit tests into two targets.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@593 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/command_line_unittest.cc')
-rw-r--r-- | base/command_line_unittest.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/base/command_line_unittest.cc b/base/command_line_unittest.cc index 6a0a62c..ae619d5 100644 --- a/base/command_line_unittest.cc +++ b/base/command_line_unittest.cc @@ -49,11 +49,11 @@ TEST(CommandLineTest, CommandLineConstructor) { L"\"in the time of submarines...\""); #elif OS_POSIX const char* argv[] = {"program", "--foo=", "-bAr", - "/Spaetzel=pierogi /Baz flim", - "--other-switches=\"--dog=canine --cat=feline\"", + "-Spaetzel=pierogi", "-Baz", "flim", + "--other-switches=--dog=canine --cat=feline", "-spaetzle=Crepe", "-=loosevalue", "flan", - "--input-translation=\"45\"--output-rotation", - "\"in the time of submarines...\""}; + "--input-translation=45--output-rotation", + "in the time of submarines..."}; CommandLine cl(arraysize(argv), argv); #endif EXPECT_FALSE(cl.command_line_string().empty()); |