|
Introduce NON_ZERO_DURATION for animation unit tests
Animations are usually disabled in unit tests for performance. However, to
test the animation system itself some tests request "normal" durations.
Under some conditions (remote desktop, animation disabled for accessibility)
the "normal" duration could still be zero.
This was causing test failures and use-after-frees in ash_unittests on the
drmemory bots and for developers using remote desktop.
Introduce NON_ZERO_DURATION to signal that animation must be enabled and the
duration must be non-zero, but other than that can be as short as possible.
BUG= 397478, 396969
TEST=ash_unittests on drmemory, Windows and Chrome OS bots
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=286089
Total comments: 2
Total comments: 2
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+76 lines, -74 lines) |
Patch |
 |
M |
ash/desktop_background/desktop_background_controller_unittest.cc
|
View
|
1
2
3
4
|
4 chunks |
+8 lines, -7 lines |
0 comments
|
Download
|
 |
M |
ash/shelf/shelf_layout_manager_unittest.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ash/wm/overview/window_selector_unittest.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
M |
ash/wm/window_animations_unittest.cc
|
View
|
1
2
3
4
|
3 chunks |
+7 lines, -4 lines |
0 comments
|
Download
|
 |
M |
ash/wm/workspace_controller_unittest.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/browser/web_contents/aura/window_slider_unittest.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
tools/valgrind/drmemory/suppressions.txt
|
View
|
|
1 chunk |
+0 lines, -18 lines |
0 comments
|
Download
|
 |
M |
tools/valgrind/gtest_exclude/ash_unittests.gtest-drmemory_win32.txt
|
View
|
|
1 chunk |
+0 lines, -6 lines |
0 comments
|
Download
|
 |
M |
ui/aura/window_unittest.cc
|
View
|
1
2
3
4
5
|
5 chunks |
+10 lines, -10 lines |
0 comments
|
Download
|
 |
M |
ui/compositor/layer_animation_element.cc
|
View
|
1
2
3
4
|
2 chunks |
+9 lines, -7 lines |
0 comments
|
Download
|
 |
M |
ui/compositor/layer_animator_unittest.cc
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ui/compositor/scoped_animation_duration_scale_mode.h
|
View
|
1
2
3
4
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/keyboard/keyboard_controller_unittest.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ui/views/controls/textfield/textfield.cc
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
ui/views/widget/widget_unittest.cc
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ui/wm/core/visibility_controller_unittest.cc
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ui/wm/core/window_animations.cc
|
View
|
1
2
3
4
|
2 chunks |
+18 lines, -4 lines |
0 comments
|
Download
|
Total messages: 20 (0 generated)
|