Commit Graph

10 Commits

Author SHA1 Message Date
Nikita Popov
a8d901a80c Remove zend_version() checks from tests 2017-01-30 22:50:25 +01:00
Aaron Piotrowski
e97d5fab35 Update exception names in tests after formatting changes. 2015-05-17 17:31:43 -05:00
Nikita Popov
3ae995f03c Tweak uncaught exception message display
This implements a reduced variant of #1226 with just the following
change:

-Fatal error: Uncaught exception 'EngineException' with message 'Call to private method foo::bar() from context ''' in %s:%d
+Fatal error: Uncaught EngineException: Call to private method foo::bar() from context '' in %s:%d

The '' wrapper around messages is very weird if the exception
message itself contains ''. Futhermore having the message wrapped
in '' doesn't work for the "and defined" suffix of
TypeExceptions.
2015-05-17 18:47:06 +02:00
Nikita Popov
c9f27ee422 Display EngineExceptions like ordinary exceptions
TypeException stays as-is for now because it uses messages that are
incompatible with the way exception messages are displayed.

closure_038.phpt and a few others now show that we're generating
too many exceptions for compound operations on undefined properties
-- this needs to be fixed in a followup.
2015-05-15 23:40:32 +02:00
Marcus Boerger
ffd6f29ef8 Prefix all engine 2 tests 2003-08-09 14:48:47 +00:00
Marcus Boerger
4a152cad0c abstract classes must now be declared abstract 2003-03-07 00:01:08 +00:00
Moriyoshi Koizumi
c775318c44 Fixed typo 2003-03-06 16:55:00 +00:00
Marcus Boerger
cbab922570 "of cause" should have been "of course" but is not needed anyway
#noticed by Zeev
2002-12-10 11:21:30 +00:00
Marcus Boerger
f01fa3e02e Updated error message 2002-12-07 23:21:50 +00:00
Marcus Boerger
8e268d2816 Adding a test for abstract class instanciation 2002-12-07 14:27:29 +00:00