forked from facile-it/paraunit
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
facile-it#207 - Adding log-junuit example for v1
- Loading branch information
1 parent
31739b6
commit d62caa4
Showing
12 changed files
with
421 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Paraunit\Util\Log\Helpers; | ||
|
||
class DOMDocumentAttributes | ||
{ | ||
public const BASE_SUITE_ATTRIBUTES = [ | ||
'name' => 'All Suites', | ||
'tests' => '0', | ||
'assertions' => '0', | ||
'errors' => '0', | ||
'failures' => '0', | ||
'skipped' => '0', | ||
'time' => '0', | ||
]; | ||
|
||
public function getBaseSuiteAttributes(): array | ||
{ | ||
return self::BASE_SUITE_ATTRIBUTES; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<?php | ||
|
||
namespace Paraunit\Util\Log\Interfaces; | ||
|
||
interface LogInterface | ||
{ | ||
public function setInputFileName(string $inputFileName): void; | ||
|
||
public function checkIfInitialized(): bool; | ||
|
||
public function generateLogForTest(string $testFilename): string; | ||
|
||
public function getExtension(): string; | ||
|
||
public function setExtension(string $inputFileName): void; | ||
|
||
public function getDirname(): string; | ||
|
||
public function setDirname(string $inputFileName): void; | ||
|
||
public function getBasename(): string; | ||
|
||
public function setBasename(string $inputFileName): void; | ||
|
||
public function generate(): int|string; | ||
|
||
public function getFiles(): array; | ||
|
||
public function getInputFileName(): ?string; | ||
|
||
public function getTempDirectory(): array|string; | ||
} |
Oops, something went wrong.