芝麻web文件管理V1.00
编辑当前文件:/home/mgatv524/public_html/fmd/vendor/twig/twig/test/Twig/Tests/Node/SetTest.php
assertEquals($names, $node->getNode('names')); $this->assertEquals($values, $node->getNode('values')); $this->assertFalse($node->getAttribute('capture')); } public function getTests() { $tests = array(); $names = new Twig_Node(array(new Twig_Node_Expression_AssignName('foo', 1)), array(), 1); $values = new Twig_Node(array(new Twig_Node_Expression_Constant('foo', 1)), array(), 1); $node = new Twig_Node_Set(false, $names, $values, 1); $tests[] = array($node, <<
env->getCharset()); EOF ); $names = new Twig_Node(array(new Twig_Node_Expression_AssignName('foo', 1)), array(), 1); $values = new Twig_Node_Text('foo', 1); $node = new Twig_Node_Set(true, $names, $values, 1); $tests[] = array($node, <<
env->getCharset()); EOF ); $names = new Twig_Node(array(new Twig_Node_Expression_AssignName('foo', 1), new Twig_Node_Expression_AssignName('bar', 1)), array(), 1); $values = new Twig_Node(array(new Twig_Node_Expression_Constant('foo', 1), new Twig_Node_Expression_Name('bar', 1)), array(), 1); $node = new Twig_Node_Set(false, $names, $values, 1); $tests[] = array($node, <<
getVariableGetter('bar')}); EOF ); return $tests; } }