Github user tabish121 commented on a diff in the pull request:
https://github.com/apache/qpid-jms/pull/9#discussion_r127257588
--- Diff:
qpid-jms-client/src/test/java/org/apache/qpid/jms/sasl/CramMD5MechanismTest.java
---
@@ -85,4 +115,21 @@ public String getName() {
}
}));
}
+
+ @Test
+ public void testIncompleteExchange() throws Exception {
+ Mechanism mechanism = new CramMD5Mechanism();
+
+ mechanism.getInitialResponse();
+
+ try {
+ mechanism.verifyComplete();
+ fail("Exception not thrown");
+ }
+ catch (SaslException e)
--- End diff --
Please fix your code formatting to match the rest of the client code.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]