projects
/
platform
/
framework
/
web
/
crosswalk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update To 11.40.268.0
[platform/framework/web/crosswalk.git]
/
src
/
third_party
/
trace-viewer
/
trace_viewer
/
tracing
/
timeline_display_transform_animations_test.html
diff --git
a/src/third_party/trace-viewer/trace_viewer/tracing/timeline_display_transform_animations_test.html
b/src/third_party/trace-viewer/trace_viewer/tracing/timeline_display_transform_animations_test.html
index
69fec6f
..
c15ce72
100644
(file)
--- a/
src/third_party/trace-viewer/trace_viewer/tracing/timeline_display_transform_animations_test.html
+++ b/
src/third_party/trace-viewer/trace_viewer/tracing/timeline_display_transform_animations_test.html
@@
-7,12
+7,12
@@
found in the LICENSE file.
<link rel="import" href="/tracing/timeline_display_transform.html">
<link rel="import" href="/tracing/timeline_display_transform_animations.html">
<link rel="import" href="/tracing/timeline_display_transform.html">
<link rel="import" href="/tracing/timeline_display_transform_animations.html">
-<link rel="import" href="/
tvcm
/ui/animation_controller.html">
+<link rel="import" href="/
base
/ui/animation_controller.html">
<script>
'use strict';
<script>
'use strict';
-tv
cm
.unittest.testSuite(function() { // @suppress longLineCheck
+tv.unittest.testSuite(function() { // @suppress longLineCheck
var TimelineDisplayTransform = tracing.TimelineDisplayTransform;
var TimelineDisplayTransformPanAnimation =
tracing.TimelineDisplayTransformPanAnimation;
var TimelineDisplayTransform = tracing.TimelineDisplayTransform;
var TimelineDisplayTransformPanAnimation =
tracing.TimelineDisplayTransformPanAnimation;
@@
-27,13
+27,13
@@
tvcm.unittest.testSuite(function() { // @suppress longLineCheck
var a = new TimelineDisplayTransformPanAnimation(10, 0, 100);
var a = new TimelineDisplayTransformPanAnimation(10, 0, 100);
- var controller = new tv
cm
.ui.AnimationController();
+ var controller = new tv.ui.AnimationController();
controller.target = target;
controller.queueAnimation(a, 0);
controller.target = target;
controller.queueAnimation(a, 0);
- tv
cm
.forcePendingRAFTasksToRun(50);
+ tv.forcePendingRAFTasksToRun(50);
assertTrue(target.panX > 0);
assertTrue(target.panX > 0);
- tv
cm
.forcePendingRAFTasksToRun(100);
+ tv.forcePendingRAFTasksToRun(100);
assertFalse(controller.hasActiveAnimation);
assertEquals(10, target.panX);
});
assertFalse(controller.hasActiveAnimation);
assertEquals(10, target.panX);
});
@@
-47,17
+47,17
@@
tvcm.unittest.testSuite(function() { // @suppress longLineCheck
var b = new TimelineDisplayTransformPanAnimation(10, 0, 100);
var a = new TimelineDisplayTransformPanAnimation(10, 0, 100);
var b = new TimelineDisplayTransformPanAnimation(10, 0, 100);
var a = new TimelineDisplayTransformPanAnimation(10, 0, 100);
- var controller = new tv
cm
.ui.AnimationController();
+ var controller = new tv.ui.AnimationController();
controller.target = target;
controller.queueAnimation(a, 0);
controller.target = target;
controller.queueAnimation(a, 0);
- tv
cm
.forcePendingRAFTasksToRun(50);
+ tv.forcePendingRAFTasksToRun(50);
controller.queueAnimation(b, 50);
controller.queueAnimation(b, 50);
- tv
cm
.forcePendingRAFTasksToRun(100);
+ tv.forcePendingRAFTasksToRun(100);
assertTrue(controller.hasActiveAnimation);
assertTrue(controller.hasActiveAnimation);
- tv
cm
.forcePendingRAFTasksToRun(150);
+ tv.forcePendingRAFTasksToRun(150);
assertFalse(controller.hasActiveAnimation);
assertEquals(20, target.panX);
});
assertFalse(controller.hasActiveAnimation);
assertEquals(20, target.panX);
});