Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(290)

Side by Side Diff: media/base/audio_renderer_mixer_unittest.cc

Issue 2626283003: media: Simplify audio test names (Closed)
Patch Set: media: Simplify audio test names Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | media/filters/audio_decoder_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 // MSVC++ requires this to be set before any other includes to get M_PI. 5 // MSVC++ requires this to be set before any other includes to get M_PI.
6 #define _USE_MATH_DEFINES 6 #define _USE_MATH_DEFINES
7 7
8 #include "media/base/audio_renderer_mixer.h" 8 #include "media/base/audio_renderer_mixer.h"
9 9
10 #include <stddef.h> 10 #include <stddef.h>
(...skipping 533 matching lines...) Expand 10 before | Expand all | Expand 10 after
544 // Both downsampling and upsampling, multiple input sample rates 544 // Both downsampling and upsampling, multiple input sample rates
545 std::tr1::make_tuple(static_cast<const int* const>(kTestInput3Rates), 545 std::tr1::make_tuple(static_cast<const int* const>(kTestInput3Rates),
546 arraysize(kTestInput3Rates), 546 arraysize(kTestInput3Rates),
547 kTestInput3Rates[1], 547 kTestInput3Rates[1],
548 0.01))); 548 0.01)));
549 549
550 // Test cases for behavior which is independent of parameters. Values() doesn't 550 // Test cases for behavior which is independent of parameters. Values() doesn't
551 // support single item lists and we don't want these test cases to run for every 551 // support single item lists and we don't want these test cases to run for every
552 // parameter set. 552 // parameter set.
553 INSTANTIATE_TEST_CASE_P( 553 INSTANTIATE_TEST_CASE_P(
554 AudioRendererMixerBehavioralTest, 554 /* no prefix */,
555 AudioRendererMixerBehavioralTest, 555 AudioRendererMixerBehavioralTest,
556 testing::ValuesIn(std::vector<AudioRendererMixerTestData>( 556 testing::ValuesIn(std::vector<AudioRendererMixerTestData>(
557 1, 557 1,
558 std::tr1::make_tuple(&kTestInputLower, 558 std::tr1::make_tuple(&kTestInputLower,
559 1, 559 1,
560 kTestInputLower, 560 kTestInputLower,
561 0.00000048)))); 561 0.00000048))));
562 } // namespace media 562 } // namespace media
OLDNEW
« no previous file with comments | « no previous file | media/filters/audio_decoder_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698