Skip to content

Commit ef3c3b8

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

File tree

125 files changed

+119
-237
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

125 files changed

+119
-237
lines changed

tests/PhpWord/Tests/AutoloaderTest.php renamed to tests/PhpWord/AutoloaderTest.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,7 @@
1515
* @license http://www.gnu.org/licenses/lgpl.txt LGPL version 3
1616
*/
1717

18-
namespace PhpOffice\PhpWord\Tests;
19-
20-
use PhpOffice\PhpWord\Autoloader;
18+
namespace PhpOffice\PhpWord;
2119

2220
/**
2321
* Test class for PhpOffice\PhpWord\Autoloader

tests/PhpWord/Tests/Collection/CollectionTest.php renamed to tests/PhpWord/Collection/CollectionTest.php

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

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

1212
use PhpOffice\PhpWord\Collection\Footnotes;
13-
use PhpOffice\PhpWord\Element\Footnote;
1413

1514
/**
1615
* Test class for PhpOffice\PhpWord\Element\Collection subnamespace

tests/PhpWord/Tests/Element/AbstractElementTest.php renamed to tests/PhpWord/Element/AbstractElementTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* @license http://www.gnu.org/licenses/lgpl.txt LGPL version 3
1616
*/
1717

18-
namespace PhpOffice\PhpWord\Tests\Element;
18+
namespace PhpOffice\PhpWord\Element;
1919

2020
/**
2121
* Test class for PhpOffice\PhpWord\Element\AbstractElement

tests/PhpWord/Tests/Element/CellTest.php renamed to tests/PhpWord/Element/CellTest.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,7 @@
1515
* @license http://www.gnu.org/licenses/lgpl.txt LGPL version 3
1616
*/
1717

18-
namespace PhpOffice\PhpWord\Tests\Element;
19-
20-
use PhpOffice\PhpWord\Element\Cell;
18+
namespace PhpOffice\PhpWord\Element;
2119

2220
/**
2321
* Test class for PhpOffice\PhpWord\Element\Cell

tests/PhpWord/Tests/Element/CheckBoxTest.php renamed to tests/PhpWord/Element/CheckBoxTest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,8 @@
1515
* @license http://www.gnu.org/licenses/lgpl.txt LGPL version 3
1616
*/
1717

18-
namespace PhpOffice\PhpWord\Tests\Element;
18+
namespace PhpOffice\PhpWord\Element;
1919

20-
use PhpOffice\PhpWord\Element\CheckBox;
2120
use PhpOffice\PhpWord\SimpleType\Jc;
2221
use PhpOffice\PhpWord\Style\Font;
2322

tests/PhpWord/Tests/Element/FieldTest.php renamed to tests/PhpWord/Element/FieldTest.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,7 @@
1515
* @license http://www.gnu.org/licenses/lgpl.txt LGPL version 3
1616
*/
1717

18-
namespace PhpOffice\PhpWord\Tests\Element;
19-
20-
use PhpOffice\PhpWord\Element\Field;
18+
namespace PhpOffice\PhpWord\Element;
2119

2220
/**
2321
* Test class for PhpOffice\PhpWord\Element\Field

tests/PhpWord/Tests/Element/FooterTest.php renamed to tests/PhpWord/Element/FooterTest.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,7 @@
1515
* @license http://www.gnu.org/licenses/lgpl.txt LGPL version 3
1616
*/
1717

18-
namespace PhpOffice\PhpWord\Tests\Element;
19-
20-
use PhpOffice\PhpWord\Element\Footer;
18+
namespace PhpOffice\PhpWord\Element;
2119

2220
/**
2321
* Test class for PhpOffice\PhpWord\Element\Footer

tests/PhpWord/Tests/Element/FootnoteTest.php renamed to tests/PhpWord/Element/FootnoteTest.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,7 @@
1515
* @license http://www.gnu.org/licenses/lgpl.txt LGPL version 3
1616
*/
1717

18-
namespace PhpOffice\PhpWord\Tests\Element;
19-
20-
use PhpOffice\PhpWord\Element\Footnote;
18+
namespace PhpOffice\PhpWord\Element;
2119

2220
/**
2321
* Test class for PhpOffice\PhpWord\Element\Footnote

tests/PhpWord/Tests/Element/HeaderTest.php renamed to tests/PhpWord/Element/HeaderTest.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,7 @@
1515
* @license http://www.gnu.org/licenses/lgpl.txt LGPL version 3
1616
*/
1717

18-
namespace PhpOffice\PhpWord\Tests\Element;
19-
20-
use PhpOffice\PhpWord\Element\Header;
18+
namespace PhpOffice\PhpWord\Element;
2119

2220
/**
2321
* Test class for PhpOffice\PhpWord\Element\Header

tests/PhpWord/Tests/Element/ImageTest.php renamed to tests/PhpWord/Element/ImageTest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,8 @@
1515
* @license http://www.gnu.org/licenses/lgpl.txt LGPL version 3
1616
*/
1717

18-
namespace PhpOffice\PhpWord\Tests\Element;
18+
namespace PhpOffice\PhpWord\Element;
1919

20-
use PhpOffice\PhpWord\Element\Image;
2120
use PhpOffice\PhpWord\SimpleType\Jc;
2221

2322
/**

0 commit comments

Comments
 (0)