From 48514337dec2b4a1928c0ac00d0b6c1d5c499228 Mon Sep 17 00:00:00 2001 From: Andrey Morozov Date: Thu, 2 Jun 2011 08:53:12 +0000 Subject: [PATCH] minor fix in highgui tests --- modules/highgui/test/test_ffmpeg.cpp | 2 +- modules/highgui/test/test_main.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/highgui/test/test_ffmpeg.cpp b/modules/highgui/test/test_ffmpeg.cpp index 33e65ca2e..1970c0ed6 100644 --- a/modules/highgui/test/test_ffmpeg.cpp +++ b/modules/highgui/test/test_ffmpeg.cpp @@ -53,7 +53,7 @@ class CV_FFmpegWriteBigImagesTest : public cvtest::BaseTest { try { - Mat img = imread(string(ts->get_data_path()) + "readwrite/read.png", 0); + Mat img = imread(string(ts->get_data_path()) + "readwrite/read.png"); if (img.empty()) ts->set_failed_test_info(cvtest::TS::FAIL_INVALID_TEST_DATA); imwrite(string(ts->get_data_path()) + "readwrite/write.png", img); } diff --git a/modules/highgui/test/test_main.cpp b/modules/highgui/test/test_main.cpp index 6a686e68d..363b54161 100644 --- a/modules/highgui/test/test_main.cpp +++ b/modules/highgui/test/test_main.cpp @@ -1,4 +1,4 @@ #include "test_precomp.hpp" -CV_TEST_MAIN("cv") +CV_TEST_MAIN("highgui")