OLD | NEW |
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 <stdint.h> |
| 6 |
5 #include <string> | 7 #include <string> |
6 | 8 |
7 #include "media/base/mock_media_log.h" | 9 #include "media/base/mock_media_log.h" |
8 #include "media/formats/mp4/aac.h" | 10 #include "media/formats/mp4/aac.h" |
9 #include "testing/gmock/include/gmock/gmock.h" | 11 #include "testing/gmock/include/gmock/gmock.h" |
10 #include "testing/gtest/include/gtest/gtest.h" | 12 #include "testing/gtest/include/gtest/gtest.h" |
11 | 13 |
12 using ::testing::InSequence; | 14 using ::testing::InSequence; |
13 using ::testing::StrictMock; | 15 using ::testing::StrictMock; |
14 using ::testing::AllOf; | 16 using ::testing::AllOf; |
(...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
295 EXPECT_MEDIA_LOG(AllOf(AudioProfileLog("mp4a.40.2"), | 297 EXPECT_MEDIA_LOG(AllOf(AudioProfileLog("mp4a.40.2"), |
296 AudioSamplingFrequencyLog("64000"), | 298 AudioSamplingFrequencyLog("64000"), |
297 AudioExtensionSamplingFrequencyLog("64000"), | 299 AudioExtensionSamplingFrequencyLog("64000"), |
298 AudioChannelLayoutLog("3"))); | 300 AudioChannelLayoutLog("3"))); |
299 EXPECT_TRUE(Parse(data)); | 301 EXPECT_TRUE(Parse(data)); |
300 } | 302 } |
301 | 303 |
302 } // namespace mp4 | 304 } // namespace mp4 |
303 | 305 |
304 } // namespace media | 306 } // namespace media |
OLD | NEW |