()
| 42 | } |
| 43 | |
| 44 | public function test_seek() |
| 45 | { |
| 46 | $strio = new AvroStringIO('abcdefghijklmnopqrstuvwxyz'); |
| 47 | $strio->seek(4, AvroIO::SEEK_SET); |
| 48 | $this->assertEquals('efgh', $strio->read(4)); |
| 49 | $strio->seek(4, AvroIO::SEEK_CUR); |
| 50 | $this->assertEquals('mnop', $strio->read(4)); |
| 51 | $strio->seek(-4, AvroIO::SEEK_END); |
| 52 | $this->assertEquals('wxyz', $strio->read(4)); |
| 53 | } |
| 54 | |
| 55 | public function test_tell() |
| 56 | { |
nothing calls this directly
no test coverage detected