Jordi Boggiano
41b8f5ebf4
CS fixes
2018-06-18 18:53:46 +02:00
Jordi Boggiano
95f62f7e3c
Merge branch '1.x'
2018-06-18 15:54:04 +02:00
Petter Blomberg
f753c68a73
Make context optional in hasRecord to not break backwards compatibility
2018-06-18 15:52:04 +02:00
Petter Blomberg
b381a973bc
Make TestHandler::hasRecord assert context, not only message
2018-06-18 15:50:12 +02:00
Jordi Boggiano
9a6bf92626
Merge branch '1.x'
2016-11-16 12:16:26 +01:00
Julien Falque
9d43c66cc6
Make protected generic methods public
2016-11-16 12:15:57 +01:00
Jordi Boggiano
21dde4dedb
Move to strict mode and fix tests
2016-05-27 13:44:00 +01:00
Jordi Boggiano
f200e79879
CS fixes
2016-05-26 20:54:06 +01:00
Jordi Boggiano
d7b415c2c8
Make TestCase class available to dependents to help with testing
2016-05-20 20:09:02 +01:00
Jordi Boggiano
ca1376bd61
CS fixes
2015-07-14 10:26:05 +01:00
Austin Hyde
f2fea2c3f5
Add TestHandler::hasRecordThatMatches($regex, $level)
2015-06-20 19:41:52 -04:00
Austin Hyde
3e8f0ecb36
Replace boilerplate with magic methods
2015-06-20 19:39:06 -04:00
Austin Hyde
29da1d8e77
Add a message to assertions to know which ones fail
2015-06-20 19:14:33 -04:00
Richard Tuin
b63e013827
Add strpos based TestHandler methods
2015-03-18 07:34:38 +01:00
Frederic G. MARAND
07aac12c72
Implement the 8 RFC3164 severity levels instead of just 6.
...
- constants defined for the 2 missing levels: NOTICE and EMERGENCY.
- add<level>() and <level>() convenience methods added.
- TestHandler and tests updated to account for the two extra levels.
- surjective mappings from the RFC3164 to only 6 levels changes to bijective.
- README updated accordingly.
2012-05-28 20:29:27 +02:00
Jordi Boggiano
7a56a1c73f
Tested the TestHandler (WTF)
2011-06-29 20:38:40 +02:00