Skip to Content.
Sympa Menu

ndt-dev - [ndt-dev] [ndt] r1121 committed - Make status messages a little more detailed.

Subject: NDT-DEV email list created

List archive

[ndt-dev] [ndt] r1121 committed - Make status messages a little more detailed.


Chronological Thread 
  • From:
  • To:
  • Subject: [ndt-dev] [ndt] r1121 committed - Make status messages a little more detailed.
  • Date: Fri, 11 Jul 2014 01:47:24 +0000

Revision: 1121
Author:

Date: Fri Jul 11 01:47:13 2014 UTC
Log: Make status messages a little more detailed.
http://code.google.com/p/ndt/source/detail?r=1121

Modified:
/branches/flash-scriptability/flash-client/src/NDTPController.as
/branches/flash-scriptability/flash-client/src/TestC2S.as
/branches/flash-scriptability/flash-client/src/TestMETA.as
/branches/flash-scriptability/flash-client/src/TestS2C.as

=======================================
--- /branches/flash-scriptability/flash-client/src/NDTPController.as Fri Jul 11 01:42:49 2014 UTC
+++ /branches/flash-scriptability/flash-client/src/NDTPController.as Fri Jul 11 01:47:13 2014 UTC
@@ -276,6 +276,7 @@

public function succeedNDTTest():void {
TestResults.ndt_test_results::ndtTestFailed = false;
+ TestResults.ndt_test_results::ndtTestStatus = "allTestsCompleted";
NDTUtils.callExternalFunction("allTestsCompleted");
TestResults.appendDebugMsg("<font color=\"#7CFC00\">"
+ "All the tests completed successfully." + "</font>");
=======================================
--- /branches/flash-scriptability/flash-client/src/TestC2S.as Fri Jun 20 08:55:01 2014 UTC
+++ /branches/flash-scriptability/flash-client/src/TestC2S.as Fri Jul 11 01:47:13 2014 UTC
@@ -87,7 +87,7 @@
TestResults.appendDebugMsg(ResourceManager.getInstance().getString(
NDTConstants.BUNDLE_NAME, "runningOutboundTest", null,
Main.locale));
- TestResults.ndt_test_results::ndtTestStatus = "runningOutboundTest";
+ TestResults.ndt_test_results::ndtTestStatus = "preparingOutboundTest";

addCtlSocketOnReceivedDataListener();
_msg = new Message();
@@ -316,6 +316,7 @@
// Record start time right before it starts sending data, to be as
// accurate as possible.
_c2sTestStartTime = getTimer();
+ TestResults.ndt_test_results::ndtTestStatus = "runningOutboundTest";

_testStage = SEND_DATA;
TestResults.appendDebugMsg("C2S test: SEND_DATA stage.");
@@ -503,7 +504,7 @@
null, Main.locale)
+ "</font>");
TestResults.ndt_test_results::c2sTestSuccess = _c2sTestSuccess;
- TestResults.ndt_test_results::ndtTestStatus = "done";
+ TestResults.ndt_test_results::ndtTestStatus = "finishedOutboundTest";
NDTUtils.callExternalFunction("testCompleted", "ClientToServerThroughput",
(!_c2sTestSuccess).toString());

=======================================
--- /branches/flash-scriptability/flash-client/src/TestMETA.as Fri Jun 20 08:55:01 2014 UTC
+++ /branches/flash-scriptability/flash-client/src/TestMETA.as Fri Jul 11 01:47:13 2014 UTC
@@ -305,7 +305,7 @@
NDTConstants.BUNDLE_NAME, "metaFailed", null, Main.locale)
+ "</font>");

- TestResults.ndt_test_results::ndtTestStatus = "done";
+ TestResults.ndt_test_results::ndtTestStatus = "submittedMetaInformation";
NDTUtils.callExternalFunction(
"testCompleted", "Meta", (!_metaTestSuccess).toString());

=======================================
--- /branches/flash-scriptability/flash-client/src/TestS2C.as Fri Jun 20 08:55:01 2014 UTC
+++ /branches/flash-scriptability/flash-client/src/TestS2C.as Fri Jul 11 01:47:13 2014 UTC
@@ -84,12 +84,12 @@
NDTConstants.BUNDLE_NAME, "startingTest", null, Main.locale) +
ResourceManager.getInstance().getString(
NDTConstants.BUNDLE_NAME, "s2cThroughput", null, Main.locale))
- NDTUtils.callExternalFunction("startTested", "ServerToClientThroughput");
+ NDTUtils.callExternalFunction("testStarted", "ServerToClientThroughput");
TestResults.appendDebugMsg("S2C test: PREPARE_TEST stage.");
TestResults.appendDebugMsg(
ResourceManager.getInstance().getString(
NDTConstants.BUNDLE_NAME, "runningInboundTest", null, Main.locale));
- TestResults.ndt_test_results::ndtTestStatus = "runningInboundTest";
+ TestResults.ndt_test_results::ndtTestStatus = "preparingInboundTest";

addCtlSocketOnReceivedDataListener();
_msg = new Message();
@@ -294,6 +294,7 @@
// Record start time right before it starts receiving data, to be as
// accurate as possible.
_s2cTestStartTime = getTimer();
+ TestResults.ndt_test_results::ndtTestStatus = "runningInboundTest";

_testStage = RECEIVE_DATA;
TestResults.appendDebugMsg("S2C test: RECEIVE_DATA stage.");
@@ -546,7 +547,7 @@
+ "</font>");

TestResults.ndt_test_results::s2cTestSuccess = _s2cTestSuccess;
- TestResults.ndt_test_results::ndtTestStatus = "done";
+ TestResults.ndt_test_results::ndtTestStatus = "finishedInboundTest";
NDTUtils.callExternalFunction(
"testCompleted", "ServerToClientThroughput",
(!_s2cTestSuccess).toString());


  • [ndt-dev] [ndt] r1121 committed - Make status messages a little more detailed., ndt, 07/11/2014

Archive powered by MHonArc 2.6.16.

Top of Page