Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Unified Diff: third_party/xdg-utils/tests/debug/t.interactive

Issue 151098: Patch from mdm@google.com... (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/
Patch Set: Created 11 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/xdg-utils/tests/debug/t.failoverride ('k') | third_party/xdg-utils/tests/debug/t.nodisplay » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/xdg-utils/tests/debug/t.interactive
===================================================================
--- third_party/xdg-utils/tests/debug/t.interactive (revision 0)
+++ third_party/xdg-utils/tests/debug/t.interactive (revision 0)
@@ -0,0 +1,20 @@
+#!/bin/bash
+
+. "$XDG_TEST_DIR/include/testassertions.sh"
+. "$XDG_TEST_DIR/include/testcontrol.sh"
+
+test_interactive() {
+test_start "$FUNCNAME: verify functionallity of assert_interactive"
+
+test_procedure
+
+assert_interactive "Enter 'y'" y
+assert_interactive "Enter 'n'" n
+assert_interactive "neg Enter 'y'" n
+assert_interactive "neg Enter 'n'" y
+assert_interactive "Wait"
+
+test_result
+}
+
+run_test test_interactive
Property changes on: third_party/xdg-utils/tests/debug/t.interactive
___________________________________________________________________
Name: svn:executable
+ *
« no previous file with comments | « third_party/xdg-utils/tests/debug/t.failoverride ('k') | third_party/xdg-utils/tests/debug/t.nodisplay » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698