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

Side by Side Diff: third_party/WebKit/Source/core/css/parser/CSSTokenizerTest.cpp

Issue 2813863003: Rewrite references to "wtf/" to "platform/wtf/" in core/css and core/style. (Closed)
Patch Set: Rebase. Created 3 years, 8 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "core/css/parser/CSSTokenizer.h" 5 #include "core/css/parser/CSSTokenizer.h"
6 6
7 #include "core/css/parser/CSSParserTokenRange.h" 7 #include "core/css/parser/CSSParserTokenRange.h"
8 #include "core/css/parser/MediaQueryBlockWatcher.h" 8 #include "core/css/parser/MediaQueryBlockWatcher.h"
9 #include "platform/wtf/allocator/Partitions.h"
9 #include "testing/gtest/include/gtest/gtest.h" 10 #include "testing/gtest/include/gtest/gtest.h"
10 #include "wtf/allocator/Partitions.h"
11 11
12 namespace blink { 12 namespace blink {
13 13
14 // This let's us see the line numbers of failing tests 14 // This let's us see the line numbers of failing tests
15 #define TEST_TOKENS(string, ...) \ 15 #define TEST_TOKENS(string, ...) \
16 { \ 16 { \
17 String s = string; \ 17 String s = string; \
18 SCOPED_TRACE(s.Ascii().Data()); \ 18 SCOPED_TRACE(s.Ascii().Data()); \
19 TestTokens(string, __VA_ARGS__); \ 19 TestTokens(string, __VA_ARGS__); \
20 } 20 }
(...skipping 484 matching lines...) Expand 10 before | Expand all | Expand 10 after
505 block_watcher.HandleToken(range.Consume()); 505 block_watcher.HandleToken(range.Consume());
506 level = block_watcher.BlockLevel(); 506 level = block_watcher.BlockLevel();
507 max_level = std::max(level, max_level); 507 max_level = std::max(level, max_level);
508 } 508 }
509 ASSERT_EQ(test_cases[i].max_level, max_level); 509 ASSERT_EQ(test_cases[i].max_level, max_level);
510 ASSERT_EQ(test_cases[i].final_level, level); 510 ASSERT_EQ(test_cases[i].final_level, level);
511 } 511 }
512 } 512 }
513 513
514 } // namespace blink 514 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698