-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[freebox] Hot fix for login to the freebox #7696
Conversation
PR openhab#7460 broke the freebox binding Signed-off-by: Laurent Garnier <[email protected]>
Could you add a unit test to this as well? I'd like to prevent any future mishaps. |
I don't know where @cweitkamp put his unit test. |
Travis tests were successfulHey @lolodomo, |
See #7460 (comment). |
I will not take a long time to introduce all the testing stuff to the binding (I am not enough familiar with that) even more when the bug was not introduced by me, |
Just add this file and fill in the blanks:
You will need to make |
Signed-off-by: Laurent Garnier <[email protected]>
Thank you for the help, I did not imagine it was just one class to add. |
Travis tests were successfulHey @lolodomo, |
Assert.assertEquals(expected, actual); | ||
} | ||
|
||
} |
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.
Some of our build tools don't like EOF without a newline. So add a newline here.
Unit testing with JUnit is made to be as simple as possible with the idea that the easier it is the more likely unit tests would be written. More tests means more stable code, so it is a win-win for developers. |
Signed-off-by: Laurent Garnier <[email protected]>
Travis tests were successfulHey @lolodomo, |
* [freebox] Hot fix for login to the freebox PR openhab#7460 broke the freebox binding * Unit test added for method hmacSha1 Signed-off-by: Laurent Garnier <[email protected]>
* [freebox] Hot fix for login to the freebox PR openhab#7460 broke the freebox binding * Unit test added for method hmacSha1 Signed-off-by: Laurent Garnier <[email protected]>
* [freebox] Hot fix for login to the freebox PR openhab#7460 broke the freebox binding * Unit test added for method hmacSha1 Signed-off-by: Laurent Garnier <[email protected]> Signed-off-by: CSchlipp <[email protected]>
* [freebox] Hot fix for login to the freebox PR openhab#7460 broke the freebox binding * Unit test added for method hmacSha1 Signed-off-by: Laurent Garnier <[email protected]>
* [freebox] Hot fix for login to the freebox PR openhab#7460 broke the freebox binding * Unit test added for method hmacSha1 Signed-off-by: Laurent Garnier <[email protected]>
* [freebox] Hot fix for login to the freebox PR openhab#7460 broke the freebox binding * Unit test added for method hmacSha1 Signed-off-by: Laurent Garnier <[email protected]>
* [freebox] Hot fix for login to the freebox PR openhab#7460 broke the freebox binding * Unit test added for method hmacSha1 Signed-off-by: Laurent Garnier <[email protected]>
* [freebox] Hot fix for login to the freebox PR openhab#7460 broke the freebox binding * Unit test added for method hmacSha1 Signed-off-by: Laurent Garnier <[email protected]> Signed-off-by: Daan Meijer <[email protected]>
* [freebox] Hot fix for login to the freebox PR openhab#7460 broke the freebox binding * Unit test added for method hmacSha1 Signed-off-by: Laurent Garnier <[email protected]>
PR #7460 broke the freebox binding
Signed-off-by: Laurent Garnier [email protected]