Subversion-Projekte lars-tiefland.laravel_shop

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
148 lars 1
<?php declare(strict_types=1);
2
/*
3
 * This file is part of PHPUnit.
4
 *
5
 * (c) Sebastian Bergmann <sebastian@phpunit.de>
6
 *
7
 * For the full copyright and license information, please view the LICENSE
8
 * file that was distributed with this source code.
9
 */
10
namespace PHPUnit\Runner;
11
 
12
/**
13
 * @internal This class is not covered by the backward compatibility promise for PHPUnit
14
 */
15
final class NullTestResultCache implements TestResultCache
16
{
17
    public function setState(string $testName, int $state): void
18
    {
19
    }
20
 
21
    public function getState(string $testName): int
22
    {
23
        return BaseTestRunner::STATUS_UNKNOWN;
24
    }
25
 
26
    public function setTime(string $testName, float $time): void
27
    {
28
    }
29
 
30
    public function getTime(string $testName): float
31
    {
32
        return 0;
33
    }
34
 
35
    public function load(): void
36
    {
37
    }
38
 
39
    public function persist(): void
40
    {
41
    }
42
}