OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "base/command_line.h" | 5 #include "base/command_line.h" |
6 #include "base/memory/scoped_vector.h" | 6 #include "base/memory/scoped_vector.h" |
7 #include "base/run_loop.h" | 7 #include "base/run_loop.h" |
8 #include "base/strings/string_number_conversions.h" | 8 #include "base/strings/string_number_conversions.h" |
9 #include "base/timer/timer.h" | 9 #include "base/timer/timer.h" |
10 #include "testing/gtest/include/gtest/gtest.h" | 10 #include "testing/gtest/include/gtest/gtest.h" |
(...skipping 4262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4273 int default_flags = delegate->flags(); | 4273 int default_flags = delegate->flags(); |
4274 | 4274 |
4275 ui::TouchEvent move1( | 4275 ui::TouchEvent move1( |
4276 ui::ET_TOUCH_MOVED, gfx::Point(397, 149), kTouchId, tes.LeapForward(50)); | 4276 ui::ET_TOUCH_MOVED, gfx::Point(397, 149), kTouchId, tes.LeapForward(50)); |
4277 move1.set_flags(992); | 4277 move1.set_flags(992); |
4278 | 4278 |
4279 DispatchEventUsingWindowDispatcher(&move1); | 4279 DispatchEventUsingWindowDispatcher(&move1); |
4280 EXPECT_NE(default_flags, delegate->flags()); | 4280 EXPECT_NE(default_flags, delegate->flags()); |
4281 } | 4281 } |
4282 | 4282 |
| 4283 // TODO - re-enable these tests once memory management issues have been sorted |
| 4284 // out. See crbug.com/371990. |
4283 INSTANTIATE_TEST_CASE_P(GestureRecognizer, | 4285 INSTANTIATE_TEST_CASE_P(GestureRecognizer, |
4284 GestureRecognizerTest, | 4286 GestureRecognizerTest, |
4285 ::testing::Bool()); | 4287 ::testing::Values(false)); |
4286 | 4288 |
4287 } // namespace test | 4289 } // namespace test |
4288 } // namespace aura | 4290 } // namespace aura |
OLD | NEW |