4 * This file is part of Twig.
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
12 class Twig_Tests_Profiler_Dumper_BlackfireTest extends Twig_Tests_Profiler_Dumper_AbstractTest
14 public function testDump()
16 $dumper = new Twig_Profiler_Dumper_Blackfire();
18 $this->assertStringMatchesFormat(<<<EOF
19 file-format: BlackfireProbe
20 cost-dimensions: wt mu pmu
24 main()==>index.twig//1 %d %d %d
25 index.twig==>embedded.twig::block(body)//1 %d %d 0
26 index.twig==>embedded.twig//2 %d %d %d
27 embedded.twig==>included.twig//2 %d %d %d
28 index.twig==>index.twig::macro(foo)//1 %d %d %d
30 , $dumper->dump($this->getProfile()));