You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							532 lines
						
					
					
						
							15 KiB
						
					
					
				
			
		
		
	
	
							532 lines
						
					
					
						
							15 KiB
						
					
					
				<?php
 | 
						|
/**
 | 
						|
 * Generated by PHPUnit_SkeletonGenerator on 2013-01-07 at 09:34:57.
 | 
						|
 */
 | 
						|
class SessionManagerTest extends PHPUnit_Framework_TestCase
 | 
						|
{
 | 
						|
    /**
 | 
						|
     * @var SessionManager
 | 
						|
     */
 | 
						|
    protected $object;
 | 
						|
 | 
						|
    /**
 | 
						|
     * Sets up the fixture, for example, opens a network connection.
 | 
						|
     * This method is called before a test is executed.
 | 
						|
     */
 | 
						|
    protected function setUp()
 | 
						|
    {
 | 
						|
        $this->object = new SessionManager;
 | 
						|
    }
 | 
						|
 | 
						|
    /**
 | 
						|
     * Tears down the fixture, for example, closes a network connection.
 | 
						|
     * This method is called after a test is executed.
 | 
						|
     */
 | 
						|
    protected function tearDown()
 | 
						|
    {
 | 
						|
    }
 | 
						|
 | 
						|
    /**
 | 
						|
     * @covers SessionManager::fetch
 | 
						|
     * @todo   Implement testFetch().
 | 
						|
     */
 | 
						|
    public function testFetch()
 | 
						|
    {
 | 
						|
        // Remove the following lines when you implement this test.
 | 
						|
        $this->markTestIncomplete(
 | 
						|
          'This test has not been implemented yet.'
 | 
						|
        );
 | 
						|
    }
 | 
						|
 | 
						|
    /**
 | 
						|
     * @covers SessionManager::create_session
 | 
						|
     * @todo   Implement testCreate_session().
 | 
						|
     */
 | 
						|
    public function testCreate_session()
 | 
						|
    {
 | 
						|
        // Remove the following lines when you implement this test.
 | 
						|
        $this->markTestIncomplete(
 | 
						|
          'This test has not been implemented yet.'
 | 
						|
        );
 | 
						|
    }
 | 
						|
 | 
						|
    /**
 | 
						|
     * @covers SessionManager::session_name_exists
 | 
						|
     * @todo   Implement testSession_name_exists().
 | 
						|
     */
 | 
						|
    public function testSession_name_exists()
 | 
						|
    {
 | 
						|
        // Remove the following lines when you implement this test.
 | 
						|
        $this->markTestIncomplete(
 | 
						|
          'This test has not been implemented yet.'
 | 
						|
        );
 | 
						|
    }
 | 
						|
 | 
						|
    /**
 | 
						|
     * @covers SessionManager::get_count_admin
 | 
						|
     * @todo   Implement testGet_count_admin().
 | 
						|
     */
 | 
						|
    public function testGet_count_admin()
 | 
						|
    {
 | 
						|
        // Remove the following lines when you implement this test.
 | 
						|
        $this->markTestIncomplete(
 | 
						|
          'This test has not been implemented yet.'
 | 
						|
        );
 | 
						|
    }
 | 
						|
 | 
						|
    /**
 | 
						|
     * @covers SessionManager::get_sessions_admin
 | 
						|
     * @todo   Implement testGet_sessions_admin().
 | 
						|
     */
 | 
						|
    public function testGet_sessions_admin()
 | 
						|
    {
 | 
						|
        // Remove the following lines when you implement this test.
 | 
						|
        $this->markTestIncomplete(
 | 
						|
          'This test has not been implemented yet.'
 | 
						|
        );
 | 
						|
    }
 | 
						|
 | 
						|
    /**
 | 
						|
     * @covers SessionManager::generateNextSessionName
 | 
						|
     * @todo   Implement testGenerate_nice_next_session_name().
 | 
						|
     */
 | 
						|
    public function testGenerateNextSessionName()
 | 
						|
    {
 | 
						|
        // Remove the following lines when you implement this test.
 | 
						|
        $this->markTestIncomplete(
 | 
						|
          'This test has not been implemented yet.'
 | 
						|
        );
 | 
						|
    }
 | 
						|
 | 
						|
    /**
 | 
						|
     * @covers SessionManager::edit_session
 | 
						|
     * @todo   Implement testEdit_session().
 | 
						|
     */
 | 
						|
    public function testEdit_session()
 | 
						|
    {
 | 
						|
        // Remove the following lines when you implement this test.
 | 
						|
        $this->markTestIncomplete(
 | 
						|
          'This test has not been implemented yet.'
 | 
						|
        );
 | 
						|
    }
 | 
						|
 | 
						|
    /**
 | 
						|
     * @covers SessionManager::delete_session
 | 
						|
     * @todo   Implement testDelete_session().
 | 
						|
     */
 | 
						|
    public function testDelete_session()
 | 
						|
    {
 | 
						|
        // Remove the following lines when you implement this test.
 | 
						|
        $this->markTestIncomplete(
 | 
						|
          'This test has not been implemented yet.'
 | 
						|
        );
 | 
						|
    }
 | 
						|
 | 
						|
    /**
 | 
						|
     * @covers SessionManager::subscribe_users_to_session
 | 
						|
     * @todo   Implement testSubscribe_users_to_session().
 | 
						|
     */
 | 
						|
    public function testSubscribe_users_to_session()
 | 
						|
    {
 | 
						|
        // Remove the following lines when you implement this test.
 | 
						|
        $this->markTestIncomplete(
 | 
						|
          'This test has not been implemented yet.'
 | 
						|
        );
 | 
						|
    }
 | 
						|
 | 
						|
    /**
 | 
						|
     * @covers SessionManager::subscribe_users_to_session_course
 | 
						|
     * @todo   Implement testSubscribe_users_to_session_course().
 | 
						|
     */
 | 
						|
    public function testSubscribe_users_to_session_course()
 | 
						|
    {
 | 
						|
        // Remove the following lines when you implement this test.
 | 
						|
        $this->markTestIncomplete(
 | 
						|
          'This test has not been implemented yet.'
 | 
						|
        );
 | 
						|
    }
 | 
						|
 | 
						|
    /**
 | 
						|
     * @covers SessionManager::unsubscribe_user_from_session
 | 
						|
     * @todo   Implement testUnsubscribe_user_from_session().
 | 
						|
     */
 | 
						|
    public function testUnsubscribe_user_from_session()
 | 
						|
    {
 | 
						|
        // Remove the following lines when you implement this test.
 | 
						|
        $this->markTestIncomplete(
 | 
						|
          'This test has not been implemented yet.'
 | 
						|
        );
 | 
						|
    }
 | 
						|
 | 
						|
    /**
 | 
						|
     * @covers SessionManager::add_courses_to_session
 | 
						|
     * @todo   Implement testAdd_courses_to_session().
 | 
						|
     */
 | 
						|
    public function testAdd_courses_to_session()
 | 
						|
    {
 | 
						|
        // Remove the following lines when you implement this test.
 | 
						|
        $this->markTestIncomplete(
 | 
						|
          'This test has not been implemented yet.'
 | 
						|
        );
 | 
						|
    }
 | 
						|
 | 
						|
    /**
 | 
						|
     * @covers SessionManager::unsubscribe_course_from_session
 | 
						|
     * @todo   Implement testUnsubscribe_course_from_session().
 | 
						|
     */
 | 
						|
    public function testUnsubscribe_course_from_session()
 | 
						|
    {
 | 
						|
        // Remove the following lines when you implement this test.
 | 
						|
        $this->markTestIncomplete(
 | 
						|
          'This test has not been implemented yet.'
 | 
						|
        );
 | 
						|
    }
 | 
						|
 | 
						|
    /**
 | 
						|
     * @covers SessionManager::create_session_extra_field
 | 
						|
     * @todo   Implement testCreate_session_extra_field().
 | 
						|
     */
 | 
						|
    public function testCreate_session_extra_field()
 | 
						|
    {
 | 
						|
        // Remove the following lines when you implement this test.
 | 
						|
        $this->markTestIncomplete(
 | 
						|
          'This test has not been implemented yet.'
 | 
						|
        );
 | 
						|
    }
 | 
						|
 | 
						|
    /**
 | 
						|
     * @covers SessionManager::update_session_extra_field_value
 | 
						|
     * @todo   Implement testUpdate_session_extra_field_value().
 | 
						|
     */
 | 
						|
    public function testUpdate_session_extra_field_value()
 | 
						|
    {
 | 
						|
        // Remove the following lines when you implement this test.
 | 
						|
        $this->markTestIncomplete(
 | 
						|
          'This test has not been implemented yet.'
 | 
						|
        );
 | 
						|
    }
 | 
						|
 | 
						|
    /**
 | 
						|
     * @covers SessionManager::relation_session_course_exist
 | 
						|
     * @todo   Implement testRelation_session_course_exist().
 | 
						|
     */
 | 
						|
    public function testRelation_session_course_exist()
 | 
						|
    {
 | 
						|
        // Remove the following lines when you implement this test.
 | 
						|
        $this->markTestIncomplete(
 | 
						|
          'This test has not been implemented yet.'
 | 
						|
        );
 | 
						|
    }
 | 
						|
 | 
						|
    /**
 | 
						|
     * @covers SessionManager::get_session_by_name
 | 
						|
     * @todo   Implement testGet_session_by_name().
 | 
						|
     */
 | 
						|
    public function testGet_session_by_name()
 | 
						|
    {
 | 
						|
        // Remove the following lines when you implement this test.
 | 
						|
        $this->markTestIncomplete(
 | 
						|
          'This test has not been implemented yet.'
 | 
						|
        );
 | 
						|
    }
 | 
						|
 | 
						|
    /**
 | 
						|
     * @covers SessionManager::create_category_session
 | 
						|
     * @todo   Implement testCreate_category_session().
 | 
						|
     */
 | 
						|
    public function testCreate_category_session()
 | 
						|
    {
 | 
						|
        // Remove the following lines when you implement this test.
 | 
						|
        $this->markTestIncomplete(
 | 
						|
          'This test has not been implemented yet.'
 | 
						|
        );
 | 
						|
    }
 | 
						|
 | 
						|
    /**
 | 
						|
     * @covers SessionManager::edit_category_session
 | 
						|
     * @todo   Implement testEdit_category_session().
 | 
						|
     */
 | 
						|
    public function testEdit_category_session()
 | 
						|
    {
 | 
						|
        // Remove the following lines when you implement this test.
 | 
						|
        $this->markTestIncomplete(
 | 
						|
          'This test has not been implemented yet.'
 | 
						|
        );
 | 
						|
    }
 | 
						|
 | 
						|
    /**
 | 
						|
     * @covers SessionManager::delete_session_category
 | 
						|
     * @todo   Implement testDelete_session_category().
 | 
						|
     */
 | 
						|
    public function testDelete_session_category()
 | 
						|
    {
 | 
						|
        // Remove the following lines when you implement this test.
 | 
						|
        $this->markTestIncomplete(
 | 
						|
          'This test has not been implemented yet.'
 | 
						|
        );
 | 
						|
    }
 | 
						|
 | 
						|
    /**
 | 
						|
     * @covers SessionManager::get_sessions_list
 | 
						|
     * @todo   Implement testGet_sessions_list().
 | 
						|
     */
 | 
						|
    public function testGet_sessions_list()
 | 
						|
    {
 | 
						|
        // Remove the following lines when you implement this test.
 | 
						|
        $this->markTestIncomplete(
 | 
						|
          'This test has not been implemented yet.'
 | 
						|
        );
 | 
						|
    }
 | 
						|
 | 
						|
    /**
 | 
						|
     * @covers SessionManager::get_session_category
 | 
						|
     * @todo   Implement testGet_session_category().
 | 
						|
     */
 | 
						|
    public function testGet_session_category()
 | 
						|
    {
 | 
						|
        // Remove the following lines when you implement this test.
 | 
						|
        $this->markTestIncomplete(
 | 
						|
          'This test has not been implemented yet.'
 | 
						|
        );
 | 
						|
    }
 | 
						|
 | 
						|
    /**
 | 
						|
     * @covers SessionManager::get_all_session_category
 | 
						|
     * @todo   Implement testGet_all_session_category().
 | 
						|
     */
 | 
						|
    public function testGet_all_session_category()
 | 
						|
    {
 | 
						|
        // Remove the following lines when you implement this test.
 | 
						|
        $this->markTestIncomplete(
 | 
						|
          'This test has not been implemented yet.'
 | 
						|
        );
 | 
						|
    }
 | 
						|
 | 
						|
    /**
 | 
						|
     * @covers SessionManager::set_coach_to_course_session
 | 
						|
     * @todo   Implement testSet_coach_to_course_session().
 | 
						|
     */
 | 
						|
    public function testSet_coach_to_course_session()
 | 
						|
    {
 | 
						|
        // Remove the following lines when you implement this test.
 | 
						|
        $this->markTestIncomplete(
 | 
						|
          'This test has not been implemented yet.'
 | 
						|
        );
 | 
						|
    }
 | 
						|
 | 
						|
    /**
 | 
						|
     * @covers SessionManager::suscribe_sessions_to_hr_manager
 | 
						|
     * @todo   Implement testSuscribe_sessions_to_hr_manager().
 | 
						|
     */
 | 
						|
    public function testSuscribe_sessions_to_hr_manager()
 | 
						|
    {
 | 
						|
        // Remove the following lines when you implement this test.
 | 
						|
        $this->markTestIncomplete(
 | 
						|
          'This test has not been implemented yet.'
 | 
						|
        );
 | 
						|
    }
 | 
						|
 | 
						|
    /**
 | 
						|
     * @covers SessionManager::get_sessions_followed_by_drh
 | 
						|
     * @todo   Implement testGet_sessions_followed_by_drh().
 | 
						|
     */
 | 
						|
    public function testGet_sessions_followed_by_drh()
 | 
						|
    {
 | 
						|
        // Remove the following lines when you implement this test.
 | 
						|
        $this->markTestIncomplete(
 | 
						|
          'This test has not been implemented yet.'
 | 
						|
        );
 | 
						|
    }
 | 
						|
 | 
						|
    /**
 | 
						|
     * @covers SessionManager::get_course_list_by_session_id
 | 
						|
     * @todo   Implement testGet_course_list_by_session_id().
 | 
						|
     */
 | 
						|
    public function testGet_course_list_by_session_id()
 | 
						|
    {
 | 
						|
        // Remove the following lines when you implement this test.
 | 
						|
        $this->markTestIncomplete(
 | 
						|
          'This test has not been implemented yet.'
 | 
						|
        );
 | 
						|
    }
 | 
						|
 | 
						|
    /**
 | 
						|
     * @covers SessionManager::get_session_id_from_original_id
 | 
						|
     * @todo   Implement testGet_session_id_from_original_id().
 | 
						|
     */
 | 
						|
    public function testGet_session_id_from_original_id()
 | 
						|
    {
 | 
						|
        // Remove the following lines when you implement this test.
 | 
						|
        $this->markTestIncomplete(
 | 
						|
          'This test has not been implemented yet.'
 | 
						|
        );
 | 
						|
    }
 | 
						|
 | 
						|
    /**
 | 
						|
     * @covers SessionManager::get_users_by_session
 | 
						|
     * @todo   Implement testGet_users_by_session().
 | 
						|
     */
 | 
						|
    public function testGet_users_by_session()
 | 
						|
    {
 | 
						|
        // Remove the following lines when you implement this test.
 | 
						|
        $this->markTestIncomplete(
 | 
						|
          'This test has not been implemented yet.'
 | 
						|
        );
 | 
						|
    }
 | 
						|
 | 
						|
    /**
 | 
						|
     * @covers SessionManager::get_sessions_by_general_coach
 | 
						|
     * @todo   Implement testGet_sessions_by_general_coach().
 | 
						|
     */
 | 
						|
    public function testGet_sessions_by_general_coach()
 | 
						|
    {
 | 
						|
        // Remove the following lines when you implement this test.
 | 
						|
        $this->markTestIncomplete(
 | 
						|
          'This test has not been implemented yet.'
 | 
						|
        );
 | 
						|
    }
 | 
						|
 | 
						|
    /**
 | 
						|
     * @covers SessionManager::get_sessions_by_coach
 | 
						|
     * @todo   Implement testGet_sessions_by_coach().
 | 
						|
     */
 | 
						|
    public function testGet_sessions_by_coach()
 | 
						|
    {
 | 
						|
        // Remove the following lines when you implement this test.
 | 
						|
        $this->markTestIncomplete(
 | 
						|
          'This test has not been implemented yet.'
 | 
						|
        );
 | 
						|
    }
 | 
						|
 | 
						|
    /**
 | 
						|
     * @covers SessionManager::get_user_status_in_course_session
 | 
						|
     * @todo   Implement testGet_user_status_in_course_session().
 | 
						|
     */
 | 
						|
    public function testGet_user_status_in_course_session()
 | 
						|
    {
 | 
						|
        // Remove the following lines when you implement this test.
 | 
						|
        $this->markTestIncomplete(
 | 
						|
          'This test has not been implemented yet.'
 | 
						|
        );
 | 
						|
    }
 | 
						|
 | 
						|
    /**
 | 
						|
     * @covers SessionManager::get_user_status_in_session
 | 
						|
     * @todo   Implement testGet_user_status_in_session().
 | 
						|
     */
 | 
						|
    public function testGet_user_status_in_session()
 | 
						|
    {
 | 
						|
        // Remove the following lines when you implement this test.
 | 
						|
        $this->markTestIncomplete(
 | 
						|
          'This test has not been implemented yet.'
 | 
						|
        );
 | 
						|
    }
 | 
						|
 | 
						|
    /**
 | 
						|
     * @covers SessionManager::get_all_sessions_by_promotion
 | 
						|
     * @todo   Implement testGet_all_sessions_by_promotion().
 | 
						|
     */
 | 
						|
    public function testGet_all_sessions_by_promotion()
 | 
						|
    {
 | 
						|
        // Remove the following lines when you implement this test.
 | 
						|
        $this->markTestIncomplete(
 | 
						|
          'This test has not been implemented yet.'
 | 
						|
        );
 | 
						|
    }
 | 
						|
 | 
						|
    /**
 | 
						|
     * @covers SessionManager::suscribe_sessions_to_promotion
 | 
						|
     * @todo   Implement testSuscribe_sessions_to_promotion().
 | 
						|
     */
 | 
						|
    public function testSuscribe_sessions_to_promotion()
 | 
						|
    {
 | 
						|
        // Remove the following lines when you implement this test.
 | 
						|
        $this->markTestIncomplete(
 | 
						|
          'This test has not been implemented yet.'
 | 
						|
        );
 | 
						|
    }
 | 
						|
 | 
						|
    /**
 | 
						|
     * @covers SessionManager::set_session_status
 | 
						|
     * @todo   Implement testSet_session_status().
 | 
						|
     */
 | 
						|
    public function testSet_session_status()
 | 
						|
    {
 | 
						|
        // Remove the following lines when you implement this test.
 | 
						|
        $this->markTestIncomplete(
 | 
						|
          'This test has not been implemented yet.'
 | 
						|
        );
 | 
						|
    }
 | 
						|
 | 
						|
    /**
 | 
						|
     * @covers SessionManager::copy
 | 
						|
     * @todo   Implement testCopy_session().
 | 
						|
     */
 | 
						|
    public function testCopy()
 | 
						|
    {
 | 
						|
        // Remove the following lines when you implement this test.
 | 
						|
        $this->markTestIncomplete(
 | 
						|
          'This test has not been implemented yet.'
 | 
						|
        );
 | 
						|
    }
 | 
						|
 | 
						|
    /**
 | 
						|
     * @covers SessionManager::user_is_general_coach
 | 
						|
     * @todo   Implement testUser_is_general_coach().
 | 
						|
     */
 | 
						|
    public function testUser_is_general_coach()
 | 
						|
    {
 | 
						|
        // Remove the following lines when you implement this test.
 | 
						|
        $this->markTestIncomplete(
 | 
						|
          'This test has not been implemented yet.'
 | 
						|
        );
 | 
						|
    }
 | 
						|
 | 
						|
    /**
 | 
						|
     * @covers SessionManager::count_sessions
 | 
						|
     * @todo   Implement testCount_sessions().
 | 
						|
     */
 | 
						|
    public function testCount_sessions()
 | 
						|
    {
 | 
						|
        // Remove the following lines when you implement this test.
 | 
						|
        $this->markTestIncomplete(
 | 
						|
          'This test has not been implemented yet.'
 | 
						|
        );
 | 
						|
    }
 | 
						|
 | 
						|
    /**
 | 
						|
     * @covers SessionManager::protect_session_edit
 | 
						|
     * @todo   Implement testProtect_session_edit().
 | 
						|
     */
 | 
						|
    public function testProtect_session_edit()
 | 
						|
    {
 | 
						|
        // Remove the following lines when you implement this test.
 | 
						|
        $this->markTestIncomplete(
 | 
						|
          'This test has not been implemented yet.'
 | 
						|
        );
 | 
						|
    }
 | 
						|
 | 
						|
    /**
 | 
						|
     * @covers SessionManager::get_session_by_course
 | 
						|
     * @todo   Implement testGet_session_by_course().
 | 
						|
     */
 | 
						|
    public function testGet_session_by_course()
 | 
						|
    {
 | 
						|
        // Remove the following lines when you implement this test.
 | 
						|
        $this->markTestIncomplete(
 | 
						|
          'This test has not been implemented yet.'
 | 
						|
        );
 | 
						|
    }
 | 
						|
 | 
						|
    /**
 | 
						|
     * @covers SessionManager::get_sessions_by_user
 | 
						|
     * @todo   Implement testGet_sessions_by_user().
 | 
						|
     */
 | 
						|
    public function testGet_sessions_by_user()
 | 
						|
    {
 | 
						|
        // Remove the following lines when you implement this test.
 | 
						|
        $this->markTestIncomplete(
 | 
						|
          'This test has not been implemented yet.'
 | 
						|
        );
 | 
						|
    }
 | 
						|
}
 | 
						|
 |