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

Side by Side Diff: base/strings/utf_offset_string_conversions_unittest.cc

Issue 981803003: base: Add/Fix namespace closing comments. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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 <algorithm> 5 #include <algorithm>
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/strings/string_piece.h" 8 #include "base/strings/string_piece.h"
9 #include "base/strings/utf_offset_string_conversions.h" 9 #include "base/strings/utf_offset_string_conversions.h"
10 #include "testing/gtest/include/gtest/gtest.h" 10 #include "testing/gtest/include/gtest/gtest.h"
(...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after
286 EXPECT_EQ(3u, adjustments_on_adjusted_string[3].original_length); 286 EXPECT_EQ(3u, adjustments_on_adjusted_string[3].original_length);
287 EXPECT_EQ(1u, adjustments_on_adjusted_string[3].output_length); 287 EXPECT_EQ(1u, adjustments_on_adjusted_string[3].output_length);
288 EXPECT_EQ(19u, adjustments_on_adjusted_string[4].original_offset); 288 EXPECT_EQ(19u, adjustments_on_adjusted_string[4].original_offset);
289 EXPECT_EQ(3u, adjustments_on_adjusted_string[4].original_length); 289 EXPECT_EQ(3u, adjustments_on_adjusted_string[4].original_length);
290 EXPECT_EQ(0u, adjustments_on_adjusted_string[4].output_length); 290 EXPECT_EQ(0u, adjustments_on_adjusted_string[4].output_length);
291 EXPECT_EQ(25u, adjustments_on_adjusted_string[5].original_offset); 291 EXPECT_EQ(25u, adjustments_on_adjusted_string[5].original_offset);
292 EXPECT_EQ(1u, adjustments_on_adjusted_string[5].original_length); 292 EXPECT_EQ(1u, adjustments_on_adjusted_string[5].original_length);
293 EXPECT_EQ(2u, adjustments_on_adjusted_string[5].output_length); 293 EXPECT_EQ(2u, adjustments_on_adjusted_string[5].output_length);
294 } 294 }
295 295
296 } // namaspace base 296 } // namespace base
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698