���ѧۧݧ�ӧ�� �ާ֧ߧ֧էا֧� - ���֧էѧܧ�ڧ��ӧѧ�� - /home/rickpfrv/wiki.craftaro.com/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.4 |
Github
|
.
| PHP 7.4.33 | ���֧ߧ֧�ѧ�ڧ� ����ѧߧڧ��: 0.39 |
proxy
|
phpinfo
|
���ѧ����ۧܧ�