mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-06 01:51:51 +00:00
tests: strip useless phpdoc
This commit is contained in:
parent
0b550b346b
commit
500fd2d842
@ -110,8 +110,6 @@ class BlockTest extends TestCase{
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @dataProvider blockGetProvider
|
* @dataProvider blockGetProvider
|
||||||
* @param int $id
|
|
||||||
* @param int $meta
|
|
||||||
*/
|
*/
|
||||||
public function testBlockGet(int $id, int $meta) : void{
|
public function testBlockGet(int $id, int $meta) : void{
|
||||||
$block = BlockFactory::get($id, $meta);
|
$block = BlockFactory::get($id, $meta);
|
||||||
|
@ -79,9 +79,6 @@ class ItemTest extends TestCase{
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @dataProvider itemFromStringProvider
|
* @dataProvider itemFromStringProvider
|
||||||
* @param string $string
|
|
||||||
* @param int $id
|
|
||||||
* @param int $meta
|
|
||||||
*/
|
*/
|
||||||
public function testFromStringSingle(string $string, int $id, int $meta) : void{
|
public function testFromStringSingle(string $string, int $id, int $meta) : void{
|
||||||
$item = ItemFactory::fromStringSingle($string);
|
$item = ItemFactory::fromStringSingle($string);
|
||||||
|
@ -82,8 +82,6 @@ class RegionLoaderTest extends TestCase{
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @dataProvider outOfBoundsCoordsProvider
|
* @dataProvider outOfBoundsCoordsProvider
|
||||||
* @param int $x
|
|
||||||
* @param int $z
|
|
||||||
*
|
*
|
||||||
* @throws ChunkException
|
* @throws ChunkException
|
||||||
* @throws \InvalidArgumentException
|
* @throws \InvalidArgumentException
|
||||||
@ -109,8 +107,6 @@ class RegionLoaderTest extends TestCase{
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @dataProvider outOfBoundsCoordsProvider
|
* @dataProvider outOfBoundsCoordsProvider
|
||||||
* @param int $x
|
|
||||||
* @param int $z
|
|
||||||
*
|
*
|
||||||
* @throws \InvalidArgumentException
|
* @throws \InvalidArgumentException
|
||||||
* @throws \pocketmine\level\format\io\exception\CorruptedChunkException
|
* @throws \pocketmine\level\format\io\exception\CorruptedChunkException
|
||||||
|
@ -57,7 +57,6 @@ class StupidJsonDecodeTest extends TestCase{
|
|||||||
/**
|
/**
|
||||||
* @dataProvider stupidJsonDecodeProvider
|
* @dataProvider stupidJsonDecodeProvider
|
||||||
*
|
*
|
||||||
* @param string $brokenJson
|
|
||||||
* @param mixed $expect
|
* @param mixed $expect
|
||||||
*
|
*
|
||||||
* @throws \ReflectionException
|
* @throws \ReflectionException
|
||||||
|
@ -61,7 +61,6 @@ class ConfigTest extends TestCase{
|
|||||||
/**
|
/**
|
||||||
* @dataProvider fixYamlIndexesProvider
|
* @dataProvider fixYamlIndexesProvider
|
||||||
*
|
*
|
||||||
* @param string $test
|
|
||||||
* @param mixed[] $expected
|
* @param mixed[] $expected
|
||||||
*/
|
*/
|
||||||
public function testFixYamlIndexes(string $test, array $expected) : void{
|
public function testFixYamlIndexes(string $test, array $expected) : void{
|
||||||
|
@ -51,7 +51,6 @@ class UtilsTest extends TestCase{
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param string $docComment
|
|
||||||
* @dataProvider parseDocCommentNewlineProvider
|
* @dataProvider parseDocCommentNewlineProvider
|
||||||
*/
|
*/
|
||||||
public function testParseDocCommentNewlines(string $docComment) : void{
|
public function testParseDocCommentNewlines(string $docComment) : void{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user