]> git.mxchange.org Git - quix0rs-gnu-social.git/commit
Test cases for MediaFile::getUploadedFileType() with OpenOffice, MS Office, and PDF...
authorBrion Vibber <brion@pobox.com>
Mon, 10 May 2010 22:32:02 +0000 (15:32 -0700)
committerBrion Vibber <brion@pobox.com>
Mon, 28 Jun 2010 15:59:46 +0000 (08:59 -0700)
commit41d81b996fdd8276cc04e750297a12f852a97bf4
tree602dee18c6177ab86baeb157ec4a90e78eb46d02
parentef7e85c0ab79dcac5239aaee2e3f329588db6397
Test cases for MediaFile::getUploadedFileType() with OpenOffice, MS Office, and PDF sample files (as saved from OpenOffice 3.2)
Only 3 of 16 cases pass on my dev box with default config. Ouch!
18 files changed:
tests/MediaFileTest.php [new file with mode: 0644]
tests/sample-uploads/office.pdf [new file with mode: 0644]
tests/sample-uploads/presentation.odp [new file with mode: 0644]
tests/sample-uploads/presentation.otp [new file with mode: 0644]
tests/sample-uploads/presentation.pot [new file with mode: 0644]
tests/sample-uploads/presentation.potm [new file with mode: 0644]
tests/sample-uploads/presentation.ppt [new file with mode: 0644]
tests/sample-uploads/presentation.pptx [new file with mode: 0644]
tests/sample-uploads/spreadsheet.ods [new file with mode: 0644]
tests/sample-uploads/spreadsheet.ots [new file with mode: 0644]
tests/sample-uploads/spreadsheet.xls [new file with mode: 0644]
tests/sample-uploads/spreadsheet.xlsx [new file with mode: 0644]
tests/sample-uploads/spreadsheet.xlt [new file with mode: 0644]
tests/sample-uploads/wordproc.doc [new file with mode: 0644]
tests/sample-uploads/wordproc.docx [new file with mode: 0644]
tests/sample-uploads/wordproc.odt [new file with mode: 0644]
tests/sample-uploads/wordproc.ott [new file with mode: 0644]
tests/sample-uploads/wordproc.rtf [new file with mode: 0644]