diff options
author | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-02 02:04:30 +0000 |
---|---|---|
committer | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-02 02:04:30 +0000 |
commit | e3a8a926da1f7e3365a6f0dbb9061af975a36361 (patch) | |
tree | dbc062c0b6bcb7f117f3d42071d39c8106488a47 /chrome/browser/speech | |
parent | 30cbdf8c2c40e0c43d75d8e4ea6310254022d3ca (diff) | |
download | chromium_src-e3a8a926da1f7e3365a6f0dbb9061af975a36361.zip chromium_src-e3a8a926da1f7e3365a6f0dbb9061af975a36361.tar.gz chromium_src-e3a8a926da1f7e3365a6f0dbb9061af975a36361.tar.bz2 |
clang/mac: Fix most easy problems in chrome.xcodeproj (all targets)
BUG=None
TEST=None
Review URL: http://codereview.chromium.org/3550006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61280 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/speech')
-rw-r--r-- | chrome/browser/speech/speech_recognition_request_unittest.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome/browser/speech/speech_recognition_request_unittest.cc b/chrome/browser/speech/speech_recognition_request_unittest.cc index 303735f..dcf0e9b 100644 --- a/chrome/browser/speech/speech_recognition_request_unittest.cc +++ b/chrome/browser/speech/speech_recognition_request_unittest.cc @@ -61,24 +61,24 @@ TEST_F(SpeechRecognitionRequestTest, BasicTest) { // Normal success case with one result. CreateAndTestRequest(true, "{\"hypotheses\":[{\"utterance\":\"123456\",\"confidence\":0.9}]}"); - EXPECT_EQ(false, error_); + EXPECT_FALSE(error_); EXPECT_EQ(ASCIIToUTF16("123456"), result_); // Normal success case with multiple results. CreateAndTestRequest(true, "{\"hypotheses\":[{\"utterance\":\"hello\",\"confidence\":0.9}," "{\"utterance\":\"123456\",\"confidence\":0.5}]}"); - EXPECT_EQ(false, error_); + EXPECT_FALSE(error_); EXPECT_EQ(ASCIIToUTF16("hello"), result_); // Http failure case. CreateAndTestRequest(false, ""); - EXPECT_EQ(true, error_); + EXPECT_TRUE(error_); EXPECT_EQ(ASCIIToUTF16(""), result_); // Malformed JSON case. CreateAndTestRequest(true, "{\"hypotheses\":[{\"unknownkey\":\"hello\"}]}"); - EXPECT_EQ(true, error_); + EXPECT_TRUE(error_); EXPECT_EQ(ASCIIToUTF16(""), result_); } |