@@ 29-35 (lines=7) @@ | ||
26 | ]; |
|
27 | } |
|
28 | ||
29 | public function readLineProvider() |
|
30 | { |
|
31 | return [ |
|
32 | [new FileInputStream(dirname(__FILE__) . "/../Fixtures/inputstreamreader-test3.txt"), "test1", "test2"], |
|
33 | [new StringInputStream("test1\ntest2\n"), "test1", "test2"] |
|
34 | ]; |
|
35 | } |
|
36 | ||
37 | public function closeProvider() |
|
38 | { |
|
@@ 37-43 (lines=7) @@ | ||
34 | ]; |
|
35 | } |
|
36 | ||
37 | public function closeProvider() |
|
38 | { |
|
39 | return [ |
|
40 | [new FileInputStream(dirname(__FILE__) . "/../Fixtures/inputstreamreader-test1.txt")], |
|
41 | [new StringInputStream("a\n")] |
|
42 | ]; |
|
43 | } |
|
44 | ||
45 | public function skipProvider() |
|
46 | { |
|
@@ 91-97 (lines=7) @@ | ||
88 | ]; |
|
89 | } |
|
90 | ||
91 | public function resetProvider() |
|
92 | { |
|
93 | return [ |
|
94 | [new FileInputStream(dirname(__FILE__) . "/../Fixtures/inputstreamreader-test1.txt"), 1, "a"], |
|
95 | [new StringInputStream("a\n"), 1, "a"] |
|
96 | ]; |
|
97 | } |
|
98 | ||
99 | public function markAndResetProvider() |
|
100 | { |
|
@@ 99-105 (lines=7) @@ | ||
96 | ]; |
|
97 | } |
|
98 | ||
99 | public function markAndResetProvider() |
|
100 | { |
|
101 | return [ |
|
102 | [new FileInputStream(dirname(__FILE__) . "/../Fixtures/inputstreamreader-test7.txt"), 3, "d"], |
|
103 | [new StringInputStream("abcde\n"), 3, "d"] |
|
104 | ]; |
|
105 | } |
|
106 | ||
107 | public function invalidLengthProvider() |
|
108 | { |
|
@@ 107-113 (lines=7) @@ | ||
104 | ]; |
|
105 | } |
|
106 | ||
107 | public function invalidLengthProvider() |
|
108 | { |
|
109 | return [ |
|
110 | [new FileInputStream(dirname(__FILE__) . "/../Fixtures/inputstreamreader-test1.txt"), "a"], |
|
111 | [new StringInputStream("a\n"), "a"] |
|
112 | ]; |
|
113 | } |
|
114 | } |
|
115 |