Revert "ut_win32"

This reverts commit 462f56d413.
This commit is contained in:
ruil2 2014-08-21 10:07:03 +08:00
parent 28fa2e7c98
commit 7fb9e57f30
4 changed files with 0 additions and 12 deletions

View File

@ -96,9 +96,6 @@ TEST_P (DecodeEncodeTest, CompareOutput) {
#if defined(ANDROID_NDK)
std::string filename = std::string ("/sdcard/") + p.fileName;
ASSERT_TRUE (Open (filename.c_str()));
#elif defined(_WIN32)
std::string filename = std::string ("../../../../../") + p.fileName;
ASSERT_TRUE (Open (filename.c_str()));
#else
ASSERT_TRUE (Open (p.fileName));
#endif

View File

@ -56,9 +56,6 @@ TEST_P (DecoderOutputTest, CompareOutput) {
#if defined(ANDROID_NDK)
std::string filename = std::string ("/sdcard/") + p.fileName;
DecodeFile (filename.c_str(), this);
#elif defined(_WIN32)
std::string filename = std::string ("../../../../../") + p.fileName;
DecodeFile (filename.c_str(), this);
#else
DecodeFile (p.fileName, this);
#endif

View File

@ -80,9 +80,6 @@ TEST_F (EncodeDecodeTestVclNal, DecoderVclNal) {
#if defined(ANDROID_NDK)
std::string filename = std::string ("/sdcard/") + p.fileName;
ASSERT_TRUE (fileStream.Open (filename.c_str()));
#elif defined(_WIN32)
std::string filename = std::string ("../../../../../") + p.fileName;
ASSERT_TRUE (fileStream.Open (filename.c_str()));
#else
ASSERT_TRUE (fileStream.Open (p.fileName));
#endif

View File

@ -60,9 +60,6 @@ TEST_P (EncoderOutputTest, CompareOutput) {
#if defined(ANDROID_NDK)
std::string filename = std::string ("/sdcard/") + p.fileName;
EncodeFile (filename.c_str(), p.usageType , p.width, p.height, p.frameRate, p.slices, p.denoise, p.layers, this);
#elif defined(_WIN32)
std::string filename = std::string ("../../../../../") + p.fileName;
EncodeFile (filename.c_str(), p.usageType , p.width, p.height, p.frameRate, p.slices, p.denoise, p.layers, this);
#else
EncodeFile (p.fileName, p.usageType , p.width, p.height, p.frameRate, p.slices, p.denoise, p.layers, this);
#endif