Markus Staab
3eb5a59ebd
tests: Make sure we close all output-buffer we started beforehand
2019-06-24 16:00:23 +02:00
Thomas Flori
54bf2dfdd0
suggested changes for previous output in plaintext handler
2018-12-03 10:18:07 +01:00
Thomas Flori
88b9298110
add previous exception messages to plain text output
...
Can be disabled via `PlainTextHandler::addPreviousToOutput(false)` and
adds lines between the exception and the trace containing the exception
and line of creator.
The method `Inspector::getFrames()` already appends all frames from the
previous exceptions. So there is no need in adding the trace for each
previous exception.
IMO the test tests something that it should not test: the output of the
line number. But that should be in a separate PR. I've at least added
constants for the line numbers so that you only have to change them once
for all tests.
2018-12-03 08:24:44 +01:00
Gabriel Caruso
891f80083d
Refactoring tests
2017-12-12 03:01:58 -02:00
Luis Henrique Mulinari
06bdb879d3
Fix some FQNs, typehints and unused code/vars
2017-10-09 22:25:27 +02:00
USAMI Kenta
7d7f8fef8e
Modify private method test using TestCase::callPrivateMethod()
2017-06-25 05:40:55 +09:00
USAMI Kenta
a9ca5d639a
Revert "fixup! Add Test for PlainTextHandler::dump()"
...
This reverts commit ee0e9c08d9 .
2017-06-25 05:33:41 +09:00
USAMI Kenta
ee0e9c08d9
fixup! Add Test for PlainTextHandler::dump()
2017-06-25 05:11:27 +09:00
USAMI Kenta
8504ebd760
Fix line numbers
2017-06-24 16:02:32 +09:00
USAMI Kenta
78f1da579d
Add Test for PlainTextHandler::dump()
2017-06-24 16:02:00 +09:00
Denis Sokolov
4cbf3a8bda
Fix flaky PlainTextHandler tests by replacing exact matching of strings
2015-12-12 22:17:19 +02:00
Markus Staab
fa4206ec14
Removed PlainTextHandler->(onlyForCommandLine|outputOnlyIfCommandLine). Added Whoops\isCommandLine() as a more flexible successor.
2015-11-29 16:22:11 +01:00
Graham Campbell
0346c26963
CS fixes
2014-09-27 11:05:51 +01:00
Denis Sokolov
64b3191379
PlainTextHandlerTest: remove another brittle test
2014-03-13 11:51:45 +01:00
Denis Sokolov
2001542bca
PlainTextHandlerTest: remove a brittle test
2014-03-13 11:42:48 +01:00
Pierre-Yves Landuré
05be5673be
Add a PlainTextHandler for command line and LoggerInterface (Monolog) output.
2014-02-22 13:46:51 +01:00