You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Remove unused variables and thrown exception in ConfigurationIT
Remove unnecessary throws from ServiceAndEventManagerIT.cleanup
Fix badly used variable reassignment in AckManagerIT.getCurrentAckValueTest
Remove all try-catches in AckManagerIT.java
Remove all try-catches in ServiceAndEventManagerIT.java
Use assertNotEquals in AckManagerIT.deleteAckTest instead of assertNotSame
Fix unused test
- Now in use
Use assertDoesNotThrow in ServiceAndEventManagerIT.initialize instead of try-catch
Remove duplicate property in AckManagerIT.java
Update Apache Rat pattern and exclusions
Run spotless:apply
Update the copyright year and formatting
Remove JUnit4 vintage-engine from dependencies
Migrate JUnit4 assertions to JUnit5 in TokenManagerTests
Migrate JUnit4 assertions to JUnit5 in SessionManagerTests
Migrate JUnit4 assertions to JUnit5 in ConverterTests
- Also includes minor enhancements to tests
Migrate JUnit4 assertions to JUnit5 in ServiceAndEventManagerIT
Fix tests in SendEventsIT
Migrate JUnit4 assertions to JUnit5 in AckManagerIT
* Delete empty file after rebase
* Remove old JUnit 4 assertions
- Removes the static imports
- Changes the order of the assertion parameters to the new format with message being last
* Fix the changed copyright in SyslogMessageSender
- Noticed that the rebase container modifications to the copyright, so reverted those
* Move import to correct position in SessionManagerTests after rebase
.assertEquals(authToken, manager.getTokenFromBasic(basicAuthHeader), "Method should return the authentication token extracted from the Basic " + "Authentication format");
acknowledgements.isAckAcknowledged(this.authToken1, this.channel1, 0), "ackId 0 should be acknowledged for channel 1"
179
+
);
180
+
Assertions
181
+
.assertFalse(
182
+
183
+
acknowledgements.isAckAcknowledged(this.authToken1, this.channel1, 1), "ackId 1 should not be acknowledged for channel 1"
184
+
);
185
+
Assertions
186
+
.assertFalse(
187
+
188
+
acknowledgements.isAckAcknowledged(this.authToken1, this.channel1, 10), "ackId 10 is not used yet for channel 1, so isAckAcknowledged should return false"
acknowledgements.isAckAcknowledged(this.authToken2, this.channel2, 0), "ackId 0 is not used yet for channel 2 so isAckAcknowledged should return false"
196
+
);
195
197
}
196
198
197
199
/*
@@ -214,44 +216,56 @@ public void getRequestedAckStatusesTest() {
.assertEquals(emptyJsonNode, acknowledgements.getRequestedAckStatuses(this.authToken1, "", null), "getRequestedAckStatuses should return null, when providing a null value as a parameter");
228
228
229
-
assertEquals(
230
-
"ackId 1 status should be true on channel1, others should be false.", supposedResponseAsStringOneTrue,
0 commit comments