]> source.dussan.org Git - nextcloud-server.git/commitdiff
adding test for binary file to test \OC_Helper::streamCopy()
authorThomas Mueller <thomas.mueller@tmit.eu>
Mon, 4 Nov 2013 16:19:04 +0000 (17:19 +0100)
committerThomas Mueller <thomas.mueller@tmit.eu>
Mon, 4 Nov 2013 16:19:04 +0000 (17:19 +0100)
tests/lib/helper.php

index c548631ac16f84944bf57a825ad11dbae4055210..4311215795cfcf8f085e3b0a2bb969e40dd870b3 100644 (file)
@@ -240,6 +240,7 @@ class Test_Helper extends PHPUnit_Framework_TestCase {
                        array(0, false, false, false),
                        array(0, false, \OC::$SERVERROOT . '/tests/data/lorem.txt', false),
                        array(filesize(\OC::$SERVERROOT . '/tests/data/lorem.txt'), true, \OC::$SERVERROOT . '/tests/data/lorem.txt', \OC::$SERVERROOT . '/tests/data/lorem-copy.txt'),
+                       array(3670, true, \OC::$SERVERROOT . '/tests/data/testimage.png', \OC::$SERVERROOT . '/tests/data/testimage-copy.png'),
                );
        }
 }