getFileWithoutPath() public method

Return the name of the error-file, not including the path.
public getFileWithoutPath ( ) : string
return string The name of the file, not including the path.
Esempio n. 1
0
 function test_trailingSlashInFile()
 {
     $reporter = new BugReporter (2, "bad bad error", "/non-dir/file.php", 3, "Campsite", "2.5.0");
     $reporter->m_file .= "/";
     $reporter->getFileWithoutPath();
     $this->assertError();
 }