Chromium Code Reviews

Side by Side Diff: third_party/xdg-utils/tests/generic/t.bogus_arg

Issue 151098: Patch from mdm@google.com... (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/
Patch Set: Created 11 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | | Annotate | Revision Log
« no previous file with comments | « third_party/xdg-utils/tests/doc_gen.pl ('k') | third_party/xdg-utils/tests/generic/t.help » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Name: svn:executable
+ *
OLDNEW
(Empty)
1 #!/bin/bash
2
3 . "$XDG_TEST_DIR/include/testassertions.sh"
4
5
6 generic_bogus_arg() {
7 test_start "$FUNCNAME: generic bogus argument $XDGUTIL"
8 test_purpose "Ensure that $XDGUTIL exits with an error when called with an unsup ported argument."
9
10 # Dependencies section
11 test_init
12
13 assert_util_var
14 set_no_display
15
16 # Test steps section
17 test_procedure
18
19 assert_exit 1 "$XDGUTIL" "--fobar-bogus-arg"
20 assert_nostdout
21 assert_stderr
22
23 test_result
24 }
25 GENERIC_TEST="generic_bogus_arg"
OLDNEW
« no previous file with comments | « third_party/xdg-utils/tests/doc_gen.pl ('k') | third_party/xdg-utils/tests/generic/t.help » ('j') | no next file with comments »

Powered by Google App Engine