OLD | NEW |
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 "sky/engine/config.h" | |
6 #include "sky/engine/core/css/parser/MediaQueryTokenizer.h" | 5 #include "sky/engine/core/css/parser/MediaQueryTokenizer.h" |
7 | 6 |
8 #include <gtest/gtest.h> | 7 #include <gtest/gtest.h> |
9 #include "sky/engine/core/css/parser/MediaQueryBlockWatcher.h" | 8 #include "sky/engine/core/css/parser/MediaQueryBlockWatcher.h" |
10 #include "sky/engine/wtf/PassOwnPtr.h" | 9 #include "sky/engine/wtf/PassOwnPtr.h" |
11 | 10 |
12 namespace blink { | 11 namespace blink { |
13 | 12 |
14 typedef struct { | 13 typedef struct { |
15 const char* input; | 14 const char* input; |
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
164 testToken(c, EOFToken); | 163 testToken(c, EOFToken); |
165 else if (c > SCHAR_MAX) | 164 else if (c > SCHAR_MAX) |
166 testToken(c, IdentToken); | 165 testToken(c, IdentToken); |
167 else | 166 else |
168 testToken(c, DelimiterToken); | 167 testToken(c, DelimiterToken); |
169 } | 168 } |
170 testToken(USHRT_MAX, IdentToken); | 169 testToken(USHRT_MAX, IdentToken); |
171 } | 170 } |
172 | 171 |
173 } // namespace | 172 } // namespace |
OLD | NEW |