Ejemplo n.º 1
0
 function testFindFilesStartingWithBasic()
 {
     $d = new Dir("/test/advances_dir_list/");
     $only_the_starting_results = $d->findElementsStartingWith(Dir::MODE_FILES_ONLY, "the");
     $this->assertTrue(count($only_the_starting_results[0]) + count($only_the_starting_results[1]) == 1, "Il numero dei file trovati non corrisponde!!");
 }