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

Unified Diff: third_party/xdg-utils/tests/generic/t.no_arg

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/generic/t.manual ('k') | third_party/xdg-utils/tests/generic/t.version » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/xdg-utils/tests/generic/t.no_arg
===================================================================
--- third_party/xdg-utils/tests/generic/t.no_arg (revision 0)
+++ third_party/xdg-utils/tests/generic/t.no_arg (revision 0)
@@ -0,0 +1,25 @@
+#!/bin/bash
+
+. "$XDG_TEST_DIR/include/testassertions.sh"
+
+
+generic_no_arg() {
+test_start "$FUNCNAME: generic noarg - $XDGUTIL"
+test_purpose "Ensure that $XDGUTIL exits with an error and usage message when called without required arguments."
+
+# Dependencies section
+test_init
+
+assert_util_var
+set_no_display
+
+# Test steps section
+test_procedure
+
+assert_exit 1 "$XDGUTIL"
+assert_stdout
+assert_nostderr
+
+test_result
+}
+GENERIC_TEST="generic_no_arg"
Property changes on: third_party/xdg-utils/tests/generic/t.no_arg
___________________________________________________________________
Name: svn:executable
+ *
« no previous file with comments | « third_party/xdg-utils/tests/generic/t.manual ('k') | third_party/xdg-utils/tests/generic/t.version » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698