Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libdnf5-cli unit tests: Use only public API methods #1995

Merged

Conversation

jrohel
Copy link
Contributor

@jrohel jrohel commented Jan 8, 2025

The libdnf5-cli progressbar unit tests unnecessarily used the protected method DownloadProgressBar::to_stream. The libdnf5-cli library publicly provides the << operator (API) for DownloadProgressBar. This operator does the same thing and internally uses the to_stream method.

The libdnf5-cli progressbar unit tests unnecessarily used the protected
method `DownloadProgressBar::to_stream`. The libdnf5-cli library
publicly provides the `<<` operator (API) for `DownloadProgressBar`.
This operator does the same thing and internally uses the `to_stream`
method.
@kontura
Copy link
Contributor

kontura commented Jan 9, 2025

Oh, I see, thank you.

@kontura kontura added this pull request to the merge queue Jan 9, 2025
Merged via the queue into rpm-software-management:main with commit f4b00fa Jan 9, 2025
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants