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

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

Issue 2970833002: Be explicit about namespace testing to not mix it with blink::testing (Closed)
Patch Set: Created 3 years, 5 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/css/parser/CSSLazyParsingTest.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/animation/TimingInput.h" 5 #include "core/animation/TimingInput.h"
6 6
7 #include "bindings/core/v8/V8BindingForTesting.h" 7 #include "bindings/core/v8/V8BindingForTesting.h"
8 #include "bindings/core/v8/V8KeyframeAnimationOptions.h" 8 #include "bindings/core/v8/V8KeyframeAnimationOptions.h"
9 #include "bindings/core/v8/V8KeyframeEffectOptions.h" 9 #include "bindings/core/v8/V8KeyframeEffectOptions.h"
10 #include "core/animation/AnimationEffectTiming.h" 10 #include "core/animation/AnimationEffectTiming.h"
11 #include "core/animation/AnimationTestHelper.h" 11 #include "core/animation/AnimationTestHelper.h"
12 #include "core/testing/DummyPageHolder.h" 12 #include "core/testing/DummyPageHolder.h"
13 #include "testing/gtest/include/gtest/gtest.h" 13 #include "testing/gtest/include/gtest/gtest.h"
14 #include "v8/include/v8.h" 14 #include "v8/include/v8.h"
15 15
16 namespace blink { 16 namespace blink {
17 17
18 class AnimationTimingInputTest : public testing::Test { 18 class AnimationTimingInputTest : public ::testing::Test {
19 public: 19 public:
20 Timing ApplyTimingInputNumber(v8::Isolate*, 20 Timing ApplyTimingInputNumber(v8::Isolate*,
21 String timing_property, 21 String timing_property,
22 double timing_property_value, 22 double timing_property_value,
23 bool& timing_conversion_success, 23 bool& timing_conversion_success,
24 bool is_keyframeeffectoptions = true); 24 bool is_keyframeeffectoptions = true);
25 Timing ApplyTimingInputString(v8::Isolate*, 25 Timing ApplyTimingInputString(v8::Isolate*,
26 String timing_property, 26 String timing_property,
27 String timing_property_value, 27 String timing_property_value,
28 bool& timing_conversion_success, 28 bool& timing_conversion_success,
(...skipping 436 matching lines...) Expand 10 before | Expand all | Expand 10 after
465 EXPECT_EQ(control_timing.fill_mode, updated_timing.fill_mode); 465 EXPECT_EQ(control_timing.fill_mode, updated_timing.fill_mode);
466 EXPECT_EQ(control_timing.iteration_start, updated_timing.iteration_start); 466 EXPECT_EQ(control_timing.iteration_start, updated_timing.iteration_start);
467 EXPECT_EQ(control_timing.iteration_count, updated_timing.iteration_count); 467 EXPECT_EQ(control_timing.iteration_count, updated_timing.iteration_count);
468 EXPECT_TRUE(std::isnan(updated_timing.iteration_duration)); 468 EXPECT_TRUE(std::isnan(updated_timing.iteration_duration));
469 EXPECT_EQ(control_timing.playback_rate, updated_timing.playback_rate); 469 EXPECT_EQ(control_timing.playback_rate, updated_timing.playback_rate);
470 EXPECT_EQ(control_timing.direction, updated_timing.direction); 470 EXPECT_EQ(control_timing.direction, updated_timing.direction);
471 EXPECT_EQ(*control_timing.timing_function, *updated_timing.timing_function); 471 EXPECT_EQ(*control_timing.timing_function, *updated_timing.timing_function);
472 } 472 }
473 473
474 } // namespace blink 474 } // namespace blink
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/css/parser/CSSLazyParsingTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698