public function Twig_Test_NodeTestCase::testCompile

@dataProvider getTests

39 calls to Twig_Test_NodeTestCase::testCompile()
Twig_Tests_Node_AutoEscapeTest::testCompile in drupal/core/vendor/twig/twig/test/Twig/Tests/Node/AutoEscapeTest.php
@covers Twig_Node_AutoEscape::compile @dataProvider getTests
Twig_Tests_Node_BlockReferenceTest::testCompile in drupal/core/vendor/twig/twig/test/Twig/Tests/Node/BlockReferenceTest.php
@covers Twig_Node_BlockReference::compile @dataProvider getTests
Twig_Tests_Node_BlockTest::testCompile in drupal/core/vendor/twig/twig/test/Twig/Tests/Node/BlockTest.php
@covers Twig_Node_Block::compile @dataProvider getTests
Twig_Tests_Node_DoTest::testCompile in drupal/core/vendor/twig/twig/test/Twig/Tests/Node/DoTest.php
@covers Twig_Node_Do::compile @dataProvider getTests
Twig_Tests_Node_Expression_ArrayTest::testCompile in drupal/core/vendor/twig/twig/test/Twig/Tests/Node/Expression/ArrayTest.php
@covers Twig_Node_Expression_Array::compile @dataProvider getTests

... See full list

39 methods override Twig_Test_NodeTestCase::testCompile()
Twig_Tests_Node_AutoEscapeTest::testCompile in drupal/core/vendor/twig/twig/test/Twig/Tests/Node/AutoEscapeTest.php
@covers Twig_Node_AutoEscape::compile @dataProvider getTests
Twig_Tests_Node_BlockReferenceTest::testCompile in drupal/core/vendor/twig/twig/test/Twig/Tests/Node/BlockReferenceTest.php
@covers Twig_Node_BlockReference::compile @dataProvider getTests
Twig_Tests_Node_BlockTest::testCompile in drupal/core/vendor/twig/twig/test/Twig/Tests/Node/BlockTest.php
@covers Twig_Node_Block::compile @dataProvider getTests
Twig_Tests_Node_DoTest::testCompile in drupal/core/vendor/twig/twig/test/Twig/Tests/Node/DoTest.php
@covers Twig_Node_Do::compile @dataProvider getTests
Twig_Tests_Node_Expression_ArrayTest::testCompile in drupal/core/vendor/twig/twig/test/Twig/Tests/Node/Expression/ArrayTest.php
@covers Twig_Node_Expression_Array::compile @dataProvider getTests

... See full list

File

drupal/core/vendor/twig/twig/lib/Twig/Test/NodeTestCase.php, line 18

Class

Twig_Test_NodeTestCase

Code

public function testCompile($node, $source, $environment = null) {
  $this
    ->assertNodeCompilation($source, $node, $environment);
}