-
Notifications
You must be signed in to change notification settings - Fork 314
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
test(nm.configuration.writer): refactor and added tests dnsmasq cases for DhcpServerConfigWriter #4520
Conversation
… for DhcpServerConfigWriter Signed-off-by: Marcello Martina <[email protected]>
....test/src/test/java/org/eclipse/kura/nm/configuration/writer/DhcpServerConfigWriterTest.java
Outdated
Show resolved
Hide resolved
....test/src/test/java/org/eclipse/kura/nm/configuration/writer/DhcpServerConfigWriterTest.java
Outdated
Show resolved
Hide resolved
....test/src/test/java/org/eclipse/kura/nm/configuration/writer/DhcpServerConfigWriterTest.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this 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.
Signed-off-by: Marcello Martina <[email protected]>
No time but will for sure! |
… 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)
… 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]>
… 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]>
This PR adds tests cases for testing
DhcpServerConfigWriter
in casednsmasq
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.