WordPress at a glance
class is not described

Symfony\Component\CssSelector\Tests\Node

SelectorNodeTest{} WC 1.0

No Hooks.

Return

null. Nothing.

Usage

$SelectorNodeTest = new SelectorNodeTest();
// use class methods

Methods

  1. getSpecificityValueTestData()
  2. getToStringConversionTestData()

Code of SelectorNodeTest{} WC 5.3.0

<?php
class SelectorNodeTest extends AbstractNodeTest
{
    public function getToStringConversionTestData()
    {
        return array(
            array(new SelectorNode(new ElementNode()), 'Selector[Element[*]]'),
            array(new SelectorNode(new ElementNode(), 'pseudo'), 'Selector[Element[*]::pseudo]'),
        );
    }

    public function getSpecificityValueTestData()
    {
        return array(
            array(new SelectorNode(new ElementNode()), 0),
            array(new SelectorNode(new ElementNode(), 'pseudo'), 1),
        );
    }
}