Use PHPUnit\Framework\TestCase instead of PHPUnit_Framework_TestCase
This commit is contained in:
parent
7b9e262e44
commit
ba6c03e06d
|
|
@ -42,7 +42,7 @@
|
||||||
"phpoffice/common": "^0.2"
|
"phpoffice/common": "^0.2"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"phpunit/phpunit": "4.8.*",
|
"phpunit/phpunit": "^4.8.36",
|
||||||
"phpdocumentor/phpdocumentor":"2.*",
|
"phpdocumentor/phpdocumentor":"2.*",
|
||||||
"twig/twig":"1.27",
|
"twig/twig":"1.27",
|
||||||
"squizlabs/php_codesniffer": "^2.7",
|
"squizlabs/php_codesniffer": "^2.7",
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,7 @@ use PhpOffice\PhpWord\Element\Footnote;
|
||||||
*
|
*
|
||||||
* Using concrete class Footnotes instead of AbstractCollection
|
* Using concrete class Footnotes instead of AbstractCollection
|
||||||
*/
|
*/
|
||||||
class CollectionTest extends \PHPUnit_Framework_TestCase
|
class CollectionTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Test collection
|
* Test collection
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@ use PhpOffice\PhpWord\SimpleType\NumberFormat;
|
||||||
* @coversDefaultClass \PhpOffice\PhpWord\ComplexType\FootnoteProperties
|
* @coversDefaultClass \PhpOffice\PhpWord\ComplexType\FootnoteProperties
|
||||||
* @runTestsInSeparateProcesses
|
* @runTestsInSeparateProcesses
|
||||||
*/
|
*/
|
||||||
class FootnotePropertiesTest extends \PHPUnit_Framework_TestCase
|
class FootnotePropertiesTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Test setting style with normal value
|
* Test setting style with normal value
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ namespace PhpOffice\PhpWord\ComplexType;
|
||||||
*
|
*
|
||||||
* @coversDefaultClass \PhpOffice\PhpWord\ComplexType\ProofState
|
* @coversDefaultClass \PhpOffice\PhpWord\ComplexType\ProofState
|
||||||
*/
|
*/
|
||||||
class ProofStateTest extends \PHPUnit_Framework_TestCase
|
class ProofStateTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Tests the getters and setters
|
* Tests the getters and setters
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,7 @@ namespace PhpOffice\PhpWord\Element;
|
||||||
/**
|
/**
|
||||||
* Test class for PhpOffice\PhpWord\Element\AbstractElement
|
* Test class for PhpOffice\PhpWord\Element\AbstractElement
|
||||||
*/
|
*/
|
||||||
class AbstractElementTest extends \PHPUnit_Framework_TestCase
|
class AbstractElementTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Test set/get element index
|
* Test set/get element index
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ namespace PhpOffice\PhpWord\Element;
|
||||||
*
|
*
|
||||||
* @runTestsInSeparateProcesses
|
* @runTestsInSeparateProcesses
|
||||||
*/
|
*/
|
||||||
class BookmarkTest extends \PHPUnit_Framework_TestCase
|
class BookmarkTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* New instance
|
* New instance
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ namespace PhpOffice\PhpWord\Element;
|
||||||
*
|
*
|
||||||
* @runTestsInSeparateProcesses
|
* @runTestsInSeparateProcesses
|
||||||
*/
|
*/
|
||||||
class CellTest extends \PHPUnit_Framework_TestCase
|
class CellTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* New instance
|
* New instance
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@ use PhpOffice\PhpWord\Style\Font;
|
||||||
*
|
*
|
||||||
* @runTestsInSeparateProcesses
|
* @runTestsInSeparateProcesses
|
||||||
*/
|
*/
|
||||||
class CheckBoxTest extends \PHPUnit_Framework_TestCase
|
class CheckBoxTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Construct
|
* Construct
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ namespace PhpOffice\PhpWord\Element;
|
||||||
*
|
*
|
||||||
* @runTestsInSeparateProcesses
|
* @runTestsInSeparateProcesses
|
||||||
*/
|
*/
|
||||||
class CommentTest extends \PHPUnit_Framework_TestCase
|
class CommentTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* New instance
|
* New instance
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ namespace PhpOffice\PhpWord\Element;
|
||||||
*
|
*
|
||||||
* @runTestsInSeparateProcesses
|
* @runTestsInSeparateProcesses
|
||||||
*/
|
*/
|
||||||
class FieldTest extends \PHPUnit_Framework_TestCase
|
class FieldTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* New instance
|
* New instance
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ namespace PhpOffice\PhpWord\Element;
|
||||||
*
|
*
|
||||||
* @runTestsInSeparateProcesses
|
* @runTestsInSeparateProcesses
|
||||||
*/
|
*/
|
||||||
class FooterTest extends \PHPUnit_Framework_TestCase
|
class FooterTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* New instance
|
* New instance
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ namespace PhpOffice\PhpWord\Element;
|
||||||
*
|
*
|
||||||
* @runTestsInSeparateProcesses
|
* @runTestsInSeparateProcesses
|
||||||
*/
|
*/
|
||||||
class FootnoteTest extends \PHPUnit_Framework_TestCase
|
class FootnoteTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* New instance without parameter
|
* New instance without parameter
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ namespace PhpOffice\PhpWord\Element;
|
||||||
*
|
*
|
||||||
* @runTestsInSeparateProcesses
|
* @runTestsInSeparateProcesses
|
||||||
*/
|
*/
|
||||||
class HeaderTest extends \PHPUnit_Framework_TestCase
|
class HeaderTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* New instance
|
* New instance
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,7 @@ use PhpOffice\PhpWord\SimpleType\Jc;
|
||||||
*
|
*
|
||||||
* @runTestsInSeparateProcesses
|
* @runTestsInSeparateProcesses
|
||||||
*/
|
*/
|
||||||
class ImageTest extends \PHPUnit_Framework_TestCase
|
class ImageTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* New instance
|
* New instance
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ namespace PhpOffice\PhpWord\Element;
|
||||||
* @coversDefaultClass \PhpOffice\PhpWord\Element\Line
|
* @coversDefaultClass \PhpOffice\PhpWord\Element\Line
|
||||||
* @runTestsInSeparateProcesses
|
* @runTestsInSeparateProcesses
|
||||||
*/
|
*/
|
||||||
class LineTest extends \PHPUnit_Framework_TestCase
|
class LineTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Create new instance
|
* Create new instance
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@ use PhpOffice\PhpWord\Style\Font;
|
||||||
* @coversDefaultClass \PhpOffice\PhpWord\Element\Link
|
* @coversDefaultClass \PhpOffice\PhpWord\Element\Link
|
||||||
* @runTestsInSeparateProcesses
|
* @runTestsInSeparateProcesses
|
||||||
*/
|
*/
|
||||||
class LinkTest extends \PHPUnit_Framework_TestCase
|
class LinkTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Create new instance
|
* Create new instance
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ namespace PhpOffice\PhpWord\Element;
|
||||||
*
|
*
|
||||||
* @runTestsInSeparateProcesses
|
* @runTestsInSeparateProcesses
|
||||||
*/
|
*/
|
||||||
class ListItemRunTest extends \PHPUnit_Framework_TestCase
|
class ListItemRunTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* New instance
|
* New instance
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ namespace PhpOffice\PhpWord\Element;
|
||||||
* @coversDefaultClass \PhpOffice\PhpWord\Element\ListItem
|
* @coversDefaultClass \PhpOffice\PhpWord\Element\ListItem
|
||||||
* @runTestsInSeparateProcesses
|
* @runTestsInSeparateProcesses
|
||||||
*/
|
*/
|
||||||
class ListItemTest extends \PHPUnit_Framework_TestCase
|
class ListItemTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Get text object
|
* Get text object
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ namespace PhpOffice\PhpWord\Element;
|
||||||
* @coversDefaultClass \PhpOffice\PhpWord\Element\Object
|
* @coversDefaultClass \PhpOffice\PhpWord\Element\Object
|
||||||
* @runTestsInSeparateProcesses
|
* @runTestsInSeparateProcesses
|
||||||
*/
|
*/
|
||||||
class ObjectTest extends \PHPUnit_Framework_TestCase
|
class ObjectTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Create new instance with supported files, 4 character extention
|
* Create new instance with supported files, 4 character extention
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ namespace PhpOffice\PhpWord\Element;
|
||||||
* @coversDefaultClass \PhpOffice\PhpWord\Element\PageBreak
|
* @coversDefaultClass \PhpOffice\PhpWord\Element\PageBreak
|
||||||
* @runTestsInSeparateProcesses
|
* @runTestsInSeparateProcesses
|
||||||
*/
|
*/
|
||||||
class PageBreakTest extends \PHPUnit_Framework_TestCase
|
class PageBreakTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Executed before each method of the class
|
* Executed before each method of the class
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,7 @@ use PhpOffice\PhpWord\SimpleType\Jc;
|
||||||
*
|
*
|
||||||
* @runTestsInSeparateProcesses
|
* @runTestsInSeparateProcesses
|
||||||
*/
|
*/
|
||||||
class PreserveTextTest extends \PHPUnit_Framework_TestCase
|
class PreserveTextTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Create new instance
|
* Create new instance
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ namespace PhpOffice\PhpWord\Element;
|
||||||
* @coversDefaultClass \PhpOffice\PhpWord\Element\Row
|
* @coversDefaultClass \PhpOffice\PhpWord\Element\Row
|
||||||
* @runTestsInSeparateProcesses
|
* @runTestsInSeparateProcesses
|
||||||
*/
|
*/
|
||||||
class RowTest extends \PHPUnit_Framework_TestCase
|
class RowTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Create new instance
|
* Create new instance
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ namespace PhpOffice\PhpWord\Element;
|
||||||
*
|
*
|
||||||
* @coversDefaultClass \PhpOffice\PhpWord\Element\SDT
|
* @coversDefaultClass \PhpOffice\PhpWord\Element\SDT
|
||||||
*/
|
*/
|
||||||
class SDTTest extends \PHPUnit_Framework_TestCase
|
class SDTTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Create new instance
|
* Create new instance
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@ use PhpOffice\PhpWord\Style;
|
||||||
* @coversDefaultClass \PhpOffice\PhpWord\Element\Section
|
* @coversDefaultClass \PhpOffice\PhpWord\Element\Section
|
||||||
* @runTestsInSeparateProcesses
|
* @runTestsInSeparateProcesses
|
||||||
*/
|
*/
|
||||||
class SectionTest extends \PHPUnit_Framework_TestCase
|
class SectionTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @covers ::setStyle
|
* @covers ::setStyle
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,7 @@ use PhpOffice\PhpWord\PhpWord;
|
||||||
*
|
*
|
||||||
* @runTestsInSeparateProcesses
|
* @runTestsInSeparateProcesses
|
||||||
*/
|
*/
|
||||||
class TOCTest extends \PHPUnit_Framework_TestCase
|
class TOCTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Construct with font and TOC style in array format
|
* Construct with font and TOC style in array format
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ namespace PhpOffice\PhpWord\Element;
|
||||||
* @coversDefaultClass \PhpOffice\PhpWord\Element\Table
|
* @coversDefaultClass \PhpOffice\PhpWord\Element\Table
|
||||||
* @runTestsInSeparateProcesses
|
* @runTestsInSeparateProcesses
|
||||||
*/
|
*/
|
||||||
class TableTest extends \PHPUnit_Framework_TestCase
|
class TableTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Create new instance
|
* Create new instance
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ namespace PhpOffice\PhpWord\Element;
|
||||||
* @coversDefaultClass \PhpOffice\PhpWord\Element\TextBox
|
* @coversDefaultClass \PhpOffice\PhpWord\Element\TextBox
|
||||||
* @runTestsInSeparateProcesses
|
* @runTestsInSeparateProcesses
|
||||||
*/
|
*/
|
||||||
class TextBoxTest extends \PHPUnit_Framework_TestCase
|
class TextBoxTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Create new instance
|
* Create new instance
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,7 @@ use PhpOffice\PhpWord\Style\Paragraph;
|
||||||
* @coversDefaultClass \PhpOffice\PhpWord\Element\TextBreak
|
* @coversDefaultClass \PhpOffice\PhpWord\Element\TextBreak
|
||||||
* @runTestsInSeparateProcesses
|
* @runTestsInSeparateProcesses
|
||||||
*/
|
*/
|
||||||
class TextBreakTest extends \PHPUnit_Framework_TestCase
|
class TextBreakTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Construct with empty value
|
* Construct with empty value
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,7 @@ use PhpOffice\PhpWord\PhpWord;
|
||||||
*
|
*
|
||||||
* @runTestsInSeparateProcesses
|
* @runTestsInSeparateProcesses
|
||||||
*/
|
*/
|
||||||
class TextRunTest extends \PHPUnit_Framework_TestCase
|
class TextRunTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* New instance
|
* New instance
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@ use PhpOffice\PhpWord\Style\Font;
|
||||||
*
|
*
|
||||||
* @runTestsInSeparateProcesses
|
* @runTestsInSeparateProcesses
|
||||||
*/
|
*/
|
||||||
class TextTest extends \PHPUnit_Framework_TestCase
|
class TextTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* New instance
|
* New instance
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ namespace PhpOffice\PhpWord\Element;
|
||||||
* @coversDefaultClass \PhpOffice\PhpWord\Element\Title
|
* @coversDefaultClass \PhpOffice\PhpWord\Element\Title
|
||||||
* @runTestsInSeparateProcesses
|
* @runTestsInSeparateProcesses
|
||||||
*/
|
*/
|
||||||
class TitleTest extends \PHPUnit_Framework_TestCase
|
class TitleTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Create new instance
|
* Create new instance
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@ namespace PhpOffice\PhpWord\Exception;
|
||||||
* @covers \PhpOffice\PhpWord\Exception\CopyFileException
|
* @covers \PhpOffice\PhpWord\Exception\CopyFileException
|
||||||
* @coversDefaultClass \PhpOffice\PhpWord\Exception\CopyFileException
|
* @coversDefaultClass \PhpOffice\PhpWord\Exception\CopyFileException
|
||||||
*/
|
*/
|
||||||
class CopyFileExceptionTest extends \PHPUnit_Framework_TestCase
|
class CopyFileExceptionTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* CopyFileException can be thrown.
|
* CopyFileException can be thrown.
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@ namespace PhpOffice\PhpWord\Exception;
|
||||||
* @covers \PhpOffice\PhpWord\Exception\CreateTemporaryFileException
|
* @covers \PhpOffice\PhpWord\Exception\CreateTemporaryFileException
|
||||||
* @coversDefaultClass \PhpOffice\PhpWord\Exception\CreateTemporaryFileException
|
* @coversDefaultClass \PhpOffice\PhpWord\Exception\CreateTemporaryFileException
|
||||||
*/
|
*/
|
||||||
class CreateTemporaryFileExceptionTest extends \PHPUnit_Framework_TestCase
|
class CreateTemporaryFileExceptionTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* CreateTemporaryFileException can be thrown.
|
* CreateTemporaryFileException can be thrown.
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ namespace PhpOffice\PhpWord\Exception;
|
||||||
* @coversDefaultClass \PhpOffice\PhpWord\Exception\Exception
|
* @coversDefaultClass \PhpOffice\PhpWord\Exception\Exception
|
||||||
* @runTestsInSeparateProcesses
|
* @runTestsInSeparateProcesses
|
||||||
*/
|
*/
|
||||||
class ExceptionTest extends \PHPUnit_Framework_TestCase
|
class ExceptionTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Throw new exception
|
* Throw new exception
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ namespace PhpOffice\PhpWord\Exception;
|
||||||
* @coversDefaultClass \PhpOffice\PhpWord\Exception\InvalidImageException
|
* @coversDefaultClass \PhpOffice\PhpWord\Exception\InvalidImageException
|
||||||
* @runTestsInSeparateProcesses
|
* @runTestsInSeparateProcesses
|
||||||
*/
|
*/
|
||||||
class InvalidImageExceptionTest extends \PHPUnit_Framework_TestCase
|
class InvalidImageExceptionTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Throw new exception
|
* Throw new exception
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ namespace PhpOffice\PhpWord\Exception;
|
||||||
* @coversDefaultClass \PhpOffice\PhpWord\Exception\InvalidStyleException
|
* @coversDefaultClass \PhpOffice\PhpWord\Exception\InvalidStyleException
|
||||||
* @runTestsInSeparateProcesses
|
* @runTestsInSeparateProcesses
|
||||||
*/
|
*/
|
||||||
class InvalidStyleExceptionTest extends \PHPUnit_Framework_TestCase
|
class InvalidStyleExceptionTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Throw new exception
|
* Throw new exception
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ namespace PhpOffice\PhpWord\Exception;
|
||||||
* @coversDefaultClass \PhpOffice\PhpWord\Exception\UnsupportedImageTypeExceptionTest
|
* @coversDefaultClass \PhpOffice\PhpWord\Exception\UnsupportedImageTypeExceptionTest
|
||||||
* @runTestsInSeparateProcesses
|
* @runTestsInSeparateProcesses
|
||||||
*/
|
*/
|
||||||
class UnsupportedImageTypeExceptionTest extends \PHPUnit_Framework_TestCase
|
class UnsupportedImageTypeExceptionTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Throw new exception
|
* Throw new exception
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ namespace PhpOffice\PhpWord;
|
||||||
*
|
*
|
||||||
* @runTestsInSeparateProcesses
|
* @runTestsInSeparateProcesses
|
||||||
*/
|
*/
|
||||||
class IOFactoryTest extends \PHPUnit_Framework_TestCase
|
class IOFactoryTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Create existing writer
|
* Create existing writer
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,7 @@ use PhpOffice\PhpWord\Element\Image;
|
||||||
*
|
*
|
||||||
* @runTestsInSeparateProcesses
|
* @runTestsInSeparateProcesses
|
||||||
*/
|
*/
|
||||||
class MediaTest extends \PHPUnit_Framework_TestCase
|
class MediaTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Get section media elements
|
* Get section media elements
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ namespace PhpOffice\PhpWord\Metadata;
|
||||||
*
|
*
|
||||||
* @runTestsInSeparateProcesses
|
* @runTestsInSeparateProcesses
|
||||||
*/
|
*/
|
||||||
class DocInfoTest extends \PHPUnit_Framework_TestCase
|
class DocInfoTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Creator
|
* Creator
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@ use PhpOffice\PhpWord\SimpleType\Zoom;
|
||||||
*
|
*
|
||||||
* @runTestsInSeparateProcesses
|
* @runTestsInSeparateProcesses
|
||||||
*/
|
*/
|
||||||
class SettingsTest extends \PHPUnit_Framework_TestCase
|
class SettingsTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* EvenAndOddHeaders
|
* EvenAndOddHeaders
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,7 @@ use PhpOffice\PhpWord\Metadata\DocInfo;
|
||||||
*
|
*
|
||||||
* @runTestsInSeparateProcesses
|
* @runTestsInSeparateProcesses
|
||||||
*/
|
*/
|
||||||
class PhpWordTest extends \PHPUnit_Framework_TestCase
|
class PhpWordTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Test object creation
|
* Test object creation
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@ use PhpOffice\PhpWord\IOFactory;
|
||||||
* @coversDefaultClass \PhpOffice\PhpWord\Reader\HTML
|
* @coversDefaultClass \PhpOffice\PhpWord\Reader\HTML
|
||||||
* @runTestsInSeparateProcesses
|
* @runTestsInSeparateProcesses
|
||||||
*/
|
*/
|
||||||
class HTMLTest extends \PHPUnit_Framework_TestCase
|
class HTMLTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Test load
|
* Test load
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@ use PhpOffice\PhpWord\IOFactory;
|
||||||
* @coversDefaultClass \PhpOffice\PhpWord\Reader\MsDoc
|
* @coversDefaultClass \PhpOffice\PhpWord\Reader\MsDoc
|
||||||
* @runTestsInSeparateProcesses
|
* @runTestsInSeparateProcesses
|
||||||
*/
|
*/
|
||||||
class MsDocTest extends \PHPUnit_Framework_TestCase
|
class MsDocTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Test canRead() method
|
* Test canRead() method
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@ use PhpOffice\PhpWord\IOFactory;
|
||||||
* @coversDefaultClass \PhpOffice\PhpWord\Reader\ODText
|
* @coversDefaultClass \PhpOffice\PhpWord\Reader\ODText
|
||||||
* @runTestsInSeparateProcesses
|
* @runTestsInSeparateProcesses
|
||||||
*/
|
*/
|
||||||
class ODTextTest extends \PHPUnit_Framework_TestCase
|
class ODTextTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Load
|
* Load
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@ use PhpOffice\PhpWord\IOFactory;
|
||||||
* @coversDefaultClass \PhpOffice\PhpWord\Reader\RTF
|
* @coversDefaultClass \PhpOffice\PhpWord\Reader\RTF
|
||||||
* @runTestsInSeparateProcesses
|
* @runTestsInSeparateProcesses
|
||||||
*/
|
*/
|
||||||
class RTFTest extends \PHPUnit_Framework_TestCase
|
class RTFTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Test load
|
* Test load
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@ use PhpOffice\PhpWord\IOFactory;
|
||||||
* @coversDefaultClass \PhpOffice\PhpWord\Reader\Word2007
|
* @coversDefaultClass \PhpOffice\PhpWord\Reader\Word2007
|
||||||
* @runTestsInSeparateProcesses
|
* @runTestsInSeparateProcesses
|
||||||
*/
|
*/
|
||||||
class Word2007Test extends \PHPUnit_Framework_TestCase
|
class Word2007Test extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Test canRead() method
|
* Test canRead() method
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ namespace PhpOffice\PhpWord;
|
||||||
* @coversDefaultClass \PhpOffice\PhpWord\Settings
|
* @coversDefaultClass \PhpOffice\PhpWord\Settings
|
||||||
* @runTestsInSeparateProcesses
|
* @runTestsInSeparateProcesses
|
||||||
*/
|
*/
|
||||||
class SettingsTest extends \PHPUnit_Framework_TestCase
|
class SettingsTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Test set/get compatibity option
|
* Test set/get compatibity option
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ namespace PhpOffice\PhpWord\Shared;
|
||||||
*
|
*
|
||||||
* @coversDefaultClass \PhpOffice\PhpWord\Shared\Converter
|
* @coversDefaultClass \PhpOffice\PhpWord\Shared\Converter
|
||||||
*/
|
*/
|
||||||
class ConverterTest extends \PHPUnit_Framework_TestCase
|
class ConverterTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Test unit conversion functions with various numbers
|
* Test unit conversion functions with various numbers
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ use PhpOffice\PhpWord\Element\Section;
|
||||||
/**
|
/**
|
||||||
* Test class for PhpOffice\PhpWord\Shared\Html
|
* Test class for PhpOffice\PhpWord\Shared\Html
|
||||||
*/
|
*/
|
||||||
class HtmlTest extends \PHPUnit_Framework_TestCase
|
class HtmlTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Test unit conversion functions with various numbers
|
* Test unit conversion functions with various numbers
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@ use PhpOffice\PhpWord\Settings;
|
||||||
* @coversDefaultClass \PhpOffice\PhpWord\Shared\ZipArchive
|
* @coversDefaultClass \PhpOffice\PhpWord\Shared\ZipArchive
|
||||||
* @runTestsInSeparateProcesses
|
* @runTestsInSeparateProcesses
|
||||||
*/
|
*/
|
||||||
class ZipArchiveTest extends \PHPUnit_Framework_TestCase
|
class ZipArchiveTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Test close method exception: Working in local, not working in Travis
|
* Test close method exception: Working in local, not working in Travis
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ namespace PhpOffice\PhpWord\Style;
|
||||||
*
|
*
|
||||||
* @runTestsInSeparateProcesses
|
* @runTestsInSeparateProcesses
|
||||||
*/
|
*/
|
||||||
class AbstractStyleTest extends \PHPUnit_Framework_TestCase
|
class AbstractStyleTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Test set style by array
|
* Test set style by array
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ namespace PhpOffice\PhpWord\Style;
|
||||||
* @coversDefaultClass \PhpOffice\PhpWord\Style\Cell
|
* @coversDefaultClass \PhpOffice\PhpWord\Style\Cell
|
||||||
* @runTestsInSeparateProcesses
|
* @runTestsInSeparateProcesses
|
||||||
*/
|
*/
|
||||||
class CellTest extends \PHPUnit_Framework_TestCase
|
class CellTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Test setting style with normal value
|
* Test setting style with normal value
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,7 @@ use PhpOffice\PhpWord\TestHelperDOCX;
|
||||||
*
|
*
|
||||||
* @runTestsInSeparateProcesses
|
* @runTestsInSeparateProcesses
|
||||||
*/
|
*/
|
||||||
class FontTest extends \PHPUnit_Framework_TestCase
|
class FontTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Tear down after each test
|
* Tear down after each test
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@ use PhpOffice\PhpWord\SimpleType\Jc;
|
||||||
* @coversDefaultClass \PhpOffice\PhpWord\Style\Image
|
* @coversDefaultClass \PhpOffice\PhpWord\Style\Image
|
||||||
* @runTestsInSeparateProcesses
|
* @runTestsInSeparateProcesses
|
||||||
*/
|
*/
|
||||||
class ImageTest extends \PHPUnit_Framework_TestCase
|
class ImageTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Test setting style with normal value
|
* Test setting style with normal value
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ namespace PhpOffice\PhpWord\Style;
|
||||||
*
|
*
|
||||||
* @coversDefaultClass \PhpOffice\PhpWord\Style\Indentation
|
* @coversDefaultClass \PhpOffice\PhpWord\Style\Indentation
|
||||||
*/
|
*/
|
||||||
class IndentationTest extends \PHPUnit_Framework_TestCase
|
class IndentationTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Test get/set
|
* Test get/set
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ namespace PhpOffice\PhpWord\Style;
|
||||||
*
|
*
|
||||||
* @coversDefaultClass \PhpOffice\PhpWord\Style\Language
|
* @coversDefaultClass \PhpOffice\PhpWord\Style\Language
|
||||||
*/
|
*/
|
||||||
class LanguageTest extends \PHPUnit_Framework_TestCase
|
class LanguageTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Test get/set
|
* Test get/set
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ namespace PhpOffice\PhpWord\Style;
|
||||||
*
|
*
|
||||||
* @coversDefaultClass \PhpOffice\PhpWord\Style\LineNumbering
|
* @coversDefaultClass \PhpOffice\PhpWord\Style\LineNumbering
|
||||||
*/
|
*/
|
||||||
class LineNumberingTest extends \PHPUnit_Framework_TestCase
|
class LineNumberingTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Test get/set
|
* Test get/set
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ namespace PhpOffice\PhpWord\Style;
|
||||||
* @coversDefaultClass \PhpOffice\PhpWord\Style\Image
|
* @coversDefaultClass \PhpOffice\PhpWord\Style\Image
|
||||||
* @runTestsInSeparateProcesses
|
* @runTestsInSeparateProcesses
|
||||||
*/
|
*/
|
||||||
class LineTest extends \PHPUnit_Framework_TestCase
|
class LineTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Test setting style with normal value
|
* Test setting style with normal value
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ namespace PhpOffice\PhpWord\Style;
|
||||||
* @coversDefaultClass \PhpOffice\PhpWord\Style\ListItem
|
* @coversDefaultClass \PhpOffice\PhpWord\Style\ListItem
|
||||||
* @runTestsInSeparateProcesses
|
* @runTestsInSeparateProcesses
|
||||||
*/
|
*/
|
||||||
class ListItemTest extends \PHPUnit_Framework_TestCase
|
class ListItemTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Test construct
|
* Test construct
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,7 @@ use PhpOffice\PhpWord\SimpleType\Jc;
|
||||||
*
|
*
|
||||||
* @runTestsInSeparateProcesses
|
* @runTestsInSeparateProcesses
|
||||||
*/
|
*/
|
||||||
class NumberingLevelTest extends \PHPUnit_Framework_TestCase
|
class NumberingLevelTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Test setting style with normal value
|
* Test setting style with normal value
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ namespace PhpOffice\PhpWord\Style;
|
||||||
*
|
*
|
||||||
* @coversDefaultClass \PhpOffice\PhpWord\Style\Numbering
|
* @coversDefaultClass \PhpOffice\PhpWord\Style\Numbering
|
||||||
*/
|
*/
|
||||||
class NumberingTest extends \PHPUnit_Framework_TestCase
|
class NumberingTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Test get/set
|
* Test get/set
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@ use PhpOffice\PhpWord\TestHelperDOCX;
|
||||||
*
|
*
|
||||||
* @runTestsInSeparateProcesses
|
* @runTestsInSeparateProcesses
|
||||||
*/
|
*/
|
||||||
class PaperTest extends \PHPUnit_Framework_TestCase
|
class PaperTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Tear down after each test
|
* Tear down after each test
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@ use PhpOffice\PhpWord\TestHelperDOCX;
|
||||||
*
|
*
|
||||||
* @runTestsInSeparateProcesses
|
* @runTestsInSeparateProcesses
|
||||||
*/
|
*/
|
||||||
class ParagraphTest extends \PHPUnit_Framework_TestCase
|
class ParagraphTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Tear down after each test
|
* Tear down after each test
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ namespace PhpOffice\PhpWord\Style;
|
||||||
* @coversDefaultClass \PhpOffice\PhpWord\Style\Row
|
* @coversDefaultClass \PhpOffice\PhpWord\Style\Row
|
||||||
* @runTestsInSeparateProcesses
|
* @runTestsInSeparateProcesses
|
||||||
*/
|
*/
|
||||||
class RowTest extends \PHPUnit_Framework_TestCase
|
class RowTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Test properties with boolean value
|
* Test properties with boolean value
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ namespace PhpOffice\PhpWord\Style;
|
||||||
* @coversDefaultClass \PhpOffice\PhpWord\Element\Section
|
* @coversDefaultClass \PhpOffice\PhpWord\Element\Section
|
||||||
* @runTestsInSeparateProcesses
|
* @runTestsInSeparateProcesses
|
||||||
*/
|
*/
|
||||||
class SectionTest extends \PHPUnit_Framework_TestCase
|
class SectionTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Executed before each method of the class
|
* Executed before each method of the class
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ namespace PhpOffice\PhpWord\Style;
|
||||||
*
|
*
|
||||||
* @coversDefaultClass \PhpOffice\PhpWord\Style\Shading
|
* @coversDefaultClass \PhpOffice\PhpWord\Style\Shading
|
||||||
*/
|
*/
|
||||||
class ShadingTest extends \PHPUnit_Framework_TestCase
|
class ShadingTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Test get/set
|
* Test get/set
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ namespace PhpOffice\PhpWord\Style;
|
||||||
*
|
*
|
||||||
* @coversDefaultClass \PhpOffice\PhpWord\Style\Spacing
|
* @coversDefaultClass \PhpOffice\PhpWord\Style\Spacing
|
||||||
*/
|
*/
|
||||||
class SpacingTest extends \PHPUnit_Framework_TestCase
|
class SpacingTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Test get/set
|
* Test get/set
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ namespace PhpOffice\PhpWord\Style;
|
||||||
*
|
*
|
||||||
* @coversDefaultClass \PhpOffice\PhpWord\Style\TOC
|
* @coversDefaultClass \PhpOffice\PhpWord\Style\TOC
|
||||||
*/
|
*/
|
||||||
class TOCTest extends \PHPUnit_Framework_TestCase
|
class TOCTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Test get/set
|
* Test get/set
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ namespace PhpOffice\PhpWord\Style;
|
||||||
*
|
*
|
||||||
* @coversDefaultClass \PhpOffice\PhpWord\Style\Tab
|
* @coversDefaultClass \PhpOffice\PhpWord\Style\Tab
|
||||||
*/
|
*/
|
||||||
class TabTest extends \PHPUnit_Framework_TestCase
|
class TabTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Test get/set
|
* Test get/set
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,7 @@ use PhpOffice\PhpWord\SimpleType\JcTable;
|
||||||
*
|
*
|
||||||
* @runTestsInSeparateProcesses
|
* @runTestsInSeparateProcesses
|
||||||
*/
|
*/
|
||||||
class TableTest extends \PHPUnit_Framework_TestCase
|
class TableTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Test class construction
|
* Test class construction
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@ use PhpOffice\PhpWord\SimpleType\Jc;
|
||||||
* @coversDefaultClass \PhpOffice\PhpWord\Style\Image
|
* @coversDefaultClass \PhpOffice\PhpWord\Style\Image
|
||||||
* @runTestsInSeparateProcesses
|
* @runTestsInSeparateProcesses
|
||||||
*/
|
*/
|
||||||
class TextBoxTest extends \PHPUnit_Framework_TestCase
|
class TextBoxTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Test setting style with normal value
|
* Test setting style with normal value
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@ use PhpOffice\PhpWord\SimpleType\Jc;
|
||||||
* @coversDefaultClass \PhpOffice\PhpWord\Style
|
* @coversDefaultClass \PhpOffice\PhpWord\Style
|
||||||
* @runTestsInSeparateProcesses
|
* @runTestsInSeparateProcesses
|
||||||
*/
|
*/
|
||||||
class StyleTest extends \PHPUnit_Framework_TestCase
|
class StyleTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Add and get paragraph, font, link, title, and table styles
|
* Add and get paragraph, font, link, title, and table styles
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ namespace PhpOffice\PhpWord;
|
||||||
* @coversDefaultClass \PhpOffice\PhpWord\TemplateProcessor
|
* @coversDefaultClass \PhpOffice\PhpWord\TemplateProcessor
|
||||||
* @runTestsInSeparateProcesses
|
* @runTestsInSeparateProcesses
|
||||||
*/
|
*/
|
||||||
final class TemplateProcessorTest extends \PHPUnit_Framework_TestCase
|
final class TemplateProcessorTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Template can be saved in temporary location.
|
* Template can be saved in temporary location.
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,7 @@ use PhpOffice\PhpWord\Writer\HTML\Element\Text;
|
||||||
/**
|
/**
|
||||||
* Test class for PhpOffice\PhpWord\Writer\HTML\Element subnamespace
|
* Test class for PhpOffice\PhpWord\Writer\HTML\Element subnamespace
|
||||||
*/
|
*/
|
||||||
class ElementTest extends \PHPUnit_Framework_TestCase
|
class ElementTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Test unmatched elements
|
* Test unmatched elements
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ use PhpOffice\PhpWord\Writer\HTML\Part\Body;
|
||||||
/**
|
/**
|
||||||
* Test class for PhpOffice\PhpWord\Writer\HTML\Part subnamespace
|
* Test class for PhpOffice\PhpWord\Writer\HTML\Part subnamespace
|
||||||
*/
|
*/
|
||||||
class PartTest extends \PHPUnit_Framework_TestCase
|
class PartTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Test get parent writer exception
|
* Test get parent writer exception
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,7 @@ namespace PhpOffice\PhpWord\Writer\HTML;
|
||||||
/**
|
/**
|
||||||
* Test class for PhpOffice\PhpWord\Writer\HTML\Style subnamespace
|
* Test class for PhpOffice\PhpWord\Writer\HTML\Style subnamespace
|
||||||
*/
|
*/
|
||||||
class StyleTest extends \PHPUnit_Framework_TestCase
|
class StyleTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Test empty styles
|
* Test empty styles
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@ use PhpOffice\PhpWord\SimpleType\Jc;
|
||||||
*
|
*
|
||||||
* @runTestsInSeparateProcesses
|
* @runTestsInSeparateProcesses
|
||||||
*/
|
*/
|
||||||
class HTMLTest extends \PHPUnit_Framework_TestCase
|
class HTMLTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Construct
|
* Construct
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ use PhpOffice\Common\XMLWriter;
|
||||||
/**
|
/**
|
||||||
* Test class for PhpOffice\PhpWord\Writer\ODText\Element subnamespace
|
* Test class for PhpOffice\PhpWord\Writer\ODText\Element subnamespace
|
||||||
*/
|
*/
|
||||||
class ElementTest extends \PHPUnit_Framework_TestCase
|
class ElementTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Test unmatched elements
|
* Test unmatched elements
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@ use PhpOffice\PhpWord\Writer\ODText;
|
||||||
* @coversDefaultClass \PhpOffice\PhpWord\Writer\ODText\Part\AbstractPart
|
* @coversDefaultClass \PhpOffice\PhpWord\Writer\ODText\Part\AbstractPart
|
||||||
* @runTestsInSeparateProcesses
|
* @runTestsInSeparateProcesses
|
||||||
*/
|
*/
|
||||||
class AbstractPartTest extends \PHPUnit_Framework_TestCase
|
class AbstractPartTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* covers ::setParentWriter
|
* covers ::setParentWriter
|
||||||
|
|
|
||||||
|
|
@ -27,7 +27,7 @@ use PhpOffice\PhpWord\TestHelperDOCX;
|
||||||
* @coversDefaultClass \PhpOffice\PhpWord\Writer\ODText\Part\Content
|
* @coversDefaultClass \PhpOffice\PhpWord\Writer\ODText\Part\Content
|
||||||
* @runTestsInSeparateProcesses
|
* @runTestsInSeparateProcesses
|
||||||
*/
|
*/
|
||||||
class ContentTest extends \PHPUnit_Framework_TestCase
|
class ContentTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Executed before each method of the class
|
* Executed before each method of the class
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ use PhpOffice\Common\XMLWriter;
|
||||||
/**
|
/**
|
||||||
* Test class for PhpOffice\PhpWord\Writer\ODText\Style subnamespace
|
* Test class for PhpOffice\PhpWord\Writer\ODText\Style subnamespace
|
||||||
*/
|
*/
|
||||||
class StyleTest extends \PHPUnit_Framework_TestCase
|
class StyleTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Test empty styles
|
* Test empty styles
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@ use PhpOffice\PhpWord\SimpleType\Jc;
|
||||||
*
|
*
|
||||||
* @runTestsInSeparateProcesses
|
* @runTestsInSeparateProcesses
|
||||||
*/
|
*/
|
||||||
class ODTextTest extends \PHPUnit_Framework_TestCase
|
class ODTextTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Construct
|
* Construct
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,7 @@ use PhpOffice\PhpWord\Writer\PDF;
|
||||||
*
|
*
|
||||||
* @runTestsInSeparateProcesses
|
* @runTestsInSeparateProcesses
|
||||||
*/
|
*/
|
||||||
class DomPDFTest extends \PHPUnit_Framework_TestCase
|
class DomPDFTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Test construct
|
* Test construct
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,7 @@ use PhpOffice\PhpWord\Writer\PDF;
|
||||||
*
|
*
|
||||||
* @runTestsInSeparateProcesses
|
* @runTestsInSeparateProcesses
|
||||||
*/
|
*/
|
||||||
class MPDFTest extends \PHPUnit_Framework_TestCase
|
class MPDFTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Test construct
|
* Test construct
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,7 @@ use PhpOffice\PhpWord\Writer\PDF;
|
||||||
*
|
*
|
||||||
* @runTestsInSeparateProcesses
|
* @runTestsInSeparateProcesses
|
||||||
*/
|
*/
|
||||||
class TCPDFTest extends \PHPUnit_Framework_TestCase
|
class TCPDFTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Test construct
|
* Test construct
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@ use PhpOffice\PhpWord\Settings;
|
||||||
*
|
*
|
||||||
* @runTestsInSeparateProcesses
|
* @runTestsInSeparateProcesses
|
||||||
*/
|
*/
|
||||||
class PDFTest extends \PHPUnit_Framework_TestCase
|
class PDFTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Test normal construct
|
* Test normal construct
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ use PhpOffice\PhpWord\Writer\RTF;
|
||||||
/**
|
/**
|
||||||
* Test class for PhpOffice\PhpWord\Writer\RTF\Element subnamespace
|
* Test class for PhpOffice\PhpWord\Writer\RTF\Element subnamespace
|
||||||
*/
|
*/
|
||||||
class ElementTest extends \PHPUnit_Framework_TestCase
|
class ElementTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Test unmatched elements
|
* Test unmatched elements
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,7 @@ namespace PhpOffice\PhpWord\Writer\RTF;
|
||||||
/**
|
/**
|
||||||
* Test class for PhpOffice\PhpWord\Writer\RTF\Style subnamespace
|
* Test class for PhpOffice\PhpWord\Writer\RTF\Style subnamespace
|
||||||
*/
|
*/
|
||||||
class StyleTest extends \PHPUnit_Framework_TestCase
|
class StyleTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Test empty styles
|
* Test empty styles
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@ use PhpOffice\PhpWord\SimpleType\Jc;
|
||||||
*
|
*
|
||||||
* @runTestsInSeparateProcesses
|
* @runTestsInSeparateProcesses
|
||||||
*/
|
*/
|
||||||
class RTFTest extends \PHPUnit_Framework_TestCase
|
class RTFTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Construct
|
* Construct
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@ use PhpOffice\PhpWord\TestHelperDOCX;
|
||||||
/**
|
/**
|
||||||
* Test class for PhpOffice\PhpWord\Writer\Word2007\Element subnamespace
|
* Test class for PhpOffice\PhpWord\Writer\Word2007\Element subnamespace
|
||||||
*/
|
*/
|
||||||
class ElementTest extends \PHPUnit_Framework_TestCase
|
class ElementTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Executed before each method of the class
|
* Executed before each method of the class
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@ use PhpOffice\PhpWord\Writer\Word2007;
|
||||||
* @coversDefaultClass \PhpOffice\PhpWord\Writer\Word2007\Part\AbstractWriterPart
|
* @coversDefaultClass \PhpOffice\PhpWord\Writer\Word2007\Part\AbstractWriterPart
|
||||||
* @runTestsInSeparateProcesses
|
* @runTestsInSeparateProcesses
|
||||||
*/
|
*/
|
||||||
class AbstractPartTest extends \PHPUnit_Framework_TestCase
|
class AbstractPartTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* covers ::setParentWriter
|
* covers ::setParentWriter
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@ use PhpOffice\PhpWord\TestHelperDOCX;
|
||||||
*
|
*
|
||||||
* @runTestsInSeparateProcesses
|
* @runTestsInSeparateProcesses
|
||||||
*/
|
*/
|
||||||
class CommentsTest extends \PHPUnit_Framework_TestCase
|
class CommentsTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Executed before each method of the class
|
* Executed before each method of the class
|
||||||
|
|
|
||||||
|
|
@ -29,7 +29,7 @@ use PhpOffice\PhpWord\TestHelperDOCX;
|
||||||
*
|
*
|
||||||
* @runTestsInSeparateProcesses
|
* @runTestsInSeparateProcesses
|
||||||
*/
|
*/
|
||||||
class DocumentTest extends \PHPUnit_Framework_TestCase
|
class DocumentTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Executed before each method of the class
|
* Executed before each method of the class
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@ use PhpOffice\PhpWord\Writer\Word2007;
|
||||||
* @coversDefaultClass \PhpOffice\PhpWord\Writer\Word2007\Part\Footer
|
* @coversDefaultClass \PhpOffice\PhpWord\Writer\Word2007\Part\Footer
|
||||||
* @runTestsInSeparateProcesses
|
* @runTestsInSeparateProcesses
|
||||||
*/
|
*/
|
||||||
class FooterTest extends \PHPUnit_Framework_TestCase
|
class FooterTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Write footer
|
* Write footer
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@ use PhpOffice\PhpWord\TestHelperDOCX;
|
||||||
* @coversNothing
|
* @coversNothing
|
||||||
* @runTestsInSeparateProcesses
|
* @runTestsInSeparateProcesses
|
||||||
*/
|
*/
|
||||||
class FootnotesTest extends \PHPUnit_Framework_TestCase
|
class FootnotesTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
public function tearDown()
|
public function tearDown()
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,7 @@ use PhpOffice\PhpWord\Writer\Word2007;
|
||||||
*
|
*
|
||||||
* @runTestsInSeparateProcesses
|
* @runTestsInSeparateProcesses
|
||||||
*/
|
*/
|
||||||
class HeaderTest extends \PHPUnit_Framework_TestCase
|
class HeaderTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Write header
|
* Write header
|
||||||
|
|
|
||||||
|
|
@ -29,7 +29,7 @@ use PhpOffice\PhpWord\TestHelperDOCX;
|
||||||
* @runTestsInSeparateProcesses
|
* @runTestsInSeparateProcesses
|
||||||
* @since 0.10.0
|
* @since 0.10.0
|
||||||
*/
|
*/
|
||||||
class NumberingTest extends \PHPUnit_Framework_TestCase
|
class NumberingTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Executed before each method of the class
|
* Executed before each method of the class
|
||||||
|
|
|
||||||
|
|
@ -30,7 +30,7 @@ use PhpOffice\PhpWord\TestHelperDOCX;
|
||||||
*
|
*
|
||||||
* @coversDefaultClass \PhpOffice\PhpWord\Writer\Word2007\Part\Settings
|
* @coversDefaultClass \PhpOffice\PhpWord\Writer\Word2007\Part\Settings
|
||||||
*/
|
*/
|
||||||
class SettingsTest extends \PHPUnit_Framework_TestCase
|
class SettingsTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Executed before each method of the class
|
* Executed before each method of the class
|
||||||
|
|
|
||||||
|
|
@ -29,7 +29,7 @@ use PhpOffice\PhpWord\TestHelperDOCX;
|
||||||
* @coversDefaultClass \PhpOffice\PhpWord\Writer\Word2007\Part\Styles
|
* @coversDefaultClass \PhpOffice\PhpWord\Writer\Word2007\Part\Styles
|
||||||
* @runTestsInSeparateProcesses
|
* @runTestsInSeparateProcesses
|
||||||
*/
|
*/
|
||||||
class StylesTest extends \PHPUnit_Framework_TestCase
|
class StylesTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Executed before each method of the class
|
* Executed before each method of the class
|
||||||
|
|
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue