Skip to content

Commit c75056f

Browse files
author
Roman Syroeshko
committed
Reorganized unit tests.
1 parent ef3c3b8 commit c75056f

File tree

11 files changed

+4
-14
lines changed

11 files changed

+4
-14
lines changed

tests/PhpWord/Collection/CollectionTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77
* @license http://www.gnu.org/licenses/lgpl.txt LGPL version 3
88
*/
99

10-
namespace PhpOffice\PhpWord\Element;
10+
namespace PhpOffice\PhpWord\Collection;
1111

12-
use PhpOffice\PhpWord\Collection\Footnotes;
12+
use PhpOffice\PhpWord\Element\Footnote;
1313

1414
/**
15-
* Test class for PhpOffice\PhpWord\Element\Collection subnamespace
15+
* Test class for PhpOffice\PhpWord\Collection subnamespace
1616
*
1717
* Using concrete class Footnotes instead of AbstractCollection
1818
*/

tests/PhpWord/Reader/Word2007Test.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
namespace PhpOffice\PhpWord\Reader;
1919

2020
use PhpOffice\PhpWord\IOFactory;
21-
use PhpOffice\PhpWord\Reader\Word2007;
2221

2322
/**
2423
* Test class for PhpOffice\PhpWord\Reader\Word2007

tests/PhpWord/StyleTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
namespace PhpOffice\PhpWord;
1919

2020
use PhpOffice\PhpWord\SimpleType\Jc;
21-
use PhpOffice\PhpWord\Style;
2221

2322
/**
2423
* Test class for PhpOffice\PhpWord\Style

tests/PhpWord/Writer/HTMLTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818

1919
use PhpOffice\PhpWord\PhpWord;
2020
use PhpOffice\PhpWord\SimpleType\Jc;
21-
use PhpOffice\PhpWord\Writer\HTML;
2221

2322
/**
2423
* Test class for PhpOffice\PhpWord\Writer\HTML

tests/PhpWord/Writer/ODText/Part/AbstractPartTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
namespace PhpOffice\PhpWord\Writer\ODText\Part;
1818

1919
use PhpOffice\PhpWord\Writer\ODText;
20-
use PhpWord\Tests\TestHelperDOCX;
2120

2221
/**
2322
* Test class for PhpOffice\PhpWord\Writer\ODText\Part\AbstractPart

tests/PhpWord/Writer/ODTextTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818

1919
use PhpOffice\PhpWord\PhpWord;
2020
use PhpOffice\PhpWord\SimpleType\Jc;
21-
use PhpOffice\PhpWord\Writer\ODText;
2221

2322
/**
2423
* Test class for PhpOffice\PhpWord\Writer\ODText

tests/PhpWord/Writer/PDFTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818

1919
use PhpOffice\PhpWord\PhpWord;
2020
use PhpOffice\PhpWord\Settings;
21-
use PhpOffice\PhpWord\Writer\PDF;
2221

2322
/**
2423
* Test class for PhpOffice\PhpWord\Writer\PDF

tests/PhpWord/Writer/RTFTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818

1919
use PhpOffice\PhpWord\PhpWord;
2020
use PhpOffice\PhpWord\SimpleType\Jc;
21-
use PhpOffice\PhpWord\Writer\RTF;
2221

2322
/**
2423
* Test class for PhpOffice\PhpWord\Writer\RTF

tests/PhpWord/Writer/Word2007/Part/AbstractPartTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@
1717
namespace PhpOffice\PhpWord\Writer\Word2007\Part;
1818

1919
use PhpOffice\PhpWord\Writer\Word2007;
20-
use PhpOffice\PhpWord\Writer\Word2007\Part\AbstractWriterPart;
21-
use PhpWord\Tests\TestHelperDOCX;
2220

2321
/**
2422
* Test class for PhpOffice\PhpWord\Writer\Word2007\Part\AbstractWriterPart

tests/PhpWord/Writer/Word2007/Style/FontTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* @copyright 2010-2014 PHPWord contributors
1515
* @license http://www.gnu.org/licenses/lgpl.txt LGPL version 3
1616
*/
17-
namespace PhpOffice\PhpWord\Writer\Word2007\Part;
17+
namespace PhpOffice\PhpWord\Writer\Word2007\Style;
1818

1919
use PhpOffice\PhpWord\TestHelperDOCX;
2020

tests/PhpWord/Writer/Word2007Test.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
use PhpOffice\PhpWord\PhpWord;
2020
use PhpOffice\PhpWord\SimpleType\Jc;
2121
use PhpOffice\PhpWord\TestHelperDOCX;
22-
use PhpOffice\PhpWord\Writer\Word2007;
2322

2423
/**
2524
* Test class for PhpOffice\PhpWord\Writer\Word2007

0 commit comments

Comments
 (0)