1 /* 2 * Copyright (c) 2011 The LibYuv project authors. All Rights Reserved. 3 * 4 * Use of this source code is governed by a BSD-style license 5 * that can be found in the LICENSE file in the root of the source 6 * tree. An additional intellectual property rights grant can be found 7 * in the file PATENTS. All contributing project authors may 8 * be found in the AUTHORS file in the root of the source tree. 9 */ 10 11 #include <cstring> 12 #include "unit_test.h" 13 14 class libyuvEnvironment : public ::testing::Environment { 15 public: 16 virtual void SetUp() { 17 } 18 19 virtual void TearDown() { 20 } 21 }; 22 23 libyuvTest::libyuvTest() : 24 _rotate_max_w(128), 25 _rotate_max_h(128) { 26 } 27 28 void libyuvTest::SetUp() { 29 } 30 31 void libyuvTest::TearDown() { 32 } 33 34 int main(int argc, char** argv) { 35 ::testing::InitGoogleTest(&argc, argv); 36 libyuvEnvironment* env = new libyuvEnvironment; 37 ::testing::AddGlobalTestEnvironment(env); 38 39 return RUN_ALL_TESTS(); 40 }