OLD | NEW |
1 // Use of this source code is governed by a BSD-style license that can be | 1 // Use of this source code is governed by a BSD-style license that can be |
2 // Copyright 2014 The Chromium Authors. All rights reserved. | 2 // Copyright 2014 The Chromium Authors. All rights reserved. |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "core/css/MediaValues.h" | 5 #include "core/css/MediaValues.h" |
6 | 6 |
7 #include "core/css/CSSPrimitiveValue.h" | 7 #include "core/css/CSSPrimitiveValue.h" |
8 #include "testing/gtest/include/gtest/gtest.h" | 8 #include "testing/gtest/include/gtest/gtest.h" |
9 #include "wtf/text/StringBuilder.h" | 9 #include "wtf/text/StringBuilder.h" |
10 | 10 |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 testCases[i].fontSize, | 50 testCases[i].fontSize, |
51 testCases[i].viewportWidth, | 51 testCases[i].viewportWidth, |
52 testCases[i].viewportHeight, | 52 testCases[i].viewportHeight, |
53 output); | 53 output); |
54 ASSERT_EQ(testCases[i].success, success); | 54 ASSERT_EQ(testCases[i].success, success); |
55 if (success) | 55 if (success) |
56 ASSERT_EQ(testCases[i].output, output); | 56 ASSERT_EQ(testCases[i].output, output); |
57 } | 57 } |
58 } | 58 } |
59 | 59 |
60 } // namespace | 60 } // namespace blink |
OLD | NEW |