diff --git a/phpunit.xml.dist b/phpunit.xml.dist index b3897a83..05b08442 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -1,6 +1,6 @@ - ./test/PhpWord/ + ./tests/PhpWord/ diff --git a/test/PhpWord/Tests/AutoloaderTest.php b/tests/PhpWord/Tests/AutoloaderTest.php similarity index 100% rename from test/PhpWord/Tests/AutoloaderTest.php rename to tests/PhpWord/Tests/AutoloaderTest.php diff --git a/test/PhpWord/Tests/DocumentPropertiesTest.php b/tests/PhpWord/Tests/DocumentPropertiesTest.php similarity index 100% rename from test/PhpWord/Tests/DocumentPropertiesTest.php rename to tests/PhpWord/Tests/DocumentPropertiesTest.php diff --git a/test/PhpWord/Tests/Exceptions/ExceptionTest.php b/tests/PhpWord/Tests/Exceptions/ExceptionTest.php similarity index 100% rename from test/PhpWord/Tests/Exceptions/ExceptionTest.php rename to tests/PhpWord/Tests/Exceptions/ExceptionTest.php diff --git a/test/PhpWord/Tests/Exceptions/InvalidImageExceptionTest.php b/tests/PhpWord/Tests/Exceptions/InvalidImageExceptionTest.php similarity index 100% rename from test/PhpWord/Tests/Exceptions/InvalidImageExceptionTest.php rename to tests/PhpWord/Tests/Exceptions/InvalidImageExceptionTest.php diff --git a/test/PhpWord/Tests/Exceptions/InvalidStyleExceptionTest.php b/tests/PhpWord/Tests/Exceptions/InvalidStyleExceptionTest.php similarity index 100% rename from test/PhpWord/Tests/Exceptions/InvalidStyleExceptionTest.php rename to tests/PhpWord/Tests/Exceptions/InvalidStyleExceptionTest.php diff --git a/test/PhpWord/Tests/Exceptions/UnsupportedImageTypeExceptionTest.php b/tests/PhpWord/Tests/Exceptions/UnsupportedImageTypeExceptionTest.php similarity index 100% rename from test/PhpWord/Tests/Exceptions/UnsupportedImageTypeExceptionTest.php rename to tests/PhpWord/Tests/Exceptions/UnsupportedImageTypeExceptionTest.php diff --git a/test/PhpWord/Tests/IOFactoryTest.php b/tests/PhpWord/Tests/IOFactoryTest.php similarity index 100% rename from test/PhpWord/Tests/IOFactoryTest.php rename to tests/PhpWord/Tests/IOFactoryTest.php diff --git a/test/PhpWord/Tests/MediaTest.php b/tests/PhpWord/Tests/MediaTest.php similarity index 100% rename from test/PhpWord/Tests/MediaTest.php rename to tests/PhpWord/Tests/MediaTest.php diff --git a/test/PhpWord/Tests/PhpWordTest.php b/tests/PhpWord/Tests/PhpWordTest.php similarity index 100% rename from test/PhpWord/Tests/PhpWordTest.php rename to tests/PhpWord/Tests/PhpWordTest.php diff --git a/test/PhpWord/Tests/Reader/Word2007Test.php b/tests/PhpWord/Tests/Reader/Word2007Test.php similarity index 100% rename from test/PhpWord/Tests/Reader/Word2007Test.php rename to tests/PhpWord/Tests/Reader/Word2007Test.php diff --git a/test/PhpWord/Tests/Section/Footer/PreserveTextTest.php b/tests/PhpWord/Tests/Section/Footer/PreserveTextTest.php similarity index 100% rename from test/PhpWord/Tests/Section/Footer/PreserveTextTest.php rename to tests/PhpWord/Tests/Section/Footer/PreserveTextTest.php diff --git a/test/PhpWord/Tests/Section/FooterTest.php b/tests/PhpWord/Tests/Section/FooterTest.php similarity index 100% rename from test/PhpWord/Tests/Section/FooterTest.php rename to tests/PhpWord/Tests/Section/FooterTest.php diff --git a/test/PhpWord/Tests/Section/FootnoteTest.php b/tests/PhpWord/Tests/Section/FootnoteTest.php similarity index 100% rename from test/PhpWord/Tests/Section/FootnoteTest.php rename to tests/PhpWord/Tests/Section/FootnoteTest.php diff --git a/test/PhpWord/Tests/Section/HeaderTest.php b/tests/PhpWord/Tests/Section/HeaderTest.php similarity index 100% rename from test/PhpWord/Tests/Section/HeaderTest.php rename to tests/PhpWord/Tests/Section/HeaderTest.php diff --git a/test/PhpWord/Tests/Section/ImageTest.php b/tests/PhpWord/Tests/Section/ImageTest.php similarity index 100% rename from test/PhpWord/Tests/Section/ImageTest.php rename to tests/PhpWord/Tests/Section/ImageTest.php diff --git a/test/PhpWord/Tests/Section/LinkTest.php b/tests/PhpWord/Tests/Section/LinkTest.php similarity index 100% rename from test/PhpWord/Tests/Section/LinkTest.php rename to tests/PhpWord/Tests/Section/LinkTest.php diff --git a/test/PhpWord/Tests/Section/ListItemTest.php b/tests/PhpWord/Tests/Section/ListItemTest.php similarity index 100% rename from test/PhpWord/Tests/Section/ListItemTest.php rename to tests/PhpWord/Tests/Section/ListItemTest.php diff --git a/test/PhpWord/Tests/Section/MemoryImageTest.php b/tests/PhpWord/Tests/Section/MemoryImageTest.php similarity index 100% rename from test/PhpWord/Tests/Section/MemoryImageTest.php rename to tests/PhpWord/Tests/Section/MemoryImageTest.php diff --git a/test/PhpWord/Tests/Section/ObjectTest.php b/tests/PhpWord/Tests/Section/ObjectTest.php similarity index 100% rename from test/PhpWord/Tests/Section/ObjectTest.php rename to tests/PhpWord/Tests/Section/ObjectTest.php diff --git a/test/PhpWord/Tests/Section/PageBreakTest.php b/tests/PhpWord/Tests/Section/PageBreakTest.php similarity index 100% rename from test/PhpWord/Tests/Section/PageBreakTest.php rename to tests/PhpWord/Tests/Section/PageBreakTest.php diff --git a/test/PhpWord/Tests/Section/SettingsTest.php b/tests/PhpWord/Tests/Section/SettingsTest.php similarity index 100% rename from test/PhpWord/Tests/Section/SettingsTest.php rename to tests/PhpWord/Tests/Section/SettingsTest.php diff --git a/test/PhpWord/Tests/Section/Table/CellTest.php b/tests/PhpWord/Tests/Section/Table/CellTest.php similarity index 100% rename from test/PhpWord/Tests/Section/Table/CellTest.php rename to tests/PhpWord/Tests/Section/Table/CellTest.php diff --git a/test/PhpWord/Tests/Section/Table/RowTest.php b/tests/PhpWord/Tests/Section/Table/RowTest.php similarity index 100% rename from test/PhpWord/Tests/Section/Table/RowTest.php rename to tests/PhpWord/Tests/Section/Table/RowTest.php diff --git a/test/PhpWord/Tests/Section/TableTest.php b/tests/PhpWord/Tests/Section/TableTest.php similarity index 100% rename from test/PhpWord/Tests/Section/TableTest.php rename to tests/PhpWord/Tests/Section/TableTest.php diff --git a/test/PhpWord/Tests/Section/TextBreakTest.php b/tests/PhpWord/Tests/Section/TextBreakTest.php similarity index 100% rename from test/PhpWord/Tests/Section/TextBreakTest.php rename to tests/PhpWord/Tests/Section/TextBreakTest.php diff --git a/test/PhpWord/Tests/Section/TextRunTest.php b/tests/PhpWord/Tests/Section/TextRunTest.php similarity index 100% rename from test/PhpWord/Tests/Section/TextRunTest.php rename to tests/PhpWord/Tests/Section/TextRunTest.php diff --git a/test/PhpWord/Tests/Section/TextTest.php b/tests/PhpWord/Tests/Section/TextTest.php similarity index 100% rename from test/PhpWord/Tests/Section/TextTest.php rename to tests/PhpWord/Tests/Section/TextTest.php diff --git a/test/PhpWord/Tests/Section/TitleTest.php b/tests/PhpWord/Tests/Section/TitleTest.php similarity index 100% rename from test/PhpWord/Tests/Section/TitleTest.php rename to tests/PhpWord/Tests/Section/TitleTest.php diff --git a/test/PhpWord/Tests/SectionTest.php b/tests/PhpWord/Tests/SectionTest.php similarity index 100% rename from test/PhpWord/Tests/SectionTest.php rename to tests/PhpWord/Tests/SectionTest.php diff --git a/test/PhpWord/Tests/SettingsTest.php b/tests/PhpWord/Tests/SettingsTest.php similarity index 100% rename from test/PhpWord/Tests/SettingsTest.php rename to tests/PhpWord/Tests/SettingsTest.php diff --git a/test/PhpWord/Tests/Shared/DrawingTest.php b/tests/PhpWord/Tests/Shared/DrawingTest.php similarity index 100% rename from test/PhpWord/Tests/Shared/DrawingTest.php rename to tests/PhpWord/Tests/Shared/DrawingTest.php diff --git a/test/PhpWord/Tests/Shared/FileTest.php b/tests/PhpWord/Tests/Shared/FileTest.php similarity index 100% rename from test/PhpWord/Tests/Shared/FileTest.php rename to tests/PhpWord/Tests/Shared/FileTest.php diff --git a/test/PhpWord/Tests/Shared/FontTest.php b/tests/PhpWord/Tests/Shared/FontTest.php similarity index 100% rename from test/PhpWord/Tests/Shared/FontTest.php rename to tests/PhpWord/Tests/Shared/FontTest.php diff --git a/test/PhpWord/Tests/Shared/StringTest.php b/tests/PhpWord/Tests/Shared/StringTest.php similarity index 100% rename from test/PhpWord/Tests/Shared/StringTest.php rename to tests/PhpWord/Tests/Shared/StringTest.php diff --git a/test/PhpWord/Tests/Style/CellTest.php b/tests/PhpWord/Tests/Style/CellTest.php similarity index 100% rename from test/PhpWord/Tests/Style/CellTest.php rename to tests/PhpWord/Tests/Style/CellTest.php diff --git a/test/PhpWord/Tests/Style/FontTest.php b/tests/PhpWord/Tests/Style/FontTest.php similarity index 100% rename from test/PhpWord/Tests/Style/FontTest.php rename to tests/PhpWord/Tests/Style/FontTest.php diff --git a/test/PhpWord/Tests/Style/ImageTest.php b/tests/PhpWord/Tests/Style/ImageTest.php similarity index 100% rename from test/PhpWord/Tests/Style/ImageTest.php rename to tests/PhpWord/Tests/Style/ImageTest.php diff --git a/test/PhpWord/Tests/Style/ListItemTest.php b/tests/PhpWord/Tests/Style/ListItemTest.php similarity index 100% rename from test/PhpWord/Tests/Style/ListItemTest.php rename to tests/PhpWord/Tests/Style/ListItemTest.php diff --git a/test/PhpWord/Tests/Style/ParagraphTest.php b/tests/PhpWord/Tests/Style/ParagraphTest.php similarity index 100% rename from test/PhpWord/Tests/Style/ParagraphTest.php rename to tests/PhpWord/Tests/Style/ParagraphTest.php diff --git a/test/PhpWord/Tests/Style/RowTest.php b/tests/PhpWord/Tests/Style/RowTest.php similarity index 100% rename from test/PhpWord/Tests/Style/RowTest.php rename to tests/PhpWord/Tests/Style/RowTest.php diff --git a/test/PhpWord/Tests/Style/TOCTest.php b/tests/PhpWord/Tests/Style/TOCTest.php similarity index 100% rename from test/PhpWord/Tests/Style/TOCTest.php rename to tests/PhpWord/Tests/Style/TOCTest.php diff --git a/test/PhpWord/Tests/Style/TableFullTest.php b/tests/PhpWord/Tests/Style/TableFullTest.php similarity index 100% rename from test/PhpWord/Tests/Style/TableFullTest.php rename to tests/PhpWord/Tests/Style/TableFullTest.php diff --git a/test/PhpWord/Tests/Style/TableTest.php b/tests/PhpWord/Tests/Style/TableTest.php similarity index 100% rename from test/PhpWord/Tests/Style/TableTest.php rename to tests/PhpWord/Tests/Style/TableTest.php diff --git a/test/PhpWord/Tests/Style/TabsTest.php b/tests/PhpWord/Tests/Style/TabsTest.php similarity index 100% rename from test/PhpWord/Tests/Style/TabsTest.php rename to tests/PhpWord/Tests/Style/TabsTest.php diff --git a/test/PhpWord/Tests/StyleTest.php b/tests/PhpWord/Tests/StyleTest.php similarity index 100% rename from test/PhpWord/Tests/StyleTest.php rename to tests/PhpWord/Tests/StyleTest.php diff --git a/test/PhpWord/Tests/TOCTest.php b/tests/PhpWord/Tests/TOCTest.php similarity index 100% rename from test/PhpWord/Tests/TOCTest.php rename to tests/PhpWord/Tests/TOCTest.php diff --git a/test/PhpWord/Tests/TemplateTest.php b/tests/PhpWord/Tests/TemplateTest.php similarity index 100% rename from test/PhpWord/Tests/TemplateTest.php rename to tests/PhpWord/Tests/TemplateTest.php diff --git a/test/PhpWord/Tests/Writer/ODText/ContentTest.php b/tests/PhpWord/Tests/Writer/ODText/ContentTest.php similarity index 100% rename from test/PhpWord/Tests/Writer/ODText/ContentTest.php rename to tests/PhpWord/Tests/Writer/ODText/ContentTest.php diff --git a/test/PhpWord/Tests/Writer/ODText/WriterPartTest.php b/tests/PhpWord/Tests/Writer/ODText/WriterPartTest.php similarity index 100% rename from test/PhpWord/Tests/Writer/ODText/WriterPartTest.php rename to tests/PhpWord/Tests/Writer/ODText/WriterPartTest.php diff --git a/test/PhpWord/Tests/Writer/ODTextTest.php b/tests/PhpWord/Tests/Writer/ODTextTest.php similarity index 100% rename from test/PhpWord/Tests/Writer/ODTextTest.php rename to tests/PhpWord/Tests/Writer/ODTextTest.php diff --git a/test/PhpWord/Tests/Writer/RTFTest.php b/tests/PhpWord/Tests/Writer/RTFTest.php similarity index 100% rename from test/PhpWord/Tests/Writer/RTFTest.php rename to tests/PhpWord/Tests/Writer/RTFTest.php diff --git a/test/PhpWord/Tests/Writer/Word2007/BaseTest.php b/tests/PhpWord/Tests/Writer/Word2007/BaseTest.php similarity index 100% rename from test/PhpWord/Tests/Writer/Word2007/BaseTest.php rename to tests/PhpWord/Tests/Writer/Word2007/BaseTest.php diff --git a/test/PhpWord/Tests/Writer/Word2007/DocumentTest.php b/tests/PhpWord/Tests/Writer/Word2007/DocumentTest.php similarity index 100% rename from test/PhpWord/Tests/Writer/Word2007/DocumentTest.php rename to tests/PhpWord/Tests/Writer/Word2007/DocumentTest.php diff --git a/test/PhpWord/Tests/Writer/Word2007/FooterTest.php b/tests/PhpWord/Tests/Writer/Word2007/FooterTest.php similarity index 100% rename from test/PhpWord/Tests/Writer/Word2007/FooterTest.php rename to tests/PhpWord/Tests/Writer/Word2007/FooterTest.php diff --git a/test/PhpWord/Tests/Writer/Word2007/FootnotesTest.php b/tests/PhpWord/Tests/Writer/Word2007/FootnotesTest.php similarity index 100% rename from test/PhpWord/Tests/Writer/Word2007/FootnotesTest.php rename to tests/PhpWord/Tests/Writer/Word2007/FootnotesTest.php diff --git a/test/PhpWord/Tests/Writer/Word2007/HeaderTest.php b/tests/PhpWord/Tests/Writer/Word2007/HeaderTest.php similarity index 100% rename from test/PhpWord/Tests/Writer/Word2007/HeaderTest.php rename to tests/PhpWord/Tests/Writer/Word2007/HeaderTest.php diff --git a/test/PhpWord/Tests/Writer/Word2007/StylesTest.php b/tests/PhpWord/Tests/Writer/Word2007/StylesTest.php similarity index 100% rename from test/PhpWord/Tests/Writer/Word2007/StylesTest.php rename to tests/PhpWord/Tests/Writer/Word2007/StylesTest.php diff --git a/test/PhpWord/Tests/Writer/Word2007/WriterPartTest.php b/tests/PhpWord/Tests/Writer/Word2007/WriterPartTest.php similarity index 100% rename from test/PhpWord/Tests/Writer/Word2007/WriterPartTest.php rename to tests/PhpWord/Tests/Writer/Word2007/WriterPartTest.php diff --git a/test/PhpWord/Tests/Writer/Word2007Test.php b/tests/PhpWord/Tests/Writer/Word2007Test.php similarity index 100% rename from test/PhpWord/Tests/Writer/Word2007Test.php rename to tests/PhpWord/Tests/Writer/Word2007Test.php diff --git a/test/PhpWord/Tests/_files/documents/reader.docx b/tests/PhpWord/Tests/_files/documents/reader.docx similarity index 100% rename from test/PhpWord/Tests/_files/documents/reader.docx rename to tests/PhpWord/Tests/_files/documents/reader.docx diff --git a/test/PhpWord/Tests/_files/documents/reader.docx.zip b/tests/PhpWord/Tests/_files/documents/reader.docx.zip similarity index 100% rename from test/PhpWord/Tests/_files/documents/reader.docx.zip rename to tests/PhpWord/Tests/_files/documents/reader.docx.zip diff --git a/test/PhpWord/Tests/_files/documents/sheet.xls b/tests/PhpWord/Tests/_files/documents/sheet.xls similarity index 100% rename from test/PhpWord/Tests/_files/documents/sheet.xls rename to tests/PhpWord/Tests/_files/documents/sheet.xls diff --git a/test/PhpWord/Tests/_files/documents/without_table_macros.docx b/tests/PhpWord/Tests/_files/documents/without_table_macros.docx similarity index 100% rename from test/PhpWord/Tests/_files/documents/without_table_macros.docx rename to tests/PhpWord/Tests/_files/documents/without_table_macros.docx diff --git a/test/PhpWord/Tests/_files/images/PhpWord.png b/tests/PhpWord/Tests/_files/images/PhpWord.png similarity index 100% rename from test/PhpWord/Tests/_files/images/PhpWord.png rename to tests/PhpWord/Tests/_files/images/PhpWord.png diff --git a/test/PhpWord/Tests/_files/images/alexz-johnson.pcx b/tests/PhpWord/Tests/_files/images/alexz-johnson.pcx similarity index 100% rename from test/PhpWord/Tests/_files/images/alexz-johnson.pcx rename to tests/PhpWord/Tests/_files/images/alexz-johnson.pcx diff --git a/test/PhpWord/Tests/_files/images/angela_merkel.tif b/tests/PhpWord/Tests/_files/images/angela_merkel.tif similarity index 100% rename from test/PhpWord/Tests/_files/images/angela_merkel.tif rename to tests/PhpWord/Tests/_files/images/angela_merkel.tif diff --git a/test/PhpWord/Tests/_files/images/duke_nukem.bmp b/tests/PhpWord/Tests/_files/images/duke_nukem.bmp similarity index 100% rename from test/PhpWord/Tests/_files/images/duke_nukem.bmp rename to tests/PhpWord/Tests/_files/images/duke_nukem.bmp diff --git a/test/PhpWord/Tests/_files/images/earth.jpg b/tests/PhpWord/Tests/_files/images/earth.jpg similarity index 100% rename from test/PhpWord/Tests/_files/images/earth.jpg rename to tests/PhpWord/Tests/_files/images/earth.jpg diff --git a/test/PhpWord/Tests/_files/images/firefox.png b/tests/PhpWord/Tests/_files/images/firefox.png similarity index 100% rename from test/PhpWord/Tests/_files/images/firefox.png rename to tests/PhpWord/Tests/_files/images/firefox.png diff --git a/test/PhpWord/Tests/_files/images/mario.gif b/tests/PhpWord/Tests/_files/images/mario.gif similarity index 100% rename from test/PhpWord/Tests/_files/images/mario.gif rename to tests/PhpWord/Tests/_files/images/mario.gif diff --git a/test/PhpWord/Tests/_files/images/mars.jpg b/tests/PhpWord/Tests/_files/images/mars.jpg similarity index 100% rename from test/PhpWord/Tests/_files/images/mars.jpg rename to tests/PhpWord/Tests/_files/images/mars.jpg diff --git a/test/PhpWord/Tests/_files/images/mars_noext_jpg b/tests/PhpWord/Tests/_files/images/mars_noext_jpg similarity index 100% rename from test/PhpWord/Tests/_files/images/mars_noext_jpg rename to tests/PhpWord/Tests/_files/images/mars_noext_jpg diff --git a/test/PhpWord/Tests/_files/templates/blank.docx b/tests/PhpWord/Tests/_files/templates/blank.docx similarity index 100% rename from test/PhpWord/Tests/_files/templates/blank.docx rename to tests/PhpWord/Tests/_files/templates/blank.docx diff --git a/test/PhpWord/Tests/_files/templates/clone-merge.docx b/tests/PhpWord/Tests/_files/templates/clone-merge.docx similarity index 100% rename from test/PhpWord/Tests/_files/templates/clone-merge.docx rename to tests/PhpWord/Tests/_files/templates/clone-merge.docx diff --git a/test/PhpWord/Tests/_files/templates/corrupted_main_document_part.docx b/tests/PhpWord/Tests/_files/templates/corrupted_main_document_part.docx similarity index 100% rename from test/PhpWord/Tests/_files/templates/corrupted_main_document_part.docx rename to tests/PhpWord/Tests/_files/templates/corrupted_main_document_part.docx diff --git a/test/PhpWord/Tests/_files/templates/with_table_macros.docx b/tests/PhpWord/Tests/_files/templates/with_table_macros.docx similarity index 100% rename from test/PhpWord/Tests/_files/templates/with_table_macros.docx rename to tests/PhpWord/Tests/_files/templates/with_table_macros.docx diff --git a/test/PhpWord/Tests/_files/xsl/passthrough.xsl b/tests/PhpWord/Tests/_files/xsl/passthrough.xsl similarity index 100% rename from test/PhpWord/Tests/_files/xsl/passthrough.xsl rename to tests/PhpWord/Tests/_files/xsl/passthrough.xsl diff --git a/test/PhpWord/Tests/_files/xsl/remove_tables_by_needle.xsl b/tests/PhpWord/Tests/_files/xsl/remove_tables_by_needle.xsl similarity index 100% rename from test/PhpWord/Tests/_files/xsl/remove_tables_by_needle.xsl rename to tests/PhpWord/Tests/_files/xsl/remove_tables_by_needle.xsl diff --git a/test/PhpWord/Tests/_includes/TestHelperDOCX.php b/tests/PhpWord/Tests/_includes/TestHelperDOCX.php similarity index 100% rename from test/PhpWord/Tests/_includes/TestHelperDOCX.php rename to tests/PhpWord/Tests/_includes/TestHelperDOCX.php diff --git a/test/PhpWord/Tests/_includes/XmlDocument.php b/tests/PhpWord/Tests/_includes/XmlDocument.php similarity index 100% rename from test/PhpWord/Tests/_includes/XmlDocument.php rename to tests/PhpWord/Tests/_includes/XmlDocument.php diff --git a/test/bootstrap.php b/tests/bootstrap.php similarity index 100% rename from test/bootstrap.php rename to tests/bootstrap.php