From 5aa0b178e1912a14fac45d746f3d34aac5883a21 Mon Sep 17 00:00:00 2001 From: Joe McGill Date: Mon, 7 Jan 2019 20:52:35 +0000 Subject: [PATCH] Upload: Add test files for phpunit. This is a follow up to [44438], which missed adding the test files. See #45615. git-svn-id: https://develop.svn.wordpress.org/trunk@44439 602fd350-edb4-49c9-b593-d223f7449a82 --- tests/phpunit/data/uploads/test.csv | 16 +++ tests/phpunit/data/uploads/test.dfxp | 164 +++++++++++++++++++++++++++ tests/phpunit/data/uploads/test.rtf | 8 ++ tests/phpunit/data/uploads/test.tsv | 12 ++ tests/phpunit/data/uploads/test.vtt | 160 ++++++++++++++++++++++++++ 5 files changed, 360 insertions(+) create mode 100644 tests/phpunit/data/uploads/test.csv create mode 100644 tests/phpunit/data/uploads/test.dfxp create mode 100644 tests/phpunit/data/uploads/test.rtf create mode 100644 tests/phpunit/data/uploads/test.tsv create mode 100644 tests/phpunit/data/uploads/test.vtt diff --git a/tests/phpunit/data/uploads/test.csv b/tests/phpunit/data/uploads/test.csv new file mode 100644 index 0000000000..27ad333349 --- /dev/null +++ b/tests/phpunit/data/uploads/test.csv @@ -0,0 +1,16 @@ +"country","country group","name (en)","name (fr)","name (de)","latitude","longitude" +"at","eu","Austria","Autriche","Österreich","47.6965545","13.34598005" +"be","eu","Belgium","Belgique","Belgien","50.501045","4.47667405" +"bg","eu","Bulgaria","Bulgarie","Bulgarien","42.72567375","25.4823218" +"country","country group","name (en)","name (fr)","name (de)","latitude","longitude" +"at","eu","Austria","Autriche","Österreich","47.6965545","13.34598005" +"be","eu","Belgium","Belgique","Belgien","50.501045","4.47667405" +"bg","eu","Bulgaria","Bulgarie","Bulgarien","42.72567375","25.4823218" +"country","country group","name (en)","name (fr)","name (de)","latitude","longitude" +"at","eu","Austria","Autriche","Österreich","47.6965545","13.34598005" +"be","eu","Belgium","Belgique","Belgien","50.501045","4.47667405" +"bg","eu","Bulgaria","Bulgarie","Bulgarien","42.72567375","25.4823218" +"country","country group","name (en)","name (fr)","name (de)","latitude","longitude" +"at","eu","Austria","Autriche","Österreich","47.6965545","13.34598005" +"be","eu","Belgium","Belgique","Belgien","50.501045","4.47667405" +"bg","eu","Bulgaria","Bulgarie","Bulgarien","42.72567375","25.4823218" \ No newline at end of file diff --git a/tests/phpunit/data/uploads/test.dfxp b/tests/phpunit/data/uploads/test.dfxp new file mode 100644 index 0000000000..c3f7cde405 --- /dev/null +++ b/tests/phpunit/data/uploads/test.dfxp @@ -0,0 +1,164 @@ + + + + +