/external/webrtc/test/testsupport/ |
D | y4m_frame_reader_unittest.cc | 45 temp_filename_ = webrtc::test::TempFilename(webrtc::test::OutputPath(), in SetUp() 47 FILE* dummy = fopen(temp_filename_.c_str(), "wb"); in SetUp() 55 new Y4mFrameReaderImpl(temp_filename_, kFrameWidth, kFrameHeight)); in SetUp() 59 void TearDown() override { remove(temp_filename_.c_str()); } in TearDown() 62 std::string temp_filename_; member in webrtc::test::Y4mFrameReaderTest 89 Y4mFrameReaderImpl file_reader(temp_filename_, kFrameWidth, kFrameHeight); in TEST_F() 94 Y4mFrameReaderImpl file_reader(temp_filename_, kFrameWidth + 1, kFrameHeight); in TEST_F() 99 Y4mFrameReaderImpl file_reader(temp_filename_, kFrameWidth, kFrameHeight + 1); in TEST_F()
|
D | yuv_frame_writer_unittest.cc | 37 temp_filename_ = webrtc::test::TempFilename(webrtc::test::OutputPath(), in SetUp() 40 new YuvFrameWriterImpl(temp_filename_, kFrameWidth, kFrameHeight)); in SetUp() 44 void TearDown() override { remove(temp_filename_.c_str()); } in TearDown() 47 std::string temp_filename_; member in webrtc::test::YuvFrameWriterTest 63 EXPECT_EQ(kFrameLength, GetFileSize(temp_filename_)); in TEST_F() 68 YuvFrameWriterImpl frame_writer(temp_filename_, kFrameWidth, kFrameHeight); in TEST_F()
|
D | y4m_frame_writer_unittest.cc | 41 temp_filename_ = webrtc::test::TempFilename(webrtc::test::OutputPath(), in SetUp() 43 frame_writer_.reset(new Y4mFrameWriterImpl(temp_filename_, kFrameWidth, in SetUp() 48 void TearDown() override { remove(temp_filename_.c_str()); } in TearDown() 51 std::string temp_filename_; member in webrtc::test::Y4mFrameWriterTest 70 GetFileSize(temp_filename_)); in TEST_F() 75 Y4mFrameWriterImpl frame_writer(temp_filename_, kFrameWidth, kFrameHeight, in TEST_F()
|
D | yuv_frame_reader_unittest.cc | 41 temp_filename_ = webrtc::test::TempFilename(webrtc::test::OutputPath(), in SetUp() 43 FILE* dummy = fopen(temp_filename_.c_str(), "wb"); in SetUp() 48 new YuvFrameReaderImpl(temp_filename_, kFrameWidth, kFrameHeight)); in SetUp() 52 void TearDown() override { remove(temp_filename_.c_str()); } in TearDown() 55 std::string temp_filename_; member in webrtc::test::YuvFrameReaderTest 82 YuvFrameReaderImpl file_reader(temp_filename_, kFrameWidth, kFrameHeight); in TEST_F()
|
D | video_frame_writer_unittest.cc | 97 temp_filename_ = webrtc::test::TempFilename(webrtc::test::OutputPath(), in SetUp() 104 void TearDown() override { remove(temp_filename_.c_str()); } in TearDown() 107 std::string temp_filename_; member in webrtc::test::VideoFrameWriterTest 114 temp_filename_, kFrameWidth, kFrameHeight, kFrameRate); in CreateFrameWriter() 121 return std::make_unique<YuvVideoFrameWriterImpl>(temp_filename_, in CreateFrameWriter() 140 GetFileSize(temp_filename_)); in TEST_F() 143 std::make_unique<Y4mFrameReaderImpl>(temp_filename_, kFrameWidth, in TEST_F() 165 EXPECT_EQ(2 * kFrameLength, GetFileSize(temp_filename_)); in TEST_F() 168 std::make_unique<YuvFrameReaderImpl>(temp_filename_, kFrameWidth, in TEST_F()
|
D | copy_to_file_audio_capturer_unittest.cc | 26 temp_filename_ = webrtc::test::TempFilename( in SetUp() 31 temp_filename_); in SetUp() 34 void TearDown() override { ASSERT_EQ(remove(temp_filename_.c_str()), 0); } in TearDown() 37 std::string temp_filename_; member in webrtc::test::CopyToFileAudioCapturerTest 50 TestAudioDeviceModule::CreateWavFileReader(temp_filename_, 48000); in TEST_F()
|
/external/webrtc/api/test/metrics/ |
D | chrome_perf_dashboard_metrics_exporter_test.cc | 55 temp_filename_ = webrtc::test::TempFilename( in SetUp() 61 ASSERT_TRUE(webrtc::test::RemoveFile(temp_filename_)); in TearDown() 64 std::string temp_filename_; member in webrtc::test::__anon03401d1c0111::ChromePerfDashboardMetricsExporterTest 89 ChromePerfDashboardMetricsExporter exporter(temp_filename_); in TEST_F() 93 actual_histogram_set.ParseFromString(ReadFileAsString(temp_filename_)); in TEST_F() 164 ChromePerfDashboardMetricsExporter exporter(temp_filename_); in TEST_F() 168 actual_histogram_set.ParseFromString(ReadFileAsString(temp_filename_)); in TEST_F() 195 ChromePerfDashboardMetricsExporter exporter(temp_filename_); in TEST_F() 199 actual_histogram_set.ParseFromString(ReadFileAsString(temp_filename_)); in TEST_F() 226 ChromePerfDashboardMetricsExporter exporter(temp_filename_); in TEST_F() [all …]
|
D | metrics_set_proto_file_exporter_test.cc | 67 temp_filename_ = webrtc::test::TempFilename( in SetUp() 72 ASSERT_TRUE(webrtc::test::RemoveFile(temp_filename_)); in TearDown() 75 std::string temp_filename_; member in webrtc::test::__anonfe9823c90111::MetricsSetProtoFileExporterTest 79 MetricsSetProtoFileExporter::Options options(temp_filename_); in TEST_F() 105 actual_metrics_set.ParseFromString(ReadFileAsString(temp_filename_)); in TEST_F()
|
/external/webrtc/logging/rtc_event_log/ |
D | rtc_event_log_unittest.cc | 127 temp_filename_ = test::OutputPath() + test_name; in RtcEventLogSession() 207 std::string temp_filename_; member in webrtc::__anonbd64847a0111::RtcEventLogSession 340 event_log->StartLogging(log_output_factory_->Create(temp_filename_), in WriteLog() 566 auto it = log_storage_.logs().find(temp_filename_); in ReadAndVerifyLog()
|