#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#include "remoting/host/linux/audio_pipe_reader.h"
#include <sys/stat.h>
#include <sys/types.h>
#include <unistd.h>
#include <memory>
#include "base/containers/span.h"
#include "base/files/file.h"
#include "base/files/scoped_temp_dir.h"
#include "base/message_loop/message_pump_type.h"
#include "base/run_loop.h"
#include "base/test/task_environment.h"
#include "base/threading/thread.h"
#include "base/time/time.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace remoting {
class AudioPipeReaderTest : public testing::Test,
public AudioPipeReader::StreamObserver { … };
TEST_F(AudioPipeReaderTest, CreateAndDestroyPipe) { … }
TEST_F(AudioPipeReaderTest, Pacing) { … }
}