diff options
author | Alyx Wolcott <alyx@malkier.net> | 2019-06-03 00:12:56 +0000 |
---|---|---|
committer | Alyx Wolcott <alyx@malkier.net> | 2019-06-03 00:12:56 +0000 |
commit | 34e23698a76668af8f4895c6b0c1e2f12322051c (patch) | |
tree | 9efdc631726a2b7ae74e3234f9d3c0721f4948f3 /user/ant/imageio_fix_test.patch | |
parent | 0ee2191bdaf224bcc5c9bd4cfd3e42e0fe5fed16 (diff) | |
download | packages-34e23698a76668af8f4895c6b0c1e2f12322051c.tar.gz packages-34e23698a76668af8f4895c6b0c1e2f12322051c.tar.bz2 packages-34e23698a76668af8f4895c6b0c1e2f12322051c.tar.xz packages-34e23698a76668af8f4895c6b0c1e2f12322051c.zip |
New package: ant
Diffstat (limited to 'user/ant/imageio_fix_test.patch')
-rw-r--r-- | user/ant/imageio_fix_test.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/user/ant/imageio_fix_test.patch b/user/ant/imageio_fix_test.patch new file mode 100644 index 000000000..ad3cc3e67 --- /dev/null +++ b/user/ant/imageio_fix_test.patch @@ -0,0 +1,23 @@ +diff --git a/src/etc/testcases/taskdefs/optional/image/imageio.xml b/src/etc/testcases/taskdefs/optional/image/imageio.xml +index a7d6a23..0f0318b 100644 +--- a/src/etc/testcases/taskdefs/optional/image/imageio.xml ++++ b/src/etc/testcases/taskdefs/optional/image/imageio.xml +@@ -59,18 +59,6 @@ + </imageio> + </target> + +- <!-- this should produce a single file in the dest dir, overwriting any existing file --> +- <target name="testDrawOverwriteTrue" depends="setUp"> +- <imageio includes="*.jpg" srcdir="${src.dir}" destdir="${output}" +- overwrite="yes" failonerror="no"> +- <scale width="300" proportions="width"/> +- <draw xloc="10" yloc="10"> +- <rectangle height="50" width="50" strokewidth="2"/> +- <text string="Test"/> +- </draw> +- </imageio> +- </target> +- + <!-- this should not overwrite the existing file --> + <target name="testOverwriteFalse" depends="setUp"> + <imageio includes="*.jpg" srcdir="${src.dir}" destdir="${output}" |