Index: webrtc/modules/video_processing/test/video_processing_unittest.h |
diff --git a/webrtc/modules/video_processing/test/video_processing_unittest.h b/webrtc/modules/video_processing/test/video_processing_unittest.h |
index 3433c6ca868f8c2d7a4e32d73b4e1e5147f7eab8..7c0c1dfe5c5823d6281ecfbaa515a9f0b12e4483 100644 |
--- a/webrtc/modules/video_processing/test/video_processing_unittest.h |
+++ b/webrtc/modules/video_processing/test/video_processing_unittest.h |
@@ -20,20 +20,21 @@ |
namespace webrtc { |
-class VideoProcessingTest : public ::testing::Test { |
+typedef struct { |
+ std::string file_name; |
+ int width; |
+ int height; |
+} VideoToTest; |
+ |
+class VideoProcessingTest : public ::testing::TestWithParam<VideoToTest> { |
protected: |
VideoProcessingTest(); |
virtual void SetUp(); |
virtual void TearDown(); |
- static void SetUpTestCase() { |
- Trace::CreateTrace(); |
- std::string trace_file = webrtc::test::OutputPath() + "VPMTrace.txt"; |
- ASSERT_EQ(0, Trace::SetTraceFile(trace_file.c_str())); |
- } |
- static void TearDownTestCase() { Trace::ReturnTrace(); } |
VideoProcessing* vp_; |
FILE* source_file_; |
VideoFrame video_frame_; |
+ const VideoToTest vtt_; |
const int width_; |
const int half_width_; |
const int height_; |