1
|
|
|
<?php |
2
|
|
|
namespace Tests; |
3
|
|
|
|
4
|
|
|
use ElKuKu\Crowdin\Package\File; |
5
|
|
|
use PHPUnit_Framework_TestCase; |
6
|
|
|
use Tests\Client\Fake; |
7
|
|
|
|
8
|
|
|
/** |
9
|
|
|
* Generated by PHPUnit_SkeletonGenerator on 2016-06-07 at 11:14:24. |
10
|
|
|
*/ |
11
|
|
|
class FileTest extends PHPUnit_Framework_TestCase |
12
|
|
|
{ |
13
|
|
|
/** |
14
|
|
|
* @var File |
15
|
|
|
*/ |
16
|
|
|
protected $object; |
17
|
|
|
|
18
|
|
|
/** |
19
|
|
|
* Sets up the fixture, for example, opens a network connection. |
20
|
|
|
* This method is called before a test is executed. |
21
|
|
|
*/ |
22
|
|
|
protected function setUp() |
23
|
|
|
{ |
24
|
|
|
$this->object = new File('x', 'y', new Fake()); |
25
|
|
|
} |
26
|
|
|
|
27
|
|
|
/** |
28
|
|
|
* Tears down the fixture, for example, closes a network connection. |
29
|
|
|
* This method is called after a test is executed. |
30
|
|
|
*/ |
31
|
|
|
protected function tearDown() |
32
|
|
|
{ |
33
|
|
|
} |
34
|
|
|
|
35
|
|
|
/** |
36
|
|
|
* @covers ElKuKu\Crowdin\Package\File::add |
37
|
|
|
* @todo Implement testAdd(). |
38
|
|
|
*/ |
39
|
|
|
public function testAdd() |
40
|
|
|
{ |
41
|
|
|
// Remove the following lines when you implement this test. |
42
|
|
|
$this->markTestIncomplete( |
43
|
|
|
'This test has not been implemented yet.' |
44
|
|
|
); |
45
|
|
|
} |
46
|
|
|
|
47
|
|
|
/** |
48
|
|
|
* @covers ElKuKu\Crowdin\Package\File::update |
49
|
|
|
* @todo Implement testUpdate(). |
50
|
|
|
*/ |
51
|
|
|
public function testUpdate() |
52
|
|
|
{ |
53
|
|
|
// Remove the following lines when you implement this test. |
54
|
|
|
$this->markTestIncomplete( |
55
|
|
|
'This test has not been implemented yet.' |
56
|
|
|
); |
57
|
|
|
} |
58
|
|
|
|
59
|
|
|
/** |
60
|
|
|
* @covers ElKuKu\Crowdin\Package\File::delete |
61
|
|
|
* @todo Implement testDelete(). |
62
|
|
|
*/ |
63
|
|
|
public function testDelete() |
64
|
|
|
{ |
65
|
|
|
// Remove the following lines when you implement this test. |
66
|
|
|
$this->markTestIncomplete( |
67
|
|
|
'This test has not been implemented yet.' |
68
|
|
|
); |
69
|
|
|
} |
70
|
|
|
|
71
|
|
|
/** |
72
|
|
|
* @covers ElKuKu\Crowdin\Package\File::export |
73
|
|
|
* @todo Implement testExport(). |
74
|
|
|
*/ |
75
|
|
|
public function testExport() |
76
|
|
|
{ |
77
|
|
|
// Remove the following lines when you implement this test. |
78
|
|
|
$this->markTestIncomplete( |
79
|
|
|
'This test has not been implemented yet.' |
80
|
|
|
); |
81
|
|
|
} |
82
|
|
|
} |
83
|
|
|
|