Alternc  latest
Alternc logiel libre pour l'hébergement
m_piwikTest.php
Go to the documentation of this file.
1 <?php
2 /**
3  * Generated by PHPUnit_SkeletonGenerator 1.2.1 on 2014-03-13 at 15:55:59.
4  */
5 use PHPUnit\Framework\TestCase;
6 
7 class m_piwikTest extends TestCase
8 {
9  /**
10  * @var m_piwik
11  */
12  protected $object;
13 
14  /**
15  * Sets up the fixture, for example, opens a network connection.
16  * This method is called before a test is executed.
17  */
18  protected function setUp()
19  {
20  parent::setUp();
21  $this->object = new m_piwik;
22  }
23 
24  /**
25  * Tears down the fixture, for example, closes a network connection.
26  * This method is called after a test is executed.
27  */
28  protected function tearDown()
29  {
30  parent::tearDown();
31  }
32 
33  /**
34  * @covers m_piwik::hook_menu
35  * @todo Implement testHook_menu().
36  */
37  public function testHook_menu()
38  {
39  // Remove the following lines when you implement this test.
40  $this->markTestIncomplete(
41  'This test has not been implemented yet.'
42  );
43  }
44 
45  /**
46  * @covers m_piwik::hook_admin_del_member
47  * @todo Implement testHook_admin_del_member().
48  */
49  public function testHook_admin_del_member()
50  {
51  // Remove the following lines when you implement this test.
52  $this->markTestIncomplete(
53  'This test has not been implemented yet.'
54  );
55  }
56 
57  /**
58  * @covers m_piwik::hook_quota_get
59  * @todo Implement testHook_quota_get().
60  */
61  public function testHook_quota_get()
62  {
63  // Remove the following lines when you implement this test.
64  $this->markTestIncomplete(
65  'This test has not been implemented yet.'
66  );
67  }
68 
69  /**
70  * @covers m_piwik::url
71  * @todo Implement testUrl().
72  */
73  public function testUrl()
74  {
75  // Remove the following lines when you implement this test.
76  $this->markTestIncomplete(
77  'This test has not been implemented yet.'
78  );
79  }
80 
81  /**
82  * @covers m_piwik::user_add
83  * @todo Implement testUser_add().
84  */
85  public function testUser_add()
86  {
87  // Remove the following lines when you implement this test.
88  $this->markTestIncomplete(
89  'This test has not been implemented yet.'
90  );
91  }
92 
93  /**
94  * @covers m_piwik::user_edit
95  * @todo Implement testUser_edit().
96  */
97  public function testUser_edit()
98  {
99  // Remove the following lines when you implement this test.
100  $this->markTestIncomplete(
101  'This test has not been implemented yet.'
102  );
103  }
104 
105  /**
106  * @covers m_piwik::get_site_access
107  * @todo Implement testGet_site_access().
108  */
109  public function testGet_site_access()
110  {
111  // Remove the following lines when you implement this test.
112  $this->markTestIncomplete(
113  'This test has not been implemented yet.'
114  );
115  }
116 
117  /**
118  * @covers m_piwik::get_users_access_from_site
119  * @todo Implement testGet_users_access_from_site().
120  */
122  {
123  // Remove the following lines when you implement this test.
124  $this->markTestIncomplete(
125  'This test has not been implemented yet.'
126  );
127  }
128 
129  /**
130  * @covers m_piwik::get_user
131  * @todo Implement testGet_user().
132  */
133  public function testGet_user()
134  {
135  // Remove the following lines when you implement this test.
136  $this->markTestIncomplete(
137  'This test has not been implemented yet.'
138  );
139  }
140 
141  /**
142  * @covers m_piwik::get_alternc_users
143  * @todo Implement testGet_alternc_users().
144  */
145  public function testGet_alternc_users()
146  {
147  // Remove the following lines when you implement this test.
148  $this->markTestIncomplete(
149  'This test has not been implemented yet.'
150  );
151  }
152 
153  /**
154  * @covers m_piwik::user_delete
155  * @todo Implement testUser_delete().
156  */
157  public function testUser_delete()
158  {
159  // Remove the following lines when you implement this test.
160  $this->markTestIncomplete(
161  'This test has not been implemented yet.'
162  );
163  }
164 
165  /**
166  * @covers m_piwik::users_list
167  * @todo Implement testUsers_list().
168  */
169  public function testUsers_list()
170  {
171  // Remove the following lines when you implement this test.
172  $this->markTestIncomplete(
173  'This test has not been implemented yet.'
174  );
175  }
176 
177  /**
178  * @covers m_piwik::user_checkremote
179  * @todo Implement testUser_checkremote().
180  */
181  public function testUser_checkremote()
182  {
183  // Remove the following lines when you implement this test.
184  $this->markTestIncomplete(
185  'This test has not been implemented yet.'
186  );
187  }
188 
189  /**
190  * @covers m_piwik::user_remoteauth
191  * @todo Implement testUser_remoteauth().
192  */
193  public function testUser_remoteauth()
194  {
195  // Remove the following lines when you implement this test.
196  $this->markTestIncomplete(
197  'This test has not been implemented yet.'
198  );
199  }
200 
201  /**
202  * @covers m_piwik::user_access
203  * @todo Implement testUser_access().
204  */
205  public function testUser_access()
206  {
207  // Remove the following lines when you implement this test.
208  $this->markTestIncomplete(
209  'This test has not been implemented yet.'
210  );
211  }
212 
213  /**
214  * @covers m_piwik::site_list
215  * @todo Implement testSite_list().
216  */
217  public function testSite_list()
218  {
219  // Remove the following lines when you implement this test.
220  $this->markTestIncomplete(
221  'This test has not been implemented yet.'
222  );
223  }
224 
225  /**
226  * @covers m_piwik::site_js_tag
227  * @todo Implement testSite_js_tag().
228  */
229  public function testSite_js_tag()
230  {
231  // Remove the following lines when you implement this test.
232  $this->markTestIncomplete(
233  'This test has not been implemented yet.'
234  );
235  }
236 
237  /**
238  * @covers m_piwik::get_alternc_sites
239  * @todo Implement testGet_alternc_sites().
240  */
241  public function testGet_alternc_sites()
242  {
243  // Remove the following lines when you implement this test.
244  $this->markTestIncomplete(
245  'This test has not been implemented yet.'
246  );
247  }
248 
249  /**
250  * @covers m_piwik::get_site_list
251  * @todo Implement testGet_site_list().
252  */
253  public function testGet_site_list()
254  {
255  // Remove the following lines when you implement this test.
256  $this->markTestIncomplete(
257  'This test has not been implemented yet.'
258  );
259  }
260 
261  /**
262  * @covers m_piwik::site_add
263  * @todo Implement testSite_add().
264  */
265  public function testSite_add()
266  {
267  // Remove the following lines when you implement this test.
268  $this->markTestIncomplete(
269  'This test has not been implemented yet.'
270  );
271  }
272 
273  /**
274  * @covers m_piwik::site_delete
275  * @todo Implement testSite_delete().
276  */
277  public function testSite_delete()
278  {
279  // Remove the following lines when you implement this test.
280  $this->markTestIncomplete(
281  'This test has not been implemented yet.'
282  );
283  }
284 
285  /**
286  * @covers m_piwik::site_set_user_right
287  * @todo Implement testSite_set_user_right().
288  */
289  public function testSite_set_user_right()
290  {
291  // Remove the following lines when you implement this test.
292  $this->markTestIncomplete(
293  'This test has not been implemented yet.'
294  );
295  }
296 
297  /**
298  * @covers m_piwik::site_alias_add
299  * @todo Implement testSite_alias_add().
300  */
301  public function testSite_alias_add()
302  {
303  // Remove the following lines when you implement this test.
304  $this->markTestIncomplete(
305  'This test has not been implemented yet.'
306  );
307  }
308 
309  /**
310  * @covers m_piwik::clean_user_name
311  * @todo Implement testClean_user_name().
312  */
313  public function testClean_user_name()
314  {
315  // Remove the following lines when you implement this test.
316  $this->markTestIncomplete(
317  'This test has not been implemented yet.'
318  );
319  }
320 
321  /**
322  * @covers m_piwik::dev
323  * @todo Implement testDev().
324  */
325  public function testDev()
326  {
327  // Remove the following lines when you implement this test.
328  $this->markTestIncomplete(
329  'This test has not been implemented yet.'
330  );
331  }
332 
333  /**
334  * @covers m_piwik::call_page
335  * @todo Implement testCall_page().
336  */
337  public function testCall_page()
338  {
339  // Remove the following lines when you implement this test.
340  $this->markTestIncomplete(
341  'This test has not been implemented yet.'
342  );
343  }
344 
345  /**
346  * @covers m_piwik::call_privileged_page
347  * @todo Implement testCall_privileged_page().
348  */
349  public function testCall_privileged_page()
350  {
351  // Remove the following lines when you implement this test.
352  $this->markTestIncomplete(
353  'This test has not been implemented yet.'
354  );
355  }
356 }
This class manage piwik statistics management through AlternC, using piwik's "API".
Definition: m_piwik.php:26
setUp()
Sets up the fixture, for example, opens a network connection.
Definition: m_piwikTest.php:18
testSite_js_tag()
@covers m_piwik::site_js_tag
testSite_delete()
@covers m_piwik::site_delete
testUrl()
@covers m_piwik::url
Definition: m_piwikTest.php:73
testSite_add()
@covers m_piwik::site_add
testUser_delete()
@covers m_piwik::user_delete
testGet_users_access_from_site()
@covers m_piwik::get_users_access_from_site
testGet_alternc_sites()
@covers m_piwik::get_alternc_sites
testCall_privileged_page()
@covers m_piwik::call_privileged_page
testDev()
@covers m_piwik::dev
testSite_set_user_right()
@covers m_piwik::site_set_user_right
testHook_menu()
@covers m_piwik::hook_menu
Definition: m_piwikTest.php:37
testUser_edit()
@covers m_piwik::user_edit
Definition: m_piwikTest.php:97
testGet_site_access()
@covers m_piwik::get_site_access
testHook_admin_del_member()
@covers m_piwik::hook_admin_del_member
Definition: m_piwikTest.php:49
testUsers_list()
@covers m_piwik::users_list
testGet_alternc_users()
@covers m_piwik::get_alternc_users
testUser_checkremote()
@covers m_piwik::user_checkremote
testGet_site_list()
@covers m_piwik::get_site_list
testUser_access()
@covers m_piwik::user_access
testGet_user()
@covers m_piwik::get_user
testHook_quota_get()
@covers m_piwik::hook_quota_get
Definition: m_piwikTest.php:61
testSite_list()
@covers m_piwik::site_list
testCall_page()
@covers m_piwik::call_page
testClean_user_name()
@covers m_piwik::clean_user_name
testSite_alias_add()
@covers m_piwik::site_alias_add
tearDown()
Tears down the fixture, for example, closes a network connection.
Definition: m_piwikTest.php:28
testUser_add()
@covers m_piwik::user_add
Definition: m_piwikTest.php:85
testUser_remoteauth()
@covers m_piwik::user_remoteauth