| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 #define _CRT_SECURE_NO_WARNINGS | 5 #define _CRT_SECURE_NO_WARNINGS |
| 6 | 6 |
| 7 #include <deque> | 7 #include <deque> |
| 8 | 8 |
| 9 #include "base/callback.h" | 9 #include "base/callback.h" |
| 10 #include "base/message_loop.h" | 10 #include "base/message_loop.h" |
| 11 #include "media/base/mock_filters.h" | 11 #include "media/base/mock_filters.h" |
| 12 #include "media/omx/mock_omx.h" | 12 #include "media/omx/mock_omx.h" |
| 13 #include "media/omx/omx_codec.h" | |
| 14 #include "testing/gtest/include/gtest/gtest.h" | 13 #include "testing/gtest/include/gtest/gtest.h" |
| 15 | 14 |
| 16 using ::testing::_; | 15 using ::testing::_; |
| 17 using ::testing::DoAll; | 16 using ::testing::DoAll; |
| 18 using ::testing::InSequence; | 17 using ::testing::InSequence; |
| 19 using ::testing::IsNull; | 18 using ::testing::IsNull; |
| 20 using ::testing::NotNull; | 19 using ::testing::NotNull; |
| 21 using ::testing::Return; | 20 using ::testing::Return; |
| 22 using ::testing::SaveArg; | 21 using ::testing::SaveArg; |
| 23 using ::testing::SetArgumentPointee; | 22 using ::testing::SetArgumentPointee; |
| (...skipping 420 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 444 } | 443 } |
| 445 | 444 |
| 446 // TODO(hclam): Add test case for dynamic port config. | 445 // TODO(hclam): Add test case for dynamic port config. |
| 447 // TODO(hclam): Create a more complicated test case so that read | 446 // TODO(hclam): Create a more complicated test case so that read |
| 448 // requests and reply from FillThisBuffer() arrives out of order. | 447 // requests and reply from FillThisBuffer() arrives out of order. |
| 449 // TODO(hclam): Add test case for Feed(). | 448 // TODO(hclam): Add test case for Feed(). |
| 450 | 449 |
| 451 } // namespace media | 450 } // namespace media |
| 452 | 451 |
| 453 #endif | 452 #endif |
| OLD | NEW |