Alternc  latest
Alternc logiel libre pour l'hébergement
m_piwikTest Class Reference
+ Inheritance diagram for m_piwikTest:

Public Member Functions

 testHook_menu ()
 @covers m_piwik::hook_menu More...
 
 testHook_admin_del_member ()
 @covers m_piwik::hook_admin_del_member More...
 
 testHook_quota_get ()
 @covers m_piwik::hook_quota_get More...
 
 testUrl ()
 @covers m_piwik::url More...
 
 testUser_add ()
 @covers m_piwik::user_add More...
 
 testUser_edit ()
 @covers m_piwik::user_edit More...
 
 testGet_site_access ()
 @covers m_piwik::get_site_access More...
 
 testGet_users_access_from_site ()
 @covers m_piwik::get_users_access_from_site More...
 
 testGet_user ()
 @covers m_piwik::get_user More...
 
 testGet_alternc_users ()
 @covers m_piwik::get_alternc_users More...
 
 testUser_delete ()
 @covers m_piwik::user_delete More...
 
 testUsers_list ()
 @covers m_piwik::users_list More...
 
 testUser_checkremote ()
 @covers m_piwik::user_checkremote More...
 
 testUser_remoteauth ()
 @covers m_piwik::user_remoteauth More...
 
 testUser_access ()
 @covers m_piwik::user_access More...
 
 testSite_list ()
 @covers m_piwik::site_list More...
 
 testSite_js_tag ()
 @covers m_piwik::site_js_tag More...
 
 testGet_alternc_sites ()
 @covers m_piwik::get_alternc_sites More...
 
 testGet_site_list ()
 @covers m_piwik::get_site_list More...
 
 testSite_add ()
 @covers m_piwik::site_add More...
 
 testSite_delete ()
 @covers m_piwik::site_delete More...
 
 testSite_set_user_right ()
 @covers m_piwik::site_set_user_right More...
 
 testSite_alias_add ()
 @covers m_piwik::site_alias_add More...
 
 testClean_user_name ()
 @covers m_piwik::clean_user_name More...
 
 testDev ()
 @covers m_piwik::dev More...
 
 testCall_page ()
 @covers m_piwik::call_page More...
 
 testCall_privileged_page ()
 @covers m_piwik::call_privileged_page More...
 

Protected Member Functions

 setUp ()
 Sets up the fixture, for example, opens a network connection. More...
 
 tearDown ()
 Tears down the fixture, for example, closes a network connection. More...
 

Protected Attributes

 $object
 

Detailed Description

Definition at line 7 of file m_piwikTest.php.

Member Function Documentation

◆ setUp()

m_piwikTest::setUp ( )
protected

Sets up the fixture, for example, opens a network connection.

This method is called before a test is executed.

Definition at line 18 of file m_piwikTest.php.

19  {
20  parent::setUp();
21  $this->object = new m_piwik;
22  }
This class manage piwik statistics management through AlternC, using piwik's "API".
Definition: m_piwik.php:26

◆ tearDown()

m_piwikTest::tearDown ( )
protected

Tears down the fixture, for example, closes a network connection.

This method is called after a test is executed.

Definition at line 28 of file m_piwikTest.php.

29  {
30  parent::tearDown();
31  }

◆ testCall_page()

m_piwikTest::testCall_page ( )

@covers m_piwik::call_page

Todo:
Implement testCall_page().

Definition at line 337 of file m_piwikTest.php.

338  {
339  // Remove the following lines when you implement this test.
340  $this->markTestIncomplete(
341  'This test has not been implemented yet.'
342  );
343  }

◆ testCall_privileged_page()

m_piwikTest::testCall_privileged_page ( )

@covers m_piwik::call_privileged_page

Todo:
Implement testCall_privileged_page().

Definition at line 349 of file m_piwikTest.php.

350  {
351  // Remove the following lines when you implement this test.
352  $this->markTestIncomplete(
353  'This test has not been implemented yet.'
354  );
355  }

◆ testClean_user_name()

m_piwikTest::testClean_user_name ( )

@covers m_piwik::clean_user_name

Todo:
Implement testClean_user_name().

Definition at line 313 of file m_piwikTest.php.

314  {
315  // Remove the following lines when you implement this test.
316  $this->markTestIncomplete(
317  'This test has not been implemented yet.'
318  );
319  }

◆ testDev()

m_piwikTest::testDev ( )

@covers m_piwik::dev

Todo:
Implement testDev().

Definition at line 325 of file m_piwikTest.php.

326  {
327  // Remove the following lines when you implement this test.
328  $this->markTestIncomplete(
329  'This test has not been implemented yet.'
330  );
331  }

◆ testGet_alternc_sites()

m_piwikTest::testGet_alternc_sites ( )

@covers m_piwik::get_alternc_sites

Todo:
Implement testGet_alternc_sites().

Definition at line 241 of file m_piwikTest.php.

242  {
243  // Remove the following lines when you implement this test.
244  $this->markTestIncomplete(
245  'This test has not been implemented yet.'
246  );
247  }

◆ testGet_alternc_users()

m_piwikTest::testGet_alternc_users ( )

@covers m_piwik::get_alternc_users

Todo:
Implement testGet_alternc_users().

Definition at line 145 of file m_piwikTest.php.

146  {
147  // Remove the following lines when you implement this test.
148  $this->markTestIncomplete(
149  'This test has not been implemented yet.'
150  );
151  }

◆ testGet_site_access()

m_piwikTest::testGet_site_access ( )

@covers m_piwik::get_site_access

Todo:
Implement testGet_site_access().

Definition at line 109 of file m_piwikTest.php.

110  {
111  // Remove the following lines when you implement this test.
112  $this->markTestIncomplete(
113  'This test has not been implemented yet.'
114  );
115  }

◆ testGet_site_list()

m_piwikTest::testGet_site_list ( )

@covers m_piwik::get_site_list

Todo:
Implement testGet_site_list().

Definition at line 253 of file m_piwikTest.php.

254  {
255  // Remove the following lines when you implement this test.
256  $this->markTestIncomplete(
257  'This test has not been implemented yet.'
258  );
259  }

◆ testGet_user()

m_piwikTest::testGet_user ( )

@covers m_piwik::get_user

Todo:
Implement testGet_user().

Definition at line 133 of file m_piwikTest.php.

134  {
135  // Remove the following lines when you implement this test.
136  $this->markTestIncomplete(
137  'This test has not been implemented yet.'
138  );
139  }

◆ testGet_users_access_from_site()

m_piwikTest::testGet_users_access_from_site ( )

@covers m_piwik::get_users_access_from_site

Todo:
Implement testGet_users_access_from_site().

Definition at line 121 of file m_piwikTest.php.

122  {
123  // Remove the following lines when you implement this test.
124  $this->markTestIncomplete(
125  'This test has not been implemented yet.'
126  );
127  }

◆ testHook_admin_del_member()

m_piwikTest::testHook_admin_del_member ( )

@covers m_piwik::hook_admin_del_member

Todo:
Implement testHook_admin_del_member().

Definition at line 49 of file m_piwikTest.php.

50  {
51  // Remove the following lines when you implement this test.
52  $this->markTestIncomplete(
53  'This test has not been implemented yet.'
54  );
55  }

◆ testHook_menu()

m_piwikTest::testHook_menu ( )

@covers m_piwik::hook_menu

Todo:
Implement testHook_menu().

Definition at line 37 of file m_piwikTest.php.

38  {
39  // Remove the following lines when you implement this test.
40  $this->markTestIncomplete(
41  'This test has not been implemented yet.'
42  );
43  }

◆ testHook_quota_get()

m_piwikTest::testHook_quota_get ( )

@covers m_piwik::hook_quota_get

Todo:
Implement testHook_quota_get().

Definition at line 61 of file m_piwikTest.php.

62  {
63  // Remove the following lines when you implement this test.
64  $this->markTestIncomplete(
65  'This test has not been implemented yet.'
66  );
67  }

◆ testSite_add()

m_piwikTest::testSite_add ( )

@covers m_piwik::site_add

Todo:
Implement testSite_add().

Definition at line 265 of file m_piwikTest.php.

266  {
267  // Remove the following lines when you implement this test.
268  $this->markTestIncomplete(
269  'This test has not been implemented yet.'
270  );
271  }

◆ testSite_alias_add()

m_piwikTest::testSite_alias_add ( )

@covers m_piwik::site_alias_add

Todo:
Implement testSite_alias_add().

Definition at line 301 of file m_piwikTest.php.

302  {
303  // Remove the following lines when you implement this test.
304  $this->markTestIncomplete(
305  'This test has not been implemented yet.'
306  );
307  }

◆ testSite_delete()

m_piwikTest::testSite_delete ( )

@covers m_piwik::site_delete

Todo:
Implement testSite_delete().

Definition at line 277 of file m_piwikTest.php.

278  {
279  // Remove the following lines when you implement this test.
280  $this->markTestIncomplete(
281  'This test has not been implemented yet.'
282  );
283  }

◆ testSite_js_tag()

m_piwikTest::testSite_js_tag ( )

@covers m_piwik::site_js_tag

Todo:
Implement testSite_js_tag().

Definition at line 229 of file m_piwikTest.php.

230  {
231  // Remove the following lines when you implement this test.
232  $this->markTestIncomplete(
233  'This test has not been implemented yet.'
234  );
235  }

◆ testSite_list()

m_piwikTest::testSite_list ( )

@covers m_piwik::site_list

Todo:
Implement testSite_list().

Definition at line 217 of file m_piwikTest.php.

218  {
219  // Remove the following lines when you implement this test.
220  $this->markTestIncomplete(
221  'This test has not been implemented yet.'
222  );
223  }

◆ testSite_set_user_right()

m_piwikTest::testSite_set_user_right ( )

@covers m_piwik::site_set_user_right

Todo:
Implement testSite_set_user_right().

Definition at line 289 of file m_piwikTest.php.

290  {
291  // Remove the following lines when you implement this test.
292  $this->markTestIncomplete(
293  'This test has not been implemented yet.'
294  );
295  }

◆ testUrl()

m_piwikTest::testUrl ( )

@covers m_piwik::url

Todo:
Implement testUrl().

Definition at line 73 of file m_piwikTest.php.

74  {
75  // Remove the following lines when you implement this test.
76  $this->markTestIncomplete(
77  'This test has not been implemented yet.'
78  );
79  }

◆ testUser_access()

m_piwikTest::testUser_access ( )

@covers m_piwik::user_access

Todo:
Implement testUser_access().

Definition at line 205 of file m_piwikTest.php.

206  {
207  // Remove the following lines when you implement this test.
208  $this->markTestIncomplete(
209  'This test has not been implemented yet.'
210  );
211  }

◆ testUser_add()

m_piwikTest::testUser_add ( )

@covers m_piwik::user_add

Todo:
Implement testUser_add().

Definition at line 85 of file m_piwikTest.php.

86  {
87  // Remove the following lines when you implement this test.
88  $this->markTestIncomplete(
89  'This test has not been implemented yet.'
90  );
91  }

◆ testUser_checkremote()

m_piwikTest::testUser_checkremote ( )

@covers m_piwik::user_checkremote

Todo:
Implement testUser_checkremote().

Definition at line 181 of file m_piwikTest.php.

182  {
183  // Remove the following lines when you implement this test.
184  $this->markTestIncomplete(
185  'This test has not been implemented yet.'
186  );
187  }

◆ testUser_delete()

m_piwikTest::testUser_delete ( )

@covers m_piwik::user_delete

Todo:
Implement testUser_delete().

Definition at line 157 of file m_piwikTest.php.

158  {
159  // Remove the following lines when you implement this test.
160  $this->markTestIncomplete(
161  'This test has not been implemented yet.'
162  );
163  }

◆ testUser_edit()

m_piwikTest::testUser_edit ( )

@covers m_piwik::user_edit

Todo:
Implement testUser_edit().

Definition at line 97 of file m_piwikTest.php.

98  {
99  // Remove the following lines when you implement this test.
100  $this->markTestIncomplete(
101  'This test has not been implemented yet.'
102  );
103  }

◆ testUser_remoteauth()

m_piwikTest::testUser_remoteauth ( )

@covers m_piwik::user_remoteauth

Todo:
Implement testUser_remoteauth().

Definition at line 193 of file m_piwikTest.php.

194  {
195  // Remove the following lines when you implement this test.
196  $this->markTestIncomplete(
197  'This test has not been implemented yet.'
198  );
199  }

◆ testUsers_list()

m_piwikTest::testUsers_list ( )

@covers m_piwik::users_list

Todo:
Implement testUsers_list().

Definition at line 169 of file m_piwikTest.php.

170  {
171  // Remove the following lines when you implement this test.
172  $this->markTestIncomplete(
173  'This test has not been implemented yet.'
174  );
175  }

Member Data Documentation

◆ $object

m_piwikTest::$object
protected

Definition at line 12 of file m_piwikTest.php.


The documentation for this class was generated from the following file: