Skip to content

Commit

Permalink
objdetect: fix QRCode tests with disabled QUIRC
Browse files Browse the repository at this point in the history
  • Loading branch information
mshabunin committed Mar 16, 2020
1 parent 8f49b82 commit 05d4975
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/objdetect/test/test_qrcode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ TEST_P(Objdetect_QRCode_Close, regression)
ASSERT_FALSE(corners.empty());
ASSERT_FALSE(decoded_info.empty());
#else
ASSERT_TRUE(qrcode.detect(src, corners));
ASSERT_TRUE(qrcode.detect(barcode, corners));
#endif

const std::string dataset_config = findDataFile(root + "dataset_config.json");
Expand Down Expand Up @@ -349,7 +349,7 @@ TEST_P(Objdetect_QRCode_Monitor, regression)
ASSERT_FALSE(corners.empty());
ASSERT_FALSE(decoded_info.empty());
#else
ASSERT_TRUE(qrcode.detect(src, corners));
ASSERT_TRUE(qrcode.detect(barcode, corners));
#endif

const std::string dataset_config = findDataFile(root + "dataset_config.json");
Expand Down

0 comments on commit 05d4975

Please sign in to comment.