You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by sh...@apache.org on 2016/12/08 00:56:45 UTC

[02/12] cordova-plugin-dialogs git commit: Added test for [windows] CB-11281 when called without defaultText

Added test for [windows] CB-11281 when called without defaultText


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/commit/02a42425
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/tree/02a42425
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/diff/02a42425

Branch: refs/heads/1.3.x
Commit: 02a424255b601a64fc2c5d5c4f5ff4b31a0cd5c5
Parents: ece39a0
Author: Jesse MacFadyen <pu...@gmail.com>
Authored: Fri Sep 9 13:38:33 2016 -0700
Committer: Jesse MacFadyen <pu...@gmail.com>
Committed: Fri Sep 9 13:38:33 2016 -0700

----------------------------------------------------------------------
 tests/tests.js | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/blob/02a42425/tests/tests.js
----------------------------------------------------------------------
diff --git a/tests/tests.js b/tests/tests.js
index 7056c0d..fc1dea4 100644
--- a/tests/tests.js
+++ b/tests/tests.js
@@ -185,6 +185,10 @@ exports.defineManualTests = function (contentEl, createActionButton) {
         promptDialog('You pressed prompt.', 'Prompt Dialog', ['Yes', 'No', 'Maybe, Not Sure'],'Default Text');
     }, 'prompt');
 
+    createActionButton('Prompt Dialog - no default', function () {
+        promptDialog('You pressed prompt.', 'Prompt Dialog', ['Yes', 'No']);
+    }, 'prompt');    
+
     createActionButton('Built-in Alert Dialog', function () {
         if (typeof alert === 'function') {
             alert('You pressed alert');


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org