squeeze($test) . "\n"; $xfail ? $this->assertFalse($expe === $test, "Xfail {$file}") : $this->assertSame($expe, $test, "Testing {$file}"); } } function provideUglifyJs() { $tests = array(); if ($h = opendir(__DIR__ . '/uglifyjs/test/')) { while ($file = readdir($h)) { $tests[] = array($file); } } return $tests; } }