cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From marc...@apache.org
Subject git commit: CB-6724 added documentation for manual tests
Date Tue, 19 Aug 2014 14:52:25 GMT
Repository: cordova-plugin-network-information
Updated Branches:
  refs/heads/master edaf8532e -> aed63c8ff


CB-6724 added documentation for manual tests

github: close #17


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-network-information/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-network-information/commit/aed63c8f
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-network-information/tree/aed63c8f
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-network-information/diff/aed63c8f

Branch: refs/heads/master
Commit: aed63c8ffe06dcf620bbf73e1e3bd6ba1f4b38f5
Parents: edaf853
Author: Edna Morales <ednamorales@ednas-mbp-2.raleigh.ibm.com>
Authored: Mon Jul 28 16:58:13 2014 -0400
Committer: Marcel Kinard <cmarcelk@gmail.com>
Committed: Tue Aug 19 10:49:03 2014 -0400

----------------------------------------------------------------------
 tests/tests.js | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-network-information/blob/aed63c8f/tests/tests.js
----------------------------------------------------------------------
diff --git a/tests/tests.js b/tests/tests.js
index 26163b6..23be97a 100644
--- a/tests/tests.js
+++ b/tests/tests.js
@@ -82,7 +82,10 @@ exports.defineManualTests = function (contentEl, createActionButton) {
     var html = '<div id="info">' +
         '<b>Results:</b><br>' +
         '<span id="results"></span>' +
-        '</div><div id="actions"></div>';
+        '</div><div id="connection"></div>' +
+        'Expected result: Status box will update with type of connection using two different
methods. Both values must match.' +
+        '  The result will be unknown, ethernet, wifi, 2g, 3g, 4g, none, or cellular. Make
sure it matches what the device is connected to.' +
+        '</p> <div id="actions"></div>';
 
     document.addEventListener("online", onEvent, false);
     document.addEventListener("offline", onEvent, false);
@@ -90,7 +93,7 @@ exports.defineManualTests = function (contentEl, createActionButton) {
 
     createActionButton('Show Network Connection', function () {
         printNetwork();
-    }, 'actions');
+    }, 'connection');
 
     createActionButton('Clear Log', function () {
         document.getElementById('results').innerHTML = '';


Mime
View raw message