Skip to content
Snippets Groups Projects
Commit daeb85a8 authored by Brutzman, Don's avatar Brutzman, Don
Browse files

variable rename for clarity

parent c550620d
No related branches found
No related tags found
No related merge requests found
...@@ -79,12 +79,12 @@ public class CommentPdusTest ...@@ -79,12 +79,12 @@ public class CommentPdusTest
sendPdu(newPdu); // send to self, then wait a while, then return receivedPdu sendPdu(newPdu); // send to self, then wait a while, then return receivedPdu
assertTrue(receivedPdu != null, "No response from network receiver"); assertTrue(receivedPdu != null, "No response from network receiver");
String marshallMismatchMessage = String marshallSizeMismatchMessage =
"Marshalled size mismatch," + "Marshalled size mismatch," +
"sent (" + newPdu.getMarshalledSize() + " bytes) and " + "sent (" + newPdu.getMarshalledSize() + " bytes) and " +
"recieved (" + receivedPdu.getMarshalledSize() + " bytes)"; "recieved (" + receivedPdu.getMarshalledSize() + " bytes)";
// https://stackoverflow.com/questions/20631621/cannot-find-symbol-assertequals/20631672 // https://stackoverflow.com/questions/20631621/cannot-find-symbol-assertequals/20631672
assertEquals(newPdu.getMarshalledSize(), receivedPdu.getMarshalledSize(), marshallMismatchMessage); assertEquals(newPdu.getMarshalledSize(), receivedPdu.getMarshalledSize(), marshallSizeMismatchMessage);
assertTrue(compare(newPdu,receivedPdu), "Comparison failed"); assertTrue(compare(newPdu,receivedPdu), "Comparison failed");
assertEquals(newPdu.getPduType(), receivedPdu.getPduType(), "PDU type mismatch"); assertEquals(newPdu.getPduType(), receivedPdu.getPduType(), "PDU type mismatch");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment