[Bash-completion-commits] [bash-completion] 02/03: (testsuite) Add ant -f <buildfile> test case

Ville Skyttä scop-guest at moszumanska.debian.org
Sun Jul 20 08:53:22 UTC 2014


This is an automated email from the git hooks/post-receive script.

scop-guest pushed a commit to branch master
in repository bash-completion.

commit 40db4831747a0a4f80fcb383c0c7b5398b327538
Author: Ville Skyttä <ville.skytta at iki.fi>
Date:   Sun Jul 20 11:33:31 2014 +0300

    (testsuite) Add ant -f <buildfile> test case
---
 test/fixtures/ant/named-build.xml | 6 ++++++
 test/lib/completions/ant.exp      | 4 ++++
 2 files changed, 10 insertions(+)

diff --git a/test/fixtures/ant/named-build.xml b/test/fixtures/ant/named-build.xml
new file mode 100644
index 0000000..e61386d
--- /dev/null
+++ b/test/fixtures/ant/named-build.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project basedir="." default="named-build" name="bash-completion">
+    <target name="named-build">
+        <!-- ... -->
+    </target>
+</project>
diff --git a/test/lib/completions/ant.exp b/test/lib/completions/ant.exp
index acff23e..fa07459 100644
--- a/test/lib/completions/ant.exp
+++ b/test/lib/completions/ant.exp
@@ -21,4 +21,8 @@ assert_complete_dir "bashcomp clean init realclean" "ant " $::srcdir/fixtures/an
 sync_after_int
 
 
+assert_complete_dir "named-build" "ant -f named-build.xml " $::srcdir/fixtures/ant
+sync_after_int
+
+
 teardown

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/bash-completion/bash-completion.git



More information about the Bash-completion-commits mailing list