Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(84)

Side by Side Diff: chrome/browser/spellchecker/spellcheck_platform_mac_unittest.cc

Issue 1545223002: Switch to standard integer types in chrome/browser/, part 4 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 4 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/spellchecker/spellcheck_platform.h" 5 #include "chrome/browser/spellchecker/spellcheck_platform.h"
6 6
7 #include <stddef.h>
8
7 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/macros.h"
8 #include "base/message_loop/message_loop.h" 11 #include "base/message_loop/message_loop.h"
9 #include "base/strings/string_util.h" 12 #include "base/strings/string_util.h"
10 #include "base/strings/utf_string_conversions.h" 13 #include "base/strings/utf_string_conversions.h"
11 #include "chrome/common/spellcheck_result.h" 14 #include "chrome/common/spellcheck_result.h"
12 #include "content/public/test/test_utils.h" 15 #include "content/public/test/test_utils.h"
13 #include "testing/gtest/include/gtest/gtest.h" 16 #include "testing/gtest/include/gtest/gtest.h"
14 17
15 namespace { 18 namespace {
16 19
17 class SpellcheckPlatformMacTest: public testing::Test { 20 class SpellcheckPlatformMacTest: public testing::Test {
(...skipping 365 matching lines...) Expand 10 before | Expand all | Expand 10 after
383 // RequestTextCheck results. 386 // RequestTextCheck results.
384 TEST_F(SpellcheckPlatformMacTest, SpellCheckIgnoresOrthography) { 387 TEST_F(SpellcheckPlatformMacTest, SpellCheckIgnoresOrthography) {
385 base::string16 test_string(base::ASCIIToUTF16("Icland is awesome.")); 388 base::string16 test_string(base::ASCIIToUTF16("Icland is awesome."));
386 spellcheck_platform::RequestTextCheck(0, test_string, callback_); 389 spellcheck_platform::RequestTextCheck(0, test_string, callback_);
387 WaitForCallback(); 390 WaitForCallback();
388 EXPECT_TRUE(callback_finished_); 391 EXPECT_TRUE(callback_finished_);
389 EXPECT_EQ(1U, results_.size()); 392 EXPECT_EQ(1U, results_.size());
390 } 393 }
391 394
392 } // namespace 395 } // namespace
OLDNEW
« no previous file with comments | « chrome/browser/spellchecker/spellcheck_message_filter_unittest.cc ('k') | chrome/browser/spellchecker/spellcheck_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698