Example #1
0
 /**
  * @dataProvider paths
  */
 public function testListFiles($basepath, $expected)
 {
     $this->assertEquals($expected, Bloge\listFiles($basepath, $basepath));
 }
Example #2
0
 public function testBrowse()
 {
     $this->assertEquals(\Bloge\listFiles(CONTENT_DIR, CONTENT_DIR), $this->content()->browse());
 }
Example #3
0
 /**
  * @{inheritDoc}
  */
 public function browse($directory = '')
 {
     return \Bloge\listFiles($this->path($directory), $this->path);
 }