1 | <?php |
||
22 | class AttributeTest extends TestCase |
||
23 | { |
||
24 | /** @var Attribute */ |
||
25 | protected $fixture = null; |
||
26 | |||
27 | /** |
||
28 | * Initializes the fixture for this test. |
||
29 | */ |
||
30 | protected function setUp() : void |
||
34 | |||
35 | /** |
||
36 | * Tests the construct method |
||
37 | * |
||
38 | * @covers \phpDocumentor\GraphViz\Attribute::__construct |
||
39 | * @returnn void |
||
40 | */ |
||
41 | public function testConstruct() : void |
||
51 | |||
52 | /** |
||
53 | * Tests the getting and setting of the key. |
||
54 | * |
||
55 | * @covers \phpDocumentor\GraphViz\Attribute::getKey |
||
56 | * @covers \phpDocumentor\GraphViz\Attribute::setKey |
||
57 | */ |
||
58 | public function testKey() : void |
||
76 | |||
77 | /** |
||
78 | * Tests the getting and setting of the value. |
||
79 | * |
||
80 | * @covers \phpDocumentor\GraphViz\Attribute::getValue |
||
81 | * @covers \phpDocumentor\GraphViz\Attribute::setValue |
||
82 | */ |
||
83 | public function testValue() : void |
||
101 | |||
102 | /** |
||
103 | * Tests whether a string starting with a < is recognized as HTML. |
||
104 | * |
||
105 | * @covers \phpDocumentor\GraphViz\Attribute::isValueInHtml |
||
106 | */ |
||
107 | public function testIsValueInHtml() : void |
||
121 | |||
122 | /** |
||
123 | * Tests whether the toString provides a valid GraphViz attribute string. |
||
124 | * |
||
125 | * @covers \phpDocumentor\GraphViz\Attribute::__toString |
||
126 | */ |
||
127 | public function testToString() : void |
||
157 | |||
158 | /** |
||
159 | * Tests whether the toString provides a valid GraphViz attribute string. |
||
160 | * |
||
161 | * @covers \phpDocumentor\GraphViz\Attribute::__toString |
||
162 | * @covers \phpDocumentor\GraphViz\Attribute::encodeSpecials |
||
163 | */ |
||
164 | public function testToStringWithSpecials() : void |
||
187 | |||
188 | /** |
||
189 | * Tests whether the isValueContainingSpecials function |
||
190 | * |
||
191 | * @covers \phpDocumentor\GraphViz\Attribute::isValueContainingSpecials |
||
192 | */ |
||
193 | public function testIsValueContainingSpecials() : void |
||
201 | } |
||
202 |