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

test(nm.configuration.writer): refactor and added tests dnsmasq cases for DhcpServerConfigWriter #4520

Merged

Conversation

marcellorinaldo
Copy link
Contributor

This PR adds tests cases for testing DhcpServerConfigWriter in case dnsmasq is used. Moreover, a refactor of the testing class is made to allow more parametrization of test cases and usage of Junit's temporary files.

Related Issue: N/A.

Description of the solution adopted: N/A.

Screenshots: N/A.

Any side note on the changes made: N/A.

… for DhcpServerConfigWriter

Signed-off-by: Marcello Martina <[email protected]>
Copy link
Contributor

@mattdibi mattdibi left a comment

Choose a reason for hiding this comment

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

LGTM.

Take a look at the comments I added and feel free to ignore them if you don't have the time or the will (or both!) for implementing them.

@marcellorinaldo marcellorinaldo requested a review from mattdibi April 4, 2023 07:18
@marcellorinaldo
Copy link
Contributor Author

LGTM.

Take a look at the comments I added and feel free to ignore them if you don't have the time or the will (or both!) for implementing them.

No time but will for sure!

@mattdibi mattdibi merged commit 00bc216 into eclipse-kura:develop Apr 4, 2023
@mattdibi mattdibi deleted the add-tests-dnsmasq-writer branch April 4, 2023 14:56
github-actions bot pushed a commit that referenced this pull request Apr 4, 2023
… for DhcpServerConfigWriter (#4520)

* test(nm.configuration.writer): refactor and added tests dnsmasq cases for DhcpServerConfigWriter

Signed-off-by: Marcello Martina <[email protected]>

* refactor: applied review suggestions

Signed-off-by: Marcello Martina <[email protected]>

---------

Signed-off-by: Marcello Martina <[email protected]>
(cherry picked from commit 00bc216)
MMaiero pushed a commit that referenced this pull request Apr 5, 2023
… for DhcpServerConfigWriter [backport release-5.3.0] (#4528)

test(nm.configuration.writer): refactor and added tests dnsmasq cases for DhcpServerConfigWriter (#4520)

* test(nm.configuration.writer): refactor and added tests dnsmasq cases for DhcpServerConfigWriter

Signed-off-by: Marcello Martina <[email protected]>

* refactor: applied review suggestions

Signed-off-by: Marcello Martina <[email protected]>

---------

Signed-off-by: Marcello Martina <[email protected]>
(cherry picked from commit 00bc216)

Co-authored-by: Marcello Rinaldo Martina <[email protected]>
pierantoniomerlino pushed a commit that referenced this pull request Apr 5, 2023
… for DhcpServerConfigWriter (#4520)

* test(nm.configuration.writer): refactor and added tests dnsmasq cases for DhcpServerConfigWriter

Signed-off-by: Marcello Martina <[email protected]>

* refactor: applied review suggestions

Signed-off-by: Marcello Martina <[email protected]>

---------

Signed-off-by: Marcello Martina <[email protected]>
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