1 | <?php |
||
9 | class WildcardTest extends TestCase |
||
10 | { |
||
11 | /** |
||
12 | */ |
||
13 | public function testConstructCorrectInstance() |
||
19 | |||
20 | /** |
||
21 | * @covers OpCacheGUI\Network\Ip\Wildcard::isValid |
||
22 | */ |
||
23 | public function testIsValidValidWithOneWildcard() |
||
29 | |||
30 | /** |
||
31 | * @covers OpCacheGUI\Network\Ip\Wildcard::isValid |
||
32 | */ |
||
33 | public function testIsValidValidWithTwoWildcards() |
||
39 | |||
40 | /** |
||
41 | * @covers OpCacheGUI\Network\Ip\Wildcard::isValid |
||
42 | */ |
||
43 | public function testIsValidValidWithThreeWildcards() |
||
49 | |||
50 | /** |
||
51 | * @covers OpCacheGUI\Network\Ip\Wildcard::isValid |
||
52 | */ |
||
53 | public function testIsValidNotValidCidr() |
||
59 | |||
60 | /** |
||
61 | * @covers OpCacheGUI\Network\Ip\Wildcard::isValid |
||
62 | */ |
||
63 | public function testIsValidNotValidLocalhost() |
||
69 | |||
70 | /** |
||
71 | * @covers OpCacheGUI\Network\Ip\Wildcard::isValid |
||
72 | */ |
||
73 | public function testIsValidNotValidSingle() |
||
79 | |||
80 | /** |
||
81 | * @covers OpCacheGUI\Network\Ip\Wildcard::isValid |
||
82 | */ |
||
83 | public function testIsValidNotValidRange() |
||
89 | |||
90 | /** |
||
91 | * @covers OpCacheGUI\Network\Ip\Wildcard::isValid |
||
92 | */ |
||
93 | public function testIsValidNotValidAllWildcards() |
||
99 | |||
100 | /** |
||
101 | * @covers OpCacheGUI\Network\Ip\Wildcard::convert |
||
102 | */ |
||
103 | public function testConvertOneWildcard() |
||
109 | |||
110 | /** |
||
111 | * @covers OpCacheGUI\Network\Ip\Wildcard::convert |
||
112 | */ |
||
113 | public function testConvertTwoWildcards() |
||
119 | |||
120 | /** |
||
121 | * @covers OpCacheGUI\Network\Ip\Wildcard::convert |
||
122 | */ |
||
123 | public function testConvertThreeWildcards() |
||
129 | } |
||
130 |