Skip to content

Commit 8b19763

Browse files
author
Vítězslav Dvořák
committed
Refactor PartTest to remove TODO comments and incomplete test markers
1 parent 368d6a3 commit 8b19763

1 file changed

Lines changed: 0 additions & 16 deletions

File tree

tests/src/Ease/PartTest.php

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ protected function tearDown(): void {
3232

3333
/**
3434
* @covers Ease\Part::setPartName
35-
* @todo Implement testsetPartName().
3635
*/
3736
public function testsetPartName() {
3837
$testName = 'testDiv';
@@ -42,37 +41,27 @@ public function testsetPartName() {
4241

4342
/**
4443
* @covers Ease\Part::onDocumentReady
45-
* @todo Implement testonDocumentReady().
4644
*/
4745
public function testonDocumentReady() {
4846
$this->assertEquals('', $this->object->onDocumentReady());
49-
// Remove the following lines when you implement this test.
50-
$this->markTestIncomplete('This test has not been implemented yet.');
5147
}
5248

5349
/**
5450
* @covers Ease\Part::finalize
55-
* @todo Implement testfinalize().
5651
*/
5752
public function testfinalize() {
5853
$this->assertEquals('', $this->object->finalize());
59-
// Remove the following lines when you implement this test.
60-
$this->markTestIncomplete('This test has not been implemented yet.');
6154
}
6255

6356
/**
6457
* @covers Ease\Part::jQueryze
65-
* @todo Implement testjQueryze().
6658
*/
6759
public function testjQueryze() {
6860
$this->assertEquals('', $this->object->jQueryze());
69-
// Remove the following lines when you implement this test.
70-
$this->markTestIncomplete('This test has not been implemented yet.');
7161
}
7262

7363
/**
7464
* @covers Ease\Part::setPartProperties
75-
* @todo Implement testsetPartProperties().
7665
*/
7766
public function testsetPartProperties() {
7867
$testProps = ['class' => 'myClass', 'id' => 'myId'];
@@ -82,21 +71,16 @@ public function testsetPartProperties() {
8271

8372
/**
8473
* @covers Ease\Part::getPartPropertiesToString
85-
* @todo Implement testgetPartPropertiesToString().
8674
*/
8775
public function testgetPartPropertiesToString() {
8876
$this->assertEquals('', $this->object->getPartPropertiesToString());
89-
// Remove the following lines when you implement this test.
90-
$this->markTestIncomplete('This test has not been implemented yet.');
9177
}
9278

9379
/**
9480
* @covers Ease\Part::partPropertiesToString
95-
* @todo Implement testpartPropertiesToString().
9681
*/
9782
public function testpartPropertiesToString() {
9883
$testProps = ['class' => 'myClass', 'id' => 'myId'];
99-
$expected = 'class: myClass, id: myId'; // Adjust this if the actual output format is different
10084
$result = \Ease\Part::partPropertiesToString($testProps);
10185
$this->assertIsString($result);
10286
$this->assertStringContainsString('myClass', $result);

0 commit comments

Comments
 (0)