1 | <?php |
||
11 | class GithubCommitStatusConverterTest extends \PHPUnit_Framework_TestCase |
||
12 | { |
||
13 | /** |
||
14 | * @dataProvider provideConversionData |
||
15 | * |
||
16 | * @param $repoData |
||
17 | */ |
||
18 | public function testConvert($repoData) |
||
29 | |||
30 | /** |
||
31 | * @return array |
||
32 | */ |
||
33 | public function provideConversionData() |
||
46 | |||
47 | /** |
||
48 | * @dataProvider provideConversionDataFromMultipleStatuses |
||
49 | * |
||
50 | * @param $repoData |
||
51 | */ |
||
52 | public function testConvertFromMultipleStatuses($repoData) |
||
63 | |||
64 | /** |
||
65 | * @return array |
||
66 | */ |
||
67 | public function provideConversionDataFromMultipleStatuses() |
||
79 | |||
80 | /** |
||
81 | * @return m\MockInterface |
||
82 | */ |
||
83 | protected function provideTestRepo() |
||
92 | |||
93 | /** |
||
94 | * @return SampleDataProvider |
||
95 | */ |
||
96 | protected function getDataProvider() |
||
100 | } |
||
101 |