Skip to Content.
Sympa Menu

ndt-dev - [ndt-dev] [ndt] r923 committed - Fixed code formatting and changed text color in FlashIssue116

Subject: NDT-DEV email list created

List archive

[ndt-dev] [ndt] r923 committed - Fixed code formatting and changed text color in FlashIssue116


Chronological Thread 
  • From:
  • To:
  • Subject: [ndt-dev] [ndt] r923 committed - Fixed code formatting and changed text color in FlashIssue116
  • Date: Mon, 17 Feb 2014 11:18:10 +0000

Revision: 923
Author:

Date: Mon Feb 17 11:17:57 2014 UTC
Log: Fixed code formatting and changed text color in FlashIssue116

http://code.google.com/p/ndt/source/detail?r=923

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

=======================================
--- /branches/FlashIssue116/flash-client/src/NDTPController.as Thu Feb 13 10:01:00 2014 UTC
+++ /branches/FlashIssue116/flash-client/src/NDTPController.as Mon Feb 17 11:17:57 2014 UTC
@@ -228,7 +228,8 @@
public function succeedNDTTest():void {
TestResults.ndt_test_results::ndtTestFailed = false;
NDTUtils.callExternalFunction("allTestsCompleted");
- TestResults.appendDebugMsg("<font color=\"#006400\">" + "All the tests completed successfully." + "</font>");
+ TestResults.appendDebugMsg("<font color=\"#7CFC00\">"
+ + "All the tests completed successfully." + "</font>");
finishNDTTest();
}

=======================================
--- /branches/FlashIssue116/flash-client/src/TestC2S.as Thu Feb 13 10:01:00 2014 UTC
+++ /branches/FlashIssue116/flash-client/src/TestC2S.as Mon Feb 17 11:17:57 2014 UTC
@@ -423,12 +423,15 @@
TestResults.appendDebugMsg(
ResourceManager.getInstance().getString(
NDTConstants.BUNDLE_NAME, "c2sThroughput", null, Main.locale)
- + " test <font color=\"#006400\"><b>" + ResourceManager.getInstance().getString(
- NDTConstants.BUNDLE_NAME, "done", null, Main.locale) + "</b></font><br>");
+ + " test <font color=\"#7CFC00\"><b>"
+ + ResourceManager.getInstance().getString(
+ NDTConstants.BUNDLE_NAME, "done", null, Main.locale)
+ + "</b></font><br>");
else
- TestResults.appendDebugMsg("<font color=\"#FE9A2E\">" +
- ResourceManager.getInstance().getString(
- NDTConstants.BUNDLE_NAME, "c2sThroughputFailed", null, Main.locale) + "</font>");
+ TestResults.appendDebugMsg("<font color=\"#FE9A2E\">"
+ + ResourceManager.getInstance().getString(
+ NDTConstants.BUNDLE_NAME, "c2sThroughputFailed", null, Main.locale)
+ + "</font>");
TestResults.ndt_test_results::c2sTestSuccess = _c2sTestSuccess;
TestResults.ndt_test_results::ndtTestStatus = "done";
NDTUtils.callExternalFunction("testCompleted", "ClientToServerThroughput",
=======================================
--- /branches/FlashIssue116/flash-client/src/TestMETA.as Thu Feb 13 10:01:00 2014 UTC
+++ /branches/FlashIssue116/flash-client/src/TestMETA.as Mon Feb 17 11:17:57 2014 UTC
@@ -241,8 +241,10 @@
TestResults.appendDebugMsg(
ResourceManager.getInstance().getString(
NDTConstants.BUNDLE_NAME, "meta", null, Main.locale)
- + " test <font color=\"#006400\"><b>" + ResourceManager.getInstance().getString(
- NDTConstants.BUNDLE_NAME, "done", null, Main.locale) + "</b></font><br>");
+ + " test <font color=\"#7CFC00\"><b>"
+ + ResourceManager.getInstance().getString(
+ NDTConstants.BUNDLE_NAME, "done", null, Main.locale)
+ + "</b></font><br>");
else
TestResults.appendDebugMsg("<font color=\"#FE9A2E\">" +
ResourceManager.getInstance().getString(
=======================================
--- /branches/FlashIssue116/flash-client/src/TestResults.as Thu Feb 13 10:01:00 2014 UTC
+++ /branches/FlashIssue116/flash-client/src/TestResults.as Mon Feb 17 11:17:57 2014 UTC
@@ -89,7 +89,9 @@
if (!CONFIG::debug) {
return;
}
- var formattedMsg:String = "<font size=\"12\">" + (new Date().toUTCString()) + ": " + "</font>" + msg + "\n";
+ var formattedMsg:String = "<font size=\"12\">"
+ + (new Date().toUTCString()) + ": "
+ + "</font>" + msg + "\n";
_debugMsg += formattedMsg;
NDTUtils.callExternalFunction("appendDebugOutput", msg);
// _ndtTestStartTime > 0 ensures the console window has been created.
=======================================
--- /branches/FlashIssue116/flash-client/src/TestS2C.as Thu Feb 13 10:01:00 2014 UTC
+++ /branches/FlashIssue116/flash-client/src/TestS2C.as Mon Feb 17 11:17:57 2014 UTC
@@ -490,12 +490,15 @@
TestResults.appendDebugMsg(
ResourceManager.getInstance().getString(
NDTConstants.BUNDLE_NAME, "s2cThroughput", null, Main.locale)
- + " test <font color=\"#006400\"><b>" + ResourceManager.getInstance().getString(
- NDTConstants.BUNDLE_NAME, "done", null, Main.locale) + "</b></font><br>");
+ + " test <font color=\"#7CFC00\"><b>"
+ + ResourceManager.getInstance().getString(
+ NDTConstants.BUNDLE_NAME, "done", null, Main.locale)
+ + "</b></font><br>");
else
TestResults.appendDebugMsg("<font color=\"#FE9A2E\">" +
ResourceManager.getInstance().getString(
- NDTConstants.BUNDLE_NAME, "s2cThroughputFailed", null, Main.locale) + "</font>");
+ NDTConstants.BUNDLE_NAME, "s2cThroughputFailed", null, Main.locale)
+ + "</font>");

TestResults.ndt_test_results::s2cTestSuccess = _s2cTestSuccess;
TestResults.ndt_test_results::ndtTestStatus = "done";


  • [ndt-dev] [ndt] r923 committed - Fixed code formatting and changed text color in FlashIssue116, ndt, 02/17/2014

Archive powered by MHonArc 2.6.16.

Top of Page