ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
Twig_Tests_Profiler_Dumper_HtmlTest Class Reference
+ Inheritance diagram for Twig_Tests_Profiler_Dumper_HtmlTest:
+ Collaboration diagram for Twig_Tests_Profiler_Dumper_HtmlTest:

Public Member Functions

 testDump ()
 

Additional Inherited Members

- Protected Member Functions inherited from Twig_Tests_Profiler_Dumper_AbstractTest
 getProfile ()
 

Detailed Description

Definition at line 12 of file HtmlTest.php.

Member Function Documentation

◆ testDump()

Twig_Tests_Profiler_Dumper_HtmlTest::testDump ( )

Definition at line 14 of file HtmlTest.php.

References EOF, and Twig_Tests_Profiler_Dumper_AbstractTest\getProfile().

15  {
16  $dumper = new Twig_Profiler_Dumper_Html();
17  $this->assertStringMatchesFormat(<<<EOF
18 <pre>main <span style="color: #d44">%d.%dms/%d%</span>
19 └ <span style="background-color: #ffd">index.twig</span> <span style="color: #d44">%d.%dms/%d%</span>
20  └ embedded.twig::block(<span style="background-color: #dfd">body</span>)
21  └ <span style="background-color: #ffd">embedded.twig</span>
22  │ └ <span style="background-color: #ffd">included.twig</span>
23  └ index.twig::macro(<span style="background-color: #ddf">foo</span>)
24  └ <span style="background-color: #ffd">embedded.twig</span>
25  └ <span style="background-color: #ffd">included.twig</span>
26 </pre>
27 EOF
28  , $dumper->dump($this->getProfile()));
29  }
"color:#CC0000 style
Definition: example_001.php:92
const EOF
How fgetc() reports an End Of File.
Definition: JSMin_lib.php:92
+ Here is the call graph for this function:

The documentation for this class was generated from the following file: