Ejemplo n.º 1
0
 public static function get_filepath_from_file_path($file_path)
 {
     return Util_File::get_path_partial($file_path, 3);
 }
Ejemplo n.º 2
0
 /**
  * @dataProvider get_path_partial_provider
  */
 public function test_get_path_partial($path = null, $length = null, $offset = null, $expected = null)
 {
     $test = Util_File::get_path_partial($path, $length, $offset);
     $this->assertEquals($expected, $test);
 }