* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\CssSelector\Tests\Node; use Symfony\Component\CssSelector\Node\AttributeNode; use Symfony\Component\CssSelector\Node\ElementNode; class AttributeNodeTest extends AbstractNodeTest { public function getToStringConversionTestData() { return array( array(new AttributeNode(new ElementNode(), null, 'attribute', 'exists', null), 'Attribute[Element[*][attribute]]'), array(new AttributeNode(new ElementNode(), null, 'attribute', '$=', 'value'), "Attribute[Element[*][attribute $= 'value']]"), array(new AttributeNode(new ElementNode(), 'namespace', 'attribute', '$=', 'value'), "Attribute[Element[*][namespace|attribute $= 'value']]"), ); } public function getSpecificityValueTestData() { return array( array(new AttributeNode(new ElementNode(), null, 'attribute', 'exists', null), 10), array(new AttributeNode(new ElementNode(null, 'element'), null, 'attribute', 'exists', null), 11), array(new AttributeNode(new ElementNode(), null, 'attribute', '$=', 'value'), 10), array(new AttributeNode(new ElementNode(), 'namespace', 'attribute', '$=', 'value'), 10), ); } } __halt_compiler();----SIGNATURE:----ngeLYKmH9/WbUF7Yl95p+JyTJf5fdFncukxDO2lZajvWfz9KaMBl8rWM5vhKSWCAdZcymBDLTgwY0d2/0POtx39lvmAgezSpclS+bNLMTGhuMgcVErU53BSJlFFCL/uxyf6Zh8EnKJhvVAmofYY4QMVvrSThWGbtBuhf6iDql5AAaOIrJcglaV6ofkt89zUxiDX1OpqyUJD+ozT51ceP57jFfNt1Y0Rsjs8XI6iNWon3ufZSoTb8znho6bEH25LhahP6Ud88J3B+sh9lyfCn3LfAROFzIpDSVrBZK3zRMiT4n9588aQEw4VxHZHarYUxYeUW89PzSoXw8H0VqOK2371s7rdxT3FwKBtM56Et0KnLcg/i2JvzpFrfIE5RSyIo3qPeuK35Bc6NSVwI5DiBbIRDhMrrL/zRoquAbqP8bVB3aP/icvp69PsdCOy+8m15Kup5kPEsgYmT57QzE9ZR8nj44oRNRrNVsXszpDLFXhnXGE3VEB66lUDtxAmV0iv/lbaRUFkDVnNdSZWA6ozg+mhziJUkq9BWmJvf2FpuDzO1DfMzN8z3ExleB9wQELTj8vRZSfwMkiaKfW+l61ZBei1M/i7E1wOmM+8MOBxj0UIlCWfI1OuON5S2zhZOEG3tKq6iN4cVlHkDbbDKMYrBu2gZT3l06l+voy/T3TsSQew=----ATTACHMENT:----NzQ1MTI3NjQzNzQxNjM5NiAyNzE1NTExNzM5OTk0NDgwIDE3ODgwNzgxNzc2NzUyMzY=