OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2013, Google Inc. All rights reserved. | 2 * Copyright (c) 2013, Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 RefPtr<SVGDashArray> l2 = SVGDashArray::create(); | 69 RefPtr<SVGDashArray> l2 = SVGDashArray::create(); |
70 l2->append(Length(1, blink::Fixed)); | 70 l2->append(Length(1, blink::Fixed)); |
71 l2->append(Length(2, blink::Percent)); | 71 l2->append(Length(2, blink::Percent)); |
72 EXPECT_EQ(::std::string("AnimatableStrokeDasharrayList(1+0%, 0+2%)"), | 72 EXPECT_EQ(::std::string("AnimatableStrokeDasharrayList(1+0%, 0+2%)"), |
73 PrintToString(AnimatableStrokeDasharrayList::create(l2, 1))); | 73 PrintToString(AnimatableStrokeDasharrayList::create(l2, 1))); |
74 | 74 |
75 EXPECT_EQ(::std::string("AnimatableUnknown(none)"), | 75 EXPECT_EQ(::std::string("AnimatableUnknown(none)"), |
76 PrintToString(AnimatableUnknown::create( | 76 PrintToString(AnimatableUnknown::create( |
77 CSSIdentifierValue::create(CSSValueNone)))); | 77 CSSIdentifierValue::create(CSSValueNone)))); |
78 | 78 |
79 EXPECT_EQ(::std::string("AnimatableVisibility(EVisibility::Visible)"), | 79 EXPECT_EQ(::std::string("AnimatableVisibility(EVisibility::kVisible)"), |
80 PrintToString(AnimatableVisibility::create(EVisibility::Visible))); | 80 PrintToString(AnimatableVisibility::create(EVisibility::kVisible))); |
81 } | 81 } |
82 | 82 |
83 } // namespace blink | 83 } // namespace blink |
OLD | NEW |