1 | <?php |
||
12 | abstract class BaseIntegrationTest extends WebTestCase |
||
13 | { |
||
14 | |||
15 | const GIT_REPOSITORY_PATH = '/tmp/gitkirepo/'; |
||
16 | |||
17 | /** |
||
18 | * @var ReferenceRepository |
||
19 | */ |
||
20 | protected $referenceRepository; |
||
21 | |||
22 | protected function setUp() |
||
29 | |||
30 | public function tearDown() |
||
34 | |||
35 | /** |
||
36 | * @param string $name |
||
37 | * |
||
38 | * @return object |
||
39 | */ |
||
40 | protected function getReference($name) |
||
44 | |||
45 | /** |
||
46 | * Init the git repository used for the tests. |
||
47 | */ |
||
48 | protected function setUpRepo() |
||
63 | |||
64 | /** |
||
65 | * Tear down the git repository used for the tests. |
||
66 | */ |
||
67 | protected function tearDownRepo() |
||
72 | |||
73 | /** |
||
74 | * @return string[] |
||
75 | */ |
||
76 | abstract protected function getFixtureClasses(); |
||
77 | } |
||
78 |