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

Side by Side Diff: third_party/WebKit/Source/core/animation/animatable/AnimatableValueTestHelperTest.cpp

Issue 2614883007: Change computed style enums to be prefixed with 'k'. (Closed)
Patch Set: Rebase on ToT. Created 3 years, 11 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 /* 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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698