cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From purplecabb...@apache.org
Subject [1/2] git commit: added documentation for manual tests, moved background color test below overlay test
Date Tue, 19 Aug 2014 01:52:09 GMT
Repository: cordova-plugin-statusbar
Updated Branches:
  refs/heads/master d109b7ade -> 03fbd9ded


added documentation for manual tests, moved background color test below overlay test


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-statusbar/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-statusbar/commit/0d52e1bf
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-statusbar/tree/0d52e1bf
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-statusbar/diff/0d52e1bf

Branch: refs/heads/master
Commit: 0d52e1bf10101e6625bddc49579c7d0159fc4a73
Parents: 83697e5
Author: Edna Morales <ednamorales@ednas-mbp-2.raleigh.ibm.com>
Authored: Tue Jul 29 11:53:53 2014 -0400
Committer: Edna Morales <ednamorales@ednas-mbp-2.raleigh.ibm.com>
Committed: Tue Jul 29 11:53:53 2014 -0400

----------------------------------------------------------------------
 test/tests.js | 18 ++++++++++++------
 1 file changed, 12 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-statusbar/blob/0d52e1bf/test/tests.js
----------------------------------------------------------------------
diff --git a/test/tests.js b/test/tests.js
index e49ddb9..8b409ec 100644
--- a/test/tests.js
+++ b/test/tests.js
@@ -64,11 +64,17 @@ exports.defineManualTests = function (contentEl, createActionButton) {
     contentEl.innerHTML = '<div id="info"></div>' +
         'Also: tapping bar on iOS should emit a log.' +
         '<div id="action-show"></div>' +
-        '<div id="action-hide"></div>' +
-        '<div id="action-color1"></div>' +
-        '<div id="action-color2"></div>' +
-        '<div id="action-color3"></div>' +
-        '<div id="action-overlays"></div>';
+        'Expected result: Status bar will be visible' +
+        '</p> <div id="action-hide"></div>' +
+        'Expected result: Status bar will be hidden' +
+        '</p> <div id="action-color2"></div>' +
+        'Expected result: Status bar text will be a light (white) color' +
+        '</p> <div id="action-color3"></div>' +
+        'Expected result: Status bar text will be a dark (black) color' +
+        '</p> <div id="action-overlays"></div>' +
+        'Expected result:<br>Overlay true = status bar will lay on top of web view
content<br>Overlay false = status bar will be separate from web view and will not cover
content' +
+        '</p> <div id="action-color1"></div>' +
+        'Expected result: If overlay false, background color for status bar will be red';
 
     log('StatusBar.isVisible=' + StatusBar.isVisible);
     window.addEventListener('statusTap', function () {
@@ -83,7 +89,7 @@ exports.defineManualTests = function (contentEl, createActionButton) {
         doHide();
     }, 'action-hide');
 
-    createActionButton("Style=red", function () {
+    createActionButton("Style=red (background)", function () {
         doColor1();
     }, 'action-color1');
 


Mime
View raw message