1
|
|
|
<?php |
2
|
|
|
|
3
|
|
|
/** |
4
|
|
|
* For the full copyright and license information, please view the LICENSE |
5
|
|
|
* file that was distributed with this source code. |
6
|
|
|
*/ |
7
|
|
|
|
8
|
|
|
namespace TMSolution\CronBundle\Tests\Entity; |
9
|
|
|
|
10
|
|
|
use PHPUnit_Framework_TestCase; |
11
|
|
|
use TMSolution\CronBundle\Entity\CronTask; |
12
|
|
|
/** |
13
|
|
|
* TMSolution\CronBundle\Entity\CronTask unit test |
14
|
|
|
*/ |
15
|
|
|
class CronTaskTest extends PHPUnit_Framework_TestCase |
16
|
|
|
{ |
17
|
|
|
|
18
|
|
|
|
19
|
|
|
/** |
20
|
|
|
* @covers TMSolution\CronBundle\Entity\CronTask::getId |
21
|
|
|
*/ |
22
|
|
|
public function testGetId() |
23
|
|
|
{ |
24
|
|
|
$this->assertTrue(true); |
25
|
|
|
} |
26
|
|
|
|
27
|
|
|
/** |
28
|
|
|
* @covers TMSolution\CronBundle\Entity\CronTask::getName |
29
|
|
|
*/ |
30
|
|
|
public function testGetName() |
31
|
|
|
{ |
32
|
|
|
$this->assertTrue(true); |
33
|
|
|
} |
34
|
|
|
|
35
|
|
|
/** |
36
|
|
|
* @cover TMSolution\CronBundle\Entity\CronTask::setName |
37
|
|
|
*/ |
38
|
|
|
public function testSetName() |
39
|
|
|
{ |
40
|
|
|
$this->assertTrue(true); |
41
|
|
|
} |
42
|
|
|
|
43
|
|
|
/** |
44
|
|
|
* @covers TMSolution\CronBundle\Entity\CronTask::getCommands |
45
|
|
|
*/ |
46
|
|
|
public function testGetCommands() |
47
|
|
|
{ |
48
|
|
|
$this->assertTrue(true); |
49
|
|
|
} |
50
|
|
|
|
51
|
|
|
/** |
52
|
|
|
* @cover TMSolution\CronBundle\Entity\CronTask::setCommands |
53
|
|
|
*/ |
54
|
|
|
public function testSetCommands() |
55
|
|
|
{ |
56
|
|
|
$this->assertTrue(true); |
57
|
|
|
} |
58
|
|
|
|
59
|
|
|
/** |
60
|
|
|
* @covers TMSolution\CronBundle\Entity\CronTask::getRepeatable |
61
|
|
|
*/ |
62
|
|
|
public function testGetRepeatable() |
63
|
|
|
{ |
64
|
|
|
$this->assertTrue(true); |
65
|
|
|
} |
66
|
|
|
|
67
|
|
|
/** |
68
|
|
|
* @cover TMSolution\CronBundle\Entity\CronTask::setRepeatable |
69
|
|
|
*/ |
70
|
|
|
public function testSetRepeatable() |
71
|
|
|
{ |
72
|
|
|
$this->assertTrue(true); |
73
|
|
|
} |
74
|
|
|
|
75
|
|
|
/** |
76
|
|
|
* @covers TMSolution\CronBundle\Entity\CronTask::getInterval |
77
|
|
|
*/ |
78
|
|
|
public function testGetInterval() |
79
|
|
|
{ |
80
|
|
|
$this->assertTrue(true); |
81
|
|
|
} |
82
|
|
|
|
83
|
|
|
/** |
84
|
|
|
* @cover TMSolution\CronBundle\Entity\CronTask::setInterval |
85
|
|
|
*/ |
86
|
|
|
public function testSetInterval() |
87
|
|
|
{ |
88
|
|
|
$this->assertTrue(true); |
89
|
|
|
} |
90
|
|
|
|
91
|
|
|
/** |
92
|
|
|
* @covers TMSolution\CronBundle\Entity\CronTask::getFirstRun |
93
|
|
|
*/ |
94
|
|
|
public function testGetFirstRun() |
95
|
|
|
{ |
96
|
|
|
$this->assertTrue(true); |
97
|
|
|
} |
98
|
|
|
|
99
|
|
|
/** |
100
|
|
|
* @cover TMSolution\CronBundle\Entity\CronTask::setFirstRun |
101
|
|
|
*/ |
102
|
|
|
public function testSetFirstRun() |
103
|
|
|
{ |
104
|
|
|
$this->assertTrue(true); |
105
|
|
|
} |
106
|
|
|
|
107
|
|
|
/** |
108
|
|
|
* @covers TMSolution\CronBundle\Entity\CronTask::getRunDate |
109
|
|
|
*/ |
110
|
|
|
public function testGetRunDate() |
111
|
|
|
{ |
112
|
|
|
$this->assertTrue(true); |
113
|
|
|
} |
114
|
|
|
|
115
|
|
|
/** |
116
|
|
|
* @cover TMSolution\CronBundle\Entity\CronTask::setRunDate |
117
|
|
|
*/ |
118
|
|
|
public function testSetRunDate() |
119
|
|
|
{ |
120
|
|
|
$this->assertTrue(true); |
121
|
|
|
} |
122
|
|
|
|
123
|
|
|
/** |
124
|
|
|
* @covers TMSolution\CronBundle\Entity\CronTask::getUsed |
125
|
|
|
*/ |
126
|
|
|
public function testGetUsed() |
127
|
|
|
{ |
128
|
|
|
$this->assertTrue(true); |
129
|
|
|
} |
130
|
|
|
|
131
|
|
|
/** |
132
|
|
|
* @cover TMSolution\CronBundle\Entity\CronTask::setUsed |
133
|
|
|
*/ |
134
|
|
|
public function testSetUsed() |
135
|
|
|
{ |
136
|
|
|
$this->assertTrue(true); |
137
|
|
|
} |
138
|
|
|
|
139
|
|
|
/** |
140
|
|
|
* @covers TMSolution\CronBundle\Entity\CronTask::getSuccess |
141
|
|
|
*/ |
142
|
|
|
public function testGetSuccess() |
143
|
|
|
{ |
144
|
|
|
$this->assertTrue(true); |
145
|
|
|
} |
146
|
|
|
|
147
|
|
|
/** |
148
|
|
|
* @cover TMSolution\CronBundle\Entity\CronTask::setSuccess |
149
|
|
|
*/ |
150
|
|
|
public function testSetSuccess() |
151
|
|
|
{ |
152
|
|
|
$this->assertTrue(true); |
153
|
|
|
} |
154
|
|
|
|
155
|
|
|
/** |
156
|
|
|
* @covers TMSolution\CronBundle\Entity\CronTask::getDisabled |
157
|
|
|
*/ |
158
|
|
|
public function testGetDisabled() |
159
|
|
|
{ |
160
|
|
|
$this->assertTrue(true); |
161
|
|
|
} |
162
|
|
|
|
163
|
|
|
/** |
164
|
|
|
* @cover TMSolution\CronBundle\Entity\CronTask::setDisabled |
165
|
|
|
*/ |
166
|
|
|
public function testSetDisabled() |
167
|
|
|
{ |
168
|
|
|
$this->assertTrue(true); |
169
|
|
|
} |
170
|
|
|
|
171
|
|
|
/** |
172
|
|
|
* @covers TMSolution\CronBundle\Entity\CronTask::getExecType |
173
|
|
|
*/ |
174
|
|
|
public function testGetExecType() |
175
|
|
|
{ |
176
|
|
|
$this->assertTrue(true); |
177
|
|
|
} |
178
|
|
|
|
179
|
|
|
/** |
180
|
|
|
* @cover TMSolution\CronBundle\Entity\CronTask::setExecType |
181
|
|
|
*/ |
182
|
|
|
public function testSetExecType() |
183
|
|
|
{ |
184
|
|
|
$this->assertTrue(true); |
185
|
|
|
} |
186
|
|
|
|
187
|
|
|
} |