Skip to content

Commit 7ec0dbb

Browse files
committed
update doc in unit test
1 parent 0c75757 commit 7ec0dbb

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

tests/Diff/Renderer/Html/HtmlRenderersTest.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ public function __construct($name = null, array $data = [], $dataName = '')
3737
parent::__construct($name, $data, $dataName);
3838
}
3939

40+
/**
41+
* @covers \jblond\Diff\Renderer\Html\SideBySide
42+
*/
4043
public function testSideBySide()
4144
{
4245
$diff = new Diff(
@@ -53,6 +56,9 @@ public function testSideBySide()
5356
$this->assertStringEqualsFile('tests/resources/htmlSideBySide.txt', $result);
5457
}
5558

59+
/**
60+
* @covers \jblond\Diff\Renderer\Html\Inline
61+
*/
5662
public function testInline()
5763
{
5864
$diff = new Diff(
@@ -69,6 +75,9 @@ public function testInline()
6975
$this->assertStringEqualsFile('tests/resources/htmlInline.txt', $result);
7076
}
7177

78+
/**
79+
* @covers \jblond\Diff\Renderer\Html\Unified
80+
*/
7281
public function testUnified()
7382
{
7483
$diff = new Diff(

tests/Diff/Renderer/Text/TextRenderersTest.php

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@ public function __construct($name = null, array $data = [], $dataName = '')
3636
parent::__construct($name, $data, $dataName);
3737
}
3838

39+
/**
40+
* Test context
41+
* @covers \jblond\Diff\Renderer\Text\Context
42+
*/
3943
public function testContext()
4044
{
4145
$diff = new Diff(
@@ -52,6 +56,10 @@ public function testContext()
5256
$this->assertStringEqualsFile('tests/resources/textContext.txt', $result);
5357
}
5458

59+
/**
60+
* Test Unified
61+
* @covers \jblond\Diff\Renderer\Text\Unified
62+
*/
5563
public function testUnified()
5664
{
5765
$diff = new Diff(
@@ -68,6 +76,10 @@ public function testUnified()
6876
$this->assertStringEqualsFile('tests/resources/textUnified.txt', $result);
6977
}
7078

79+
/**
80+
* Test Unified Cli
81+
* @covers \jblond\Diff\Renderer\Text\UnifiedCli
82+
*/
7183
public function testUnifiedCli()
7284
{
7385
$diff = new Diff(

0 commit comments

Comments
 (0)