SessionManager.lib.php 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532
  1. <?php
  2. /**
  3. * Generated by PHPUnit_SkeletonGenerator on 2013-01-07 at 09:34:57.
  4. */
  5. class SessionManagerTest extends PHPUnit_Framework_TestCase
  6. {
  7. /**
  8. * @var SessionManager
  9. */
  10. protected $object;
  11. /**
  12. * Sets up the fixture, for example, opens a network connection.
  13. * This method is called before a test is executed.
  14. */
  15. protected function setUp()
  16. {
  17. $this->object = new SessionManager;
  18. }
  19. /**
  20. * Tears down the fixture, for example, closes a network connection.
  21. * This method is called after a test is executed.
  22. */
  23. protected function tearDown()
  24. {
  25. }
  26. /**
  27. * @covers SessionManager::fetch
  28. * @todo Implement testFetch().
  29. */
  30. public function testFetch()
  31. {
  32. // Remove the following lines when you implement this test.
  33. $this->markTestIncomplete(
  34. 'This test has not been implemented yet.'
  35. );
  36. }
  37. /**
  38. * @covers SessionManager::create_session
  39. * @todo Implement testCreate_session().
  40. */
  41. public function testCreate_session()
  42. {
  43. // Remove the following lines when you implement this test.
  44. $this->markTestIncomplete(
  45. 'This test has not been implemented yet.'
  46. );
  47. }
  48. /**
  49. * @covers SessionManager::session_name_exists
  50. * @todo Implement testSession_name_exists().
  51. */
  52. public function testSession_name_exists()
  53. {
  54. // Remove the following lines when you implement this test.
  55. $this->markTestIncomplete(
  56. 'This test has not been implemented yet.'
  57. );
  58. }
  59. /**
  60. * @covers SessionManager::get_count_admin
  61. * @todo Implement testGet_count_admin().
  62. */
  63. public function testGet_count_admin()
  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. * @covers SessionManager::get_sessions_admin
  72. * @todo Implement testGet_sessions_admin().
  73. */
  74. public function testGet_sessions_admin()
  75. {
  76. // Remove the following lines when you implement this test.
  77. $this->markTestIncomplete(
  78. 'This test has not been implemented yet.'
  79. );
  80. }
  81. /**
  82. * @covers SessionManager::generateNextSessionName
  83. * @todo Implement testGenerate_nice_next_session_name().
  84. */
  85. public function testGenerateNextSessionName()
  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. * @covers SessionManager::edit_session
  94. * @todo Implement testEdit_session().
  95. */
  96. public function testEdit_session()
  97. {
  98. // Remove the following lines when you implement this test.
  99. $this->markTestIncomplete(
  100. 'This test has not been implemented yet.'
  101. );
  102. }
  103. /**
  104. * @covers SessionManager::delete_session
  105. * @todo Implement testDelete_session().
  106. */
  107. public function testDelete_session()
  108. {
  109. // Remove the following lines when you implement this test.
  110. $this->markTestIncomplete(
  111. 'This test has not been implemented yet.'
  112. );
  113. }
  114. /**
  115. * @covers SessionManager::suscribe_users_to_session
  116. * @todo Implement testSuscribe_users_to_session().
  117. */
  118. public function testSuscribe_users_to_session()
  119. {
  120. // Remove the following lines when you implement this test.
  121. $this->markTestIncomplete(
  122. 'This test has not been implemented yet.'
  123. );
  124. }
  125. /**
  126. * @covers SessionManager::subscribe_users_to_session_course
  127. * @todo Implement testSubscribe_users_to_session_course().
  128. */
  129. public function testSubscribe_users_to_session_course()
  130. {
  131. // Remove the following lines when you implement this test.
  132. $this->markTestIncomplete(
  133. 'This test has not been implemented yet.'
  134. );
  135. }
  136. /**
  137. * @covers SessionManager::unsubscribe_user_from_session
  138. * @todo Implement testUnsubscribe_user_from_session().
  139. */
  140. public function testUnsubscribe_user_from_session()
  141. {
  142. // Remove the following lines when you implement this test.
  143. $this->markTestIncomplete(
  144. 'This test has not been implemented yet.'
  145. );
  146. }
  147. /**
  148. * @covers SessionManager::add_courses_to_session
  149. * @todo Implement testAdd_courses_to_session().
  150. */
  151. public function testAdd_courses_to_session()
  152. {
  153. // Remove the following lines when you implement this test.
  154. $this->markTestIncomplete(
  155. 'This test has not been implemented yet.'
  156. );
  157. }
  158. /**
  159. * @covers SessionManager::unsubscribe_course_from_session
  160. * @todo Implement testUnsubscribe_course_from_session().
  161. */
  162. public function testUnsubscribe_course_from_session()
  163. {
  164. // Remove the following lines when you implement this test.
  165. $this->markTestIncomplete(
  166. 'This test has not been implemented yet.'
  167. );
  168. }
  169. /**
  170. * @covers SessionManager::create_session_extra_field
  171. * @todo Implement testCreate_session_extra_field().
  172. */
  173. public function testCreate_session_extra_field()
  174. {
  175. // Remove the following lines when you implement this test.
  176. $this->markTestIncomplete(
  177. 'This test has not been implemented yet.'
  178. );
  179. }
  180. /**
  181. * @covers SessionManager::update_session_extra_field_value
  182. * @todo Implement testUpdate_session_extra_field_value().
  183. */
  184. public function testUpdate_session_extra_field_value()
  185. {
  186. // Remove the following lines when you implement this test.
  187. $this->markTestIncomplete(
  188. 'This test has not been implemented yet.'
  189. );
  190. }
  191. /**
  192. * @covers SessionManager::relation_session_course_exist
  193. * @todo Implement testRelation_session_course_exist().
  194. */
  195. public function testRelation_session_course_exist()
  196. {
  197. // Remove the following lines when you implement this test.
  198. $this->markTestIncomplete(
  199. 'This test has not been implemented yet.'
  200. );
  201. }
  202. /**
  203. * @covers SessionManager::get_session_by_name
  204. * @todo Implement testGet_session_by_name().
  205. */
  206. public function testGet_session_by_name()
  207. {
  208. // Remove the following lines when you implement this test.
  209. $this->markTestIncomplete(
  210. 'This test has not been implemented yet.'
  211. );
  212. }
  213. /**
  214. * @covers SessionManager::create_category_session
  215. * @todo Implement testCreate_category_session().
  216. */
  217. public function testCreate_category_session()
  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. * @covers SessionManager::edit_category_session
  226. * @todo Implement testEdit_category_session().
  227. */
  228. public function testEdit_category_session()
  229. {
  230. // Remove the following lines when you implement this test.
  231. $this->markTestIncomplete(
  232. 'This test has not been implemented yet.'
  233. );
  234. }
  235. /**
  236. * @covers SessionManager::delete_session_category
  237. * @todo Implement testDelete_session_category().
  238. */
  239. public function testDelete_session_category()
  240. {
  241. // Remove the following lines when you implement this test.
  242. $this->markTestIncomplete(
  243. 'This test has not been implemented yet.'
  244. );
  245. }
  246. /**
  247. * @covers SessionManager::get_sessions_list
  248. * @todo Implement testGet_sessions_list().
  249. */
  250. public function testGet_sessions_list()
  251. {
  252. // Remove the following lines when you implement this test.
  253. $this->markTestIncomplete(
  254. 'This test has not been implemented yet.'
  255. );
  256. }
  257. /**
  258. * @covers SessionManager::get_session_category
  259. * @todo Implement testGet_session_category().
  260. */
  261. public function testGet_session_category()
  262. {
  263. // Remove the following lines when you implement this test.
  264. $this->markTestIncomplete(
  265. 'This test has not been implemented yet.'
  266. );
  267. }
  268. /**
  269. * @covers SessionManager::get_all_session_category
  270. * @todo Implement testGet_all_session_category().
  271. */
  272. public function testGet_all_session_category()
  273. {
  274. // Remove the following lines when you implement this test.
  275. $this->markTestIncomplete(
  276. 'This test has not been implemented yet.'
  277. );
  278. }
  279. /**
  280. * @covers SessionManager::set_coach_to_course_session
  281. * @todo Implement testSet_coach_to_course_session().
  282. */
  283. public function testSet_coach_to_course_session()
  284. {
  285. // Remove the following lines when you implement this test.
  286. $this->markTestIncomplete(
  287. 'This test has not been implemented yet.'
  288. );
  289. }
  290. /**
  291. * @covers SessionManager::suscribe_sessions_to_hr_manager
  292. * @todo Implement testSuscribe_sessions_to_hr_manager().
  293. */
  294. public function testSuscribe_sessions_to_hr_manager()
  295. {
  296. // Remove the following lines when you implement this test.
  297. $this->markTestIncomplete(
  298. 'This test has not been implemented yet.'
  299. );
  300. }
  301. /**
  302. * @covers SessionManager::get_sessions_followed_by_drh
  303. * @todo Implement testGet_sessions_followed_by_drh().
  304. */
  305. public function testGet_sessions_followed_by_drh()
  306. {
  307. // Remove the following lines when you implement this test.
  308. $this->markTestIncomplete(
  309. 'This test has not been implemented yet.'
  310. );
  311. }
  312. /**
  313. * @covers SessionManager::get_course_list_by_session_id
  314. * @todo Implement testGet_course_list_by_session_id().
  315. */
  316. public function testGet_course_list_by_session_id()
  317. {
  318. // Remove the following lines when you implement this test.
  319. $this->markTestIncomplete(
  320. 'This test has not been implemented yet.'
  321. );
  322. }
  323. /**
  324. * @covers SessionManager::get_session_id_from_original_id
  325. * @todo Implement testGet_session_id_from_original_id().
  326. */
  327. public function testGet_session_id_from_original_id()
  328. {
  329. // Remove the following lines when you implement this test.
  330. $this->markTestIncomplete(
  331. 'This test has not been implemented yet.'
  332. );
  333. }
  334. /**
  335. * @covers SessionManager::get_users_by_session
  336. * @todo Implement testGet_users_by_session().
  337. */
  338. public function testGet_users_by_session()
  339. {
  340. // Remove the following lines when you implement this test.
  341. $this->markTestIncomplete(
  342. 'This test has not been implemented yet.'
  343. );
  344. }
  345. /**
  346. * @covers SessionManager::get_sessions_by_general_coach
  347. * @todo Implement testGet_sessions_by_general_coach().
  348. */
  349. public function testGet_sessions_by_general_coach()
  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. /**
  357. * @covers SessionManager::get_sessions_by_coach
  358. * @todo Implement testGet_sessions_by_coach().
  359. */
  360. public function testGet_sessions_by_coach()
  361. {
  362. // Remove the following lines when you implement this test.
  363. $this->markTestIncomplete(
  364. 'This test has not been implemented yet.'
  365. );
  366. }
  367. /**
  368. * @covers SessionManager::get_user_status_in_course_session
  369. * @todo Implement testGet_user_status_in_course_session().
  370. */
  371. public function testGet_user_status_in_course_session()
  372. {
  373. // Remove the following lines when you implement this test.
  374. $this->markTestIncomplete(
  375. 'This test has not been implemented yet.'
  376. );
  377. }
  378. /**
  379. * @covers SessionManager::get_user_status_in_session
  380. * @todo Implement testGet_user_status_in_session().
  381. */
  382. public function testGet_user_status_in_session()
  383. {
  384. // Remove the following lines when you implement this test.
  385. $this->markTestIncomplete(
  386. 'This test has not been implemented yet.'
  387. );
  388. }
  389. /**
  390. * @covers SessionManager::get_all_sessions_by_promotion
  391. * @todo Implement testGet_all_sessions_by_promotion().
  392. */
  393. public function testGet_all_sessions_by_promotion()
  394. {
  395. // Remove the following lines when you implement this test.
  396. $this->markTestIncomplete(
  397. 'This test has not been implemented yet.'
  398. );
  399. }
  400. /**
  401. * @covers SessionManager::suscribe_sessions_to_promotion
  402. * @todo Implement testSuscribe_sessions_to_promotion().
  403. */
  404. public function testSuscribe_sessions_to_promotion()
  405. {
  406. // Remove the following lines when you implement this test.
  407. $this->markTestIncomplete(
  408. 'This test has not been implemented yet.'
  409. );
  410. }
  411. /**
  412. * @covers SessionManager::set_session_status
  413. * @todo Implement testSet_session_status().
  414. */
  415. public function testSet_session_status()
  416. {
  417. // Remove the following lines when you implement this test.
  418. $this->markTestIncomplete(
  419. 'This test has not been implemented yet.'
  420. );
  421. }
  422. /**
  423. * @covers SessionManager::copy
  424. * @todo Implement testCopy_session().
  425. */
  426. public function testCopy()
  427. {
  428. // Remove the following lines when you implement this test.
  429. $this->markTestIncomplete(
  430. 'This test has not been implemented yet.'
  431. );
  432. }
  433. /**
  434. * @covers SessionManager::user_is_general_coach
  435. * @todo Implement testUser_is_general_coach().
  436. */
  437. public function testUser_is_general_coach()
  438. {
  439. // Remove the following lines when you implement this test.
  440. $this->markTestIncomplete(
  441. 'This test has not been implemented yet.'
  442. );
  443. }
  444. /**
  445. * @covers SessionManager::count_sessions
  446. * @todo Implement testCount_sessions().
  447. */
  448. public function testCount_sessions()
  449. {
  450. // Remove the following lines when you implement this test.
  451. $this->markTestIncomplete(
  452. 'This test has not been implemented yet.'
  453. );
  454. }
  455. /**
  456. * @covers SessionManager::protect_session_edit
  457. * @todo Implement testProtect_session_edit().
  458. */
  459. public function testProtect_session_edit()
  460. {
  461. // Remove the following lines when you implement this test.
  462. $this->markTestIncomplete(
  463. 'This test has not been implemented yet.'
  464. );
  465. }
  466. /**
  467. * @covers SessionManager::get_session_by_course
  468. * @todo Implement testGet_session_by_course().
  469. */
  470. public function testGet_session_by_course()
  471. {
  472. // Remove the following lines when you implement this test.
  473. $this->markTestIncomplete(
  474. 'This test has not been implemented yet.'
  475. );
  476. }
  477. /**
  478. * @covers SessionManager::get_sessions_by_user
  479. * @todo Implement testGet_sessions_by_user().
  480. */
  481. public function testGet_sessions_by_user()
  482. {
  483. // Remove the following lines when you implement this test.
  484. $this->markTestIncomplete(
  485. 'This test has not been implemented yet.'
  486. );
  487. }
  488. }