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

Side by Side Diff: third_party/xdg-utils/tests/xdg-email/t.10-email_basic

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. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
Property Changes:
Name: svn:executable
+ *
OLDNEW
(Empty)
1 #!/bin/bash
2
3 ## Include utility functions.
4 . "$XDG_TEST_DIR/include/testassertions.sh"
5 . "$XDG_TEST_DIR/include/testcontrol.sh"
6
7 ## Test function
8 test_email_basic() {
9 test_start "$FUNCNAME: verify basic email compose"
10
11 ADDR="$XDG_TEST_SHORTID@portland.freedesktop.org"
12
13 test_init
14
15 require_notroot
16 ## Require a running X server
17 assert_display
18
19 test_procedure
20
21 assert_exit 0 xdg-email "$PRE$ADDR"
22 assert_nostdout
23 assert_nostderr
24
25 assert_interactive "Did a new email open to '$ADDR' with only the to: field comp lete?" y
26 assert_interactive "Please close any email windows opened by the test." C
27
28 test_result
29 }
30
31 repeat_test test_email_basic 1 PRE "" "mailto:"
OLDNEW
« no previous file with comments | « third_party/xdg-utils/tests/xdg-email/t.00-apply_generic ('k') | third_party/xdg-utils/tests/xdg-email/t.12-email_cc_args » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698