Tests which produce fatal errors

From: Date: Thu, 24 Nov 2011 15:55:03 +0000
Subject: Tests which produce fatal errors
Groups: php.qa 
Request: Send a blank email to php-qa+get-65990@lists.php.net to get a copy of this message
I'm writing new getter/setter property syntax and associated functionality and working on the test cases now. I have one test that tests that a privately over-ridden accessor is not accessible externally to the object which produces a fatal error. This is the expected result and the output is: Fatal error: Cannot get private property TimePeriod::$Hours from context '' in /opt/trunk/tests/classes/accessor_std_private_error.php on line 14 The issue here though is that it has the path to the generated test php file, which I assume I should not be putting in the expected output. What's the right way to do this? Thanks, -Clint

« previous php.qa (#65990) next »