X7ROOT File Manager
Current Path:
/home/gfecatvj/sites/realesbar/vendor/windwalker/structure/Test/Format
home
/
gfecatvj
/
sites
/
realesbar
/
vendor
/
windwalker
/
structure
/
Test
/
Format
/
📁
..
📄
HjsonFormatTest.php
(1.8 KB)
📄
IniFormatTest.php
(1.8 KB)
📄
JsonFormatTest.php
(1.8 KB)
📄
PhpFormatTest.php
(1.8 KB)
📄
XmlFormatTest.php
(1.8 KB)
📄
YamlFormatTest.php
(3.4 KB)
Editing: HjsonFormatTest.php
<?php declare(strict_types=1); /** * Part of Windwalker project Test files. @codingStandardsIgnoreStart * * @copyright Copyright (C) 2019 LYRASOFT Taiwan, Inc. * @license LGPL-2.0-or-later */ namespace Windwalker\Structure\Test\Format; use Windwalker\Structure\Format\JsonFormat; /** * Test class of JsonFormat * * @since 2.0 */ class HjsonFormatTest extends \PHPUnit\Framework\TestCase { /** * Test instance. * * @var JsonFormat */ protected $instance; /** * Sets up the fixture, for example, opens a network connection. * This method is called before a test is executed. * * @return void */ protected function setUp(): void { $this->instance = new JsonFormat(); } /** * Tears down the fixture, for example, closes a network connection. * This method is called after a test is executed. * * @return void */ protected function tearDown(): void { } /** * Method to test objectToString(). * * @return void * * @covers \Windwalker\Structure\Format\JsonFormat::structToString * @TODO Implement testObjectToString(). */ public function testObjectToString() { // Remove the following lines when you implement this test. $this->markTestIncomplete( 'This test has not been implemented yet.' ); } /** * Method to test stringToObject(). * * @return void * * @covers \Windwalker\Structure\Format\JsonFormat::stringToStruct * @TODO Implement testStringToObject(). */ public function testStringToObject() { // Remove the following lines when you implement this test. $this->markTestIncomplete( 'This test has not been implemented yet.' ); } }
Upload File
Create Folder