Skip to content

G-API: Add output allocation tests for backends#15012

Merged
alalek merged 7 commits intoopencv:masterfrom
andrey-golubev:test_output
Jul 16, 2019
Merged

G-API: Add output allocation tests for backends#15012
alalek merged 7 commits intoopencv:masterfrom
andrey-golubev:test_output

Conversation

@andrey-golubev
Copy link
Copy Markdown
Member

This pullrequest

adds tests for output allocation for all backends

@andrey-golubev andrey-golubev requested a review from dmatveev July 10, 2019 16:09
@andrey-golubev
Copy link
Copy Markdown
Member Author

@dmatveev please see the initial version. I see some failures locally with certain tests, so let's discuss the actual working scenarios separately

@dmatveev
Copy link
Copy Markdown
Contributor

@andrey-golubev please align it with the team first, not me. My usefulness for things like this is highly overrated :)

@andrey-golubev andrey-golubev requested a review from rgarnov July 15, 2019 12:22
Copy link
Copy Markdown
Contributor

@dmatveev dmatveev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍
Cases are nice, all we need is to fix wording probably (and make checks more illustrative)

Update test names

Add illustrative "expect (non-)empty" checks

Rename mat "copy" to mat reference

Add more pointer checks
Copy link
Copy Markdown
Contributor

@dmatveev dmatveev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 thanks!

@alalek alalek merged commit c11423d into opencv:master Jul 16, 2019
@andrey-golubev
Copy link
Copy Markdown
Member Author

Thanks!

@andrey-golubev andrey-golubev deleted the test_output branch July 17, 2019 07:04
dvd42 pushed a commit to dvd42/opencv that referenced this pull request Aug 6, 2019
G-API: Add output allocation tests for backends (opencv#15012)

* Add output tests for backends

* Fix large size test: output is in fact reallocated

* Use cv::Mat copies for reallocation tracking

* Separate LargeSizeWithCorrectSubmatrix test

* Rename backed output allocation tests

* Address code review feedback

Update test names

Add illustrative "expect (non-)empty" checks

Rename mat "copy" to mat reference

Add more pointer checks

* Add illustrative checks
a-sajjad72 pushed a commit to a-sajjad72/opencv that referenced this pull request Mar 30, 2023
G-API: Add output allocation tests for backends (opencv#15012)

* Add output tests for backends

* Fix large size test: output is in fact reallocated

* Use cv::Mat copies for reallocation tracking

* Separate LargeSizeWithCorrectSubmatrix test

* Rename backed output allocation tests

* Address code review feedback

Update test names

Add illustrative "expect (non-)empty" checks

Rename mat "copy" to mat reference

Add more pointer checks

* Add illustrative checks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants