Exemplo n.º 1
0
 public function testGetClassFilesOnlyTests()
 {
     $classFiles = $this->model->getClassFiles(false, true, false, false, false);
     $classFiles = preg_grep($this->moduleTests, $classFiles, PREG_GREP_INVERT);
     $classFiles = preg_grep($this->libTests, $classFiles, PREG_GREP_INVERT);
     $classFiles = preg_grep($this->frameworkTests, $classFiles, PREG_GREP_INVERT);
     $classFiles = preg_grep($this->toolsTests, $classFiles, PREG_GREP_INVERT);
     $classFiles = preg_grep($this->rootTestsDir, $classFiles, PREG_GREP_INVERT);
     $classFiles = preg_grep($this->setupTestsDir, $classFiles, PREG_GREP_INVERT);
     $this->assertEmpty($classFiles);
 }