Skip to Content.
Sympa Menu

ndt-dev - [ndt-dev] [ndt] r867 committed - Fix issue with wrong error messages in S2C tests of Java client

Subject: NDT-DEV email list created

List archive

[ndt-dev] [ndt] r867 committed - Fix issue with wrong error messages in S2C tests of Java client


Chronological Thread 
  • From:
  • To:
  • Subject: [ndt-dev] [ndt] r867 committed - Fix issue with wrong error messages in S2C tests of Java client
  • Date: Wed, 05 Feb 2014 11:02:08 +0000

Revision: 867
Author:

Date: Wed Feb 5 11:01:48 2014 UTC
Log: Fix issue with wrong error messages in S2C tests of Java client
http://code.google.com/p/ndt/source/detail?r=867

Modified:
/branches/applet_105/Applet/Tcpbw100.java

=======================================
--- /branches/applet_105/Applet/Tcpbw100.java Wed Oct 30 12:37:19 2013 UTC
+++ /branches/applet_105/Applet/Tcpbw100.java Wed Feb 5 11:01:48 2014 UTC
@@ -1976,7 +1976,7 @@
// server now sends a TEST_START message
if (paramProtoObj.recv_msg(msg) != NDTConstants.PROTOCOL_MSG_READ_SUCCESS) { // erroneous


// read/receive
- _sErrMsg =
_resBundDisplayMsgs.getString("unknownServer")
+ _sErrMsg =
_resBundDisplayMsgs.getString("protocolError")
+ Integer.parseInt(new
String(msg.getBody()), 16)
+ " instead\n";
return true;
@@ -1984,7 +1984,7 @@

if (msg.getType() != MessageType.TEST_START) { // no
other type of

// message expected
- _sErrMsg = _resBundDisplayMsgs.getString("serverFail")
+ "\n";
+ _sErrMsg =
_resBundDisplayMsgs.getString("inboundWrongMessage") + "\n";
if (msg.getType() == MessageType.MSG_ERROR) {
_sErrMsg += "ERROR MSG: "
+
Integer.parseInt(new String(msg.getBody()), 16)


  • [ndt-dev] [ndt] r867 committed - Fix issue with wrong error messages in S2C tests of Java client, ndt, 02/05/2014

Archive powered by MHonArc 2.6.16.

Top of Page