Skip to Content.
Sympa Menu

ndt-dev - [ndt-dev] [ndt] r1293 committed - Incorporated Nathans code into a SVN branch.

Subject: NDT-DEV email list created

List archive

[ndt-dev] [ndt] r1293 committed - Incorporated Nathans code into a SVN branch.


Chronological Thread 
  • From:
  • To:
  • Subject: [ndt-dev] [ndt] r1293 committed - Incorporated Nathans code into a SVN branch.
  • Date: Tue, 31 Mar 2015 21:53:07 +0000

Revision: 1293
Author:

Date: Tue Mar 31 21:52:56 2015 UTC
Log: Incorporated Nathans code into a SVN branch.
https://code.google.com/p/ndt/source/detail?r=1293

Modified:
/branches/extra_javascript_vars/flash-client/src/GUI.as
/branches/extra_javascript_vars/flash-client/src/NDTPController.as
/branches/extra_javascript_vars/flash-client/src/TestResults.as
/branches/extra_javascript_vars/flash-client/src/TestResultsUtils.as

=======================================
--- /branches/extra_javascript_vars/flash-client/src/GUI.as Thu Nov 13 10:13:56 2014 UTC
+++ /branches/extra_javascript_vars/flash-client/src/GUI.as Tue Mar 31 21:52:56 2015 UTC
@@ -155,6 +155,8 @@
if (Main.bad_runtime_action != NDTConstants.ENV_OK) {
this.addChild(_badRuntimeMessage);
TestResults.appendDebugMsg("Bad Runtime detected");
+ TestResults.ndt_test_results::ndtBadRuntime = "true";
+ TestResults.ndt_test_results::ndtGuiMsg = NDTConstants.BAD_ENV_MESG;
}
if (Main.bad_runtime_action != NDTConstants.BAD_ENV_ERROR) {
this.addChild(_startButton);
=======================================
--- /branches/extra_javascript_vars/flash-client/src/NDTPController.as Tue Nov 4 15:27:14 2014 UTC
+++ /branches/extra_javascript_vars/flash-client/src/NDTPController.as Tue Mar 31 21:52:56 2015 UTC
@@ -83,6 +83,7 @@
if (Main.bad_runtime_action == NDTConstants.BAD_ENV_ERROR) {
failNDTTest();
TestResults.appendErrMsg(NDTConstants.BAD_ENV_MESG);
+ TestResults.ndt_test_results::ndtGuiErrMsg = NDTConstants.BAD_ENV_MESG;
return;
}
}
@@ -298,6 +299,7 @@
public function succeedNDTTest():void {
TestResults.ndt_test_results::ndtTestFailed = false;
NDTUtils.callExternalFunction("allTestsCompleted");
+ TestResults.ndt_test_results::ndtTestStatus = "allTestsCompleted";
TestResults.appendDebugMsg("<font color=\"#7CFC00\">"
+ "All the tests completed successfully." + "</font>");
finishNDTTest();
=======================================
--- /branches/extra_javascript_vars/flash-client/src/TestResults.as Wed Jun 18 06:12:24 2014 UTC
+++ /branches/extra_javascript_vars/flash-client/src/TestResults.as Tue Mar 31 21:52:56 2015 UTC
@@ -36,6 +36,8 @@
// Valid only when ndtTestFailed == false.
ndt_test_results static var ndtTestStatus:String = "notStarted";
ndt_test_results static var ndtErrStatus:String = "Test not run.";
+ ndt_test_results static var ndtGuiMsg:String = "";
+ ndt_test_results static var ndtBadRuntime:String = "false";
ndt_test_results static var ndtTestFailed:Boolean = false;
ndt_test_results static var c2sSpeed:Number = 0.0;
ndt_test_results static var s2cSpeed:Number = 0.0;
=======================================
--- /branches/extra_javascript_vars/flash-client/src/TestResultsUtils.as Mon Nov 24 07:51:30 2014 UTC
+++ /branches/extra_javascript_vars/flash-client/src/TestResultsUtils.as Tue Mar 31 21:52:56 2015 UTC
@@ -114,6 +114,10 @@
return String(TestResults.ndtVariables[NDTConstants.MAXRWINRCVD] * NDTConstants.KBITS2BITS);
case NDTConstants.ACCESS_TECH:
return TestResults.ndt_test_results::accessTech;
+ case "BadRuntime":
+ return TestResults.ndt_test_results::ndtBadRuntime;
+ case "GuiMessage":
+ return TestResults.ndt_test_results::ndtGuiMsg;
default:
if (varName in TestResults.ndtVariables) {
return TestResults.ndtVariables[varName].toString();


  • [ndt-dev] [ndt] r1293 committed - Incorporated Nathans code into a SVN branch., ndt, 03/31/2015

Archive powered by MHonArc 2.6.16.

Top of Page