Server IP : 172.67.158.161 / Your IP : 3.145.64.192 Web Server : LiteSpeed System : Linux business53.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : giankuin ( 1871) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/thread-self/root/home/giankuin/sieuthiweb.com.vn/wp-content/plugins/woocommerce/vendor/symfony/css-selector/Tests/Parser/Handler/ |
Upload File : |
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <[email protected]> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\CssSelector\Tests\Parser\Handler; use Symfony\Component\CssSelector\Parser\Handler\WhitespaceHandler; use Symfony\Component\CssSelector\Parser\Token; class WhitespaceHandlerTest extends AbstractHandlerTest { public function getHandleValueTestData() { return [ [' ', new Token(Token::TYPE_WHITESPACE, ' ', 0), ''], ["\n", new Token(Token::TYPE_WHITESPACE, "\n", 0), ''], ["\t", new Token(Token::TYPE_WHITESPACE, "\t", 0), ''], [' foo', new Token(Token::TYPE_WHITESPACE, ' ', 0), 'foo'], [' .foo', new Token(Token::TYPE_WHITESPACE, ' ', 0), '.foo'], ]; } public function getDontHandleValueTestData() { return [ ['>'], ['1'], ['a'], ]; } protected function generateHandler() { return new WhitespaceHandler(); } }