diff options
author | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-27 16:40:40 +0000 |
---|---|---|
committer | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-27 16:40:40 +0000 |
commit | 5a40f6beda09a0f259c7c4b7aa249e26612c5285 (patch) | |
tree | 8e1e496b52010d7463a10695ea917110df4fbe20 /media/audio | |
parent | 3dda5b0f1bb73a437ca6e6f2741580451030ac25 (diff) | |
download | chromium_src-5a40f6beda09a0f259c7c4b7aa249e26612c5285.zip chromium_src-5a40f6beda09a0f259c7c4b7aa249e26612c5285.tar.gz chromium_src-5a40f6beda09a0f259c7c4b7aa249e26612c5285.tar.bz2 |
GTTF: more FRIEND_TEST_ALL_PREFIXES
TEST=compile
BUG=44549
Review URL: http://codereview.chromium.org/3064007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53793 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media/audio')
-rw-r--r-- | media/audio/linux/alsa_output.h | 45 |
1 files changed, 24 insertions, 21 deletions
diff --git a/media/audio/linux/alsa_output.h b/media/audio/linux/alsa_output.h index 6bc7de9..0fb5ac5 100644 --- a/media/audio/linux/alsa_output.h +++ b/media/audio/linux/alsa_output.h @@ -32,12 +32,12 @@ #include <string> +#include "base/gtest_prod_util.h" #include "base/lock.h" #include "base/ref_counted.h" #include "base/scoped_ptr.h" #include "base/thread.h" #include "media/audio/audio_io.h" -#include "testing/gtest/include/gtest/gtest_prod.h" namespace media { class SeekableBuffer; @@ -91,26 +91,29 @@ class AlsaPcmOutputStream : private: friend class base::RefCountedThreadSafe<AlsaPcmOutputStream>; friend class AlsaPcmOutputStreamTest; - FRIEND_TEST(AlsaPcmOutputStreamTest, AutoSelectDevice_DeviceSelect); - FRIEND_TEST(AlsaPcmOutputStreamTest, AutoSelectDevice_FallbackDevices); - FRIEND_TEST(AlsaPcmOutputStreamTest, AutoSelectDevice_HintFail); - FRIEND_TEST(AlsaPcmOutputStreamTest, BufferPacket); - FRIEND_TEST(AlsaPcmOutputStreamTest, BufferPacket_Negative); - FRIEND_TEST(AlsaPcmOutputStreamTest, BufferPacket_StopStream); - FRIEND_TEST(AlsaPcmOutputStreamTest, BufferPacket_Underrun); - FRIEND_TEST(AlsaPcmOutputStreamTest, BufferPacket_FullBuffer); - FRIEND_TEST(AlsaPcmOutputStreamTest, ConstructedState); - FRIEND_TEST(AlsaPcmOutputStreamTest, LatencyFloor); - FRIEND_TEST(AlsaPcmOutputStreamTest, OpenClose); - FRIEND_TEST(AlsaPcmOutputStreamTest, PcmOpenFailed); - FRIEND_TEST(AlsaPcmOutputStreamTest, PcmSetParamsFailed); - FRIEND_TEST(AlsaPcmOutputStreamTest, ScheduleNextWrite); - FRIEND_TEST(AlsaPcmOutputStreamTest, ScheduleNextWrite_StopStream); - FRIEND_TEST(AlsaPcmOutputStreamTest, StartStop); - FRIEND_TEST(AlsaPcmOutputStreamTest, WritePacket_FinishedPacket); - FRIEND_TEST(AlsaPcmOutputStreamTest, WritePacket_NormalPacket); - FRIEND_TEST(AlsaPcmOutputStreamTest, WritePacket_StopStream); - FRIEND_TEST(AlsaPcmOutputStreamTest, WritePacket_WriteFails); + FRIEND_TEST_ALL_PREFIXES(AlsaPcmOutputStreamTest, + AutoSelectDevice_DeviceSelect); + FRIEND_TEST_ALL_PREFIXES(AlsaPcmOutputStreamTest, + AutoSelectDevice_FallbackDevices); + FRIEND_TEST_ALL_PREFIXES(AlsaPcmOutputStreamTest, AutoSelectDevice_HintFail); + FRIEND_TEST_ALL_PREFIXES(AlsaPcmOutputStreamTest, BufferPacket); + FRIEND_TEST_ALL_PREFIXES(AlsaPcmOutputStreamTest, BufferPacket_Negative); + FRIEND_TEST_ALL_PREFIXES(AlsaPcmOutputStreamTest, BufferPacket_StopStream); + FRIEND_TEST_ALL_PREFIXES(AlsaPcmOutputStreamTest, BufferPacket_Underrun); + FRIEND_TEST_ALL_PREFIXES(AlsaPcmOutputStreamTest, BufferPacket_FullBuffer); + FRIEND_TEST_ALL_PREFIXES(AlsaPcmOutputStreamTest, ConstructedState); + FRIEND_TEST_ALL_PREFIXES(AlsaPcmOutputStreamTest, LatencyFloor); + FRIEND_TEST_ALL_PREFIXES(AlsaPcmOutputStreamTest, OpenClose); + FRIEND_TEST_ALL_PREFIXES(AlsaPcmOutputStreamTest, PcmOpenFailed); + FRIEND_TEST_ALL_PREFIXES(AlsaPcmOutputStreamTest, PcmSetParamsFailed); + FRIEND_TEST_ALL_PREFIXES(AlsaPcmOutputStreamTest, ScheduleNextWrite); + FRIEND_TEST_ALL_PREFIXES(AlsaPcmOutputStreamTest, + ScheduleNextWrite_StopStream); + FRIEND_TEST_ALL_PREFIXES(AlsaPcmOutputStreamTest, StartStop); + FRIEND_TEST_ALL_PREFIXES(AlsaPcmOutputStreamTest, WritePacket_FinishedPacket); + FRIEND_TEST_ALL_PREFIXES(AlsaPcmOutputStreamTest, WritePacket_NormalPacket); + FRIEND_TEST_ALL_PREFIXES(AlsaPcmOutputStreamTest, WritePacket_StopStream); + FRIEND_TEST_ALL_PREFIXES(AlsaPcmOutputStreamTest, WritePacket_WriteFails); virtual ~AlsaPcmOutputStream(); |