Файловый менеджер - Редактировать - /var/www/html/mediawiki-1.43.1/vendor/wikimedia/parsoid/tests/phpunit/Parsoid/Html2Wt/SingleLineContextTest.php
Ðазад
<?php namespace Test\Parsoid\Html2Wt; use PHPUnit\Framework\TestCase; use Wikimedia\Parsoid\Html2Wt\SingleLineContext; class SingleLineContextTest extends TestCase { /** * @covers \Wikimedia\Parsoid\Html2Wt\SingleLineContext */ public function testEnforced() { $ctx = new SingleLineContext(); $this->assertFalse( $ctx->enforced() ); $ctx->enforce(); $this->assertTrue( $ctx->enforced() ); $ctx->enforce(); $this->assertTrue( $ctx->enforced() ); $ctx->disable(); $this->assertFalse( $ctx->enforced() ); $ctx->disable(); $this->assertFalse( $ctx->enforced() ); $ctx->enforce(); $this->assertTrue( $ctx->enforced() ); $ctx->pop(); $this->assertFalse( $ctx->enforced() ); $ctx->pop(); $this->assertFalse( $ctx->enforced() ); $ctx->pop(); $this->assertTrue( $ctx->enforced() ); } }
| ver. 1.1 | |
.
| PHP 8.4.18 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка