• M
    Rewritten some tests in videoio and imgcodecs modules · 87b569d8
    Maksim Shabunin 提交于
    general:
    - all iterative tests have been replaced with parameterized tests
    - old-style try..catch tests have been modified to use EXPECT_/ASSERT_ gtest macros
    - added temporary files cleanup
    - modified MatComparator error message formatting
    
    imgcodecs:
    - test_grfmt.cpp split to test_jpg.cpp, test_png.cpp, test_tiff.cpp, etc.
    
    videoio:
    - added public HAVE_VIDEO_INPUT, HAVE_VIDEO_OUTPUT definitions to cvconfig.h
    - built-in MotionJPEG codec could not be tested on some platforms (read_write test was disabled if ffmpeg is off, encoding/decoding was handled by ffmpeg otherwise).
    - image-related tests moved to imgcodecs (Videoio_Image)
    - several property get/set tests have been combined into one
    - added MotionJPEG test video to opencv_extra
    87b569d8
test_tiff.cpp 7.6 KB