Exemple #1
0
 function testFindFilesEndingWithBasic()
 {
     $d = new Dir("/test/advances_dir_list/");
     $only_image_png = $d->findElementsEndingWith(Dir::MODE_FILES_ONLY, "image.png");
     $this->assertTrue(count($only_image_png) == 2, "Il numero dei file trovati non corrisponde!!");
 }