Repository: cordova-plugin-dialogs Updated Branches: refs/heads/master ece39a0ab -> 02a424255
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/master Commit: 02a424255b601a64fc2c5d5c4f5ff4b31a0cd5c5 Parents: ece39a0 Author: Jesse MacFadyen <[email protected]> Authored: Fri Sep 9 13:38:33 2016 -0700 Committer: Jesse MacFadyen <[email protected]> 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: [email protected] For additional commands, e-mail: [email protected]
