ut_win32
This commit is contained in:
parent
d3dc48d1d1
commit
462f56d413
@ -96,6 +96,9 @@ 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
|
||||
|
@ -56,6 +56,9 @@ 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
|
||||
|
@ -80,6 +80,9 @@ 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
|
||||
|
@ -60,6 +60,9 @@ 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
|
||||
|
Loading…
x
Reference in New Issue
Block a user