123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326 |
- <?php
- /**
- * Generated by PHPUnit_SkeletonGenerator on 2013-01-07 at 09:32:19.
- */
- class UserManagerTest extends PHPUnit_Framework_TestCase
- {
- /**
- * @var UserManager
- */
- protected $object;
- /**
- * Sets up the fixture, for example, opens a network connection.
- * This method is called before a test is executed.
- */
- protected function setUp()
- {
- require_once dirname(__FILE__).'/../../../main/inc/global.inc.php';
- $this->object = new UserManager;
- }
- /**
- * Tears down the fixture, for example, closes a network connection.
- * This method is called after a test is executed.
- */
- protected function tearDown()
- {
- }
- /**
- * Generated from @assert ('Sam','Gamegie',5,'sam@example.com','jo','jo') > 1.
- *
- * @covers UserManager::create_user
- */
- public function testCreate_user()
- {
- $this->assertGreaterThan(
- 1,
- UserManager::create_user('Sam','Gamgee',5,'sam@example.com','jo','jo')
- );
- }
- /**
- * Generated from @assert ('Pippin','Took',null,null,'jo','jo') === false.
- *
- * @covers UserManager::create_user
- */
- public function testCreate_user2()
- {
- $this->assertSame(
- false,
- UserManager::create_user('Pippin','Brandybuck',null,null,'jo','jo')
- );
- }
- /**
- * Test multiple URL case with users hosting limit
- */
- public function testCreate_user3()
- {
- global $_configuration;
- $_configuration[1]['hosting_limit_users'] = 50;
- $this->assertSame(
- false,
- UserManager::create_user('Merry','Brandybuck',null,null,'jo','jo')
- );
- }
- /**
- * Test teachers hosting limit
- */
- public function testCreate_user4()
- {
- global $_configuration;
- $_configuration[1]['hosting_limit_teachers'] = 50;
- $this->assertSame(
- false,
- UserManager::create_user('Pippin','Took',1,null,'jo','jo')
- );
- }
- /**
- * Test language non-existence
- */
- public function testCreate_user5()
- {
- global $_configuration;
- $this->assertSame(
- false,
- UserManager::create_user('Pippin','Tooky',null,null,'jo','jo',null,'spaniard')
- );
- }
- /**
- * Generated from @assert (null) === false.
- *
- * @covers UserManager::can_delete_user
- */
- /*
- public function testCan_delete_user()
- {
- $this->assertSame(
- false,
- UserManager::can_delete_user(null)
- );
- }
- */
- /**
- * Generated from @assert (-1) === false.
- *
- * @covers UserManager::can_delete_user
- */
- public function testCan_delete_user2()
- {
- $this->assertSame(
- false,
- UserManager::can_delete_user(-1)
- );
- }
- /**
- * Generated from @assert ('abc') === false.
- *
- * @covers UserManager::can_delete_user
- */
- public function testCan_delete_user3()
- {
- $this->assertSame(
- false,
- UserManager::can_delete_user('abc')
- );
- }
- /**
- * Generated from @assert (null) === false.
- *
- * @covers UserManager::delete_user
- */
- public function testDelete_user()
- {
- $this->assertSame(
- false,
- UserManager::delete_user(null)
- );
- }
- /**
- * Generated from @assert ('abc') === false.
- *
- * @covers UserManager::delete_user
- */
- public function testDelete_user2()
- {
- $this->assertSame(
- false,
- UserManager::delete_user('abc')
- );
- }
- /**
- * Generated from @assert (null) === false.
- *
- * @covers UserManager::delete_users
- */
- public function testDelete_users()
- {
- $this->assertSame(
- false,
- UserManager::delete_users(null)
- );
- }
- /**
- * Generated from @assert (-1) === false.
- *
- * @covers UserManager::delete_users
- */
- public function testDelete_users2()
- {
- $this->assertSame(
- false,
- UserManager::delete_users(-1)
- );
- }
- /**
- * Generated from @assert (array(-1)) === false.
- *
- * @covers UserManager::delete_users
- */
- public function testDelete_users3()
- {
- $this->assertSame(
- false,
- UserManager::delete_users(array(-1))
- );
- }
- /**
- * Generated from @assert (null) === false.
- *
- * @covers UserManager::deactivate_users
- */
- public function testDeactivate_users()
- {
- $this->assertSame(
- false,
- UserManager::deactivate_users(null)
- );
- }
- /**
- * Generated from @assert (array(-1)) === false.
- *
- * @covers UserManager::deactivate_users
- */
- public function testDeactivate_users2()
- {
- $this->assertSame(
- false,
- UserManager::deactivate_users(array(-1))
- );
- }
- /**
- * Generated from @assert (null) === false.
- *
- * @covers UserManager::activate_users
- */
- public function testActivate_users()
- {
- $this->assertSame(
- false,
- UserManager::activate_users(null)
- );
- }
- /**
- * Generated from @assert (array(-1)) === false.
- *
- * @covers UserManager::activate_users
- */
- public function testActivate_users2()
- {
- $this->assertSame(
- false,
- UserManager::activate_users(array(-1))
- );
- }
- /**
- * Generated from @assert (false,'') === false.
- *
- * @covers UserManager::update_openid
- */
- public function testUpdate_openid()
- {
- $this->assertSame(
- false,
- UserManager::update_openid(false,'')
- );
- }
- /**
- * Generated from @assert (-1,'') === false.
- *
- * @covers UserManager::update_openid
- */
- public function testUpdate_openid2()
- {
- $this->assertSame(
- false,
- UserManager::update_openid(-1,'')
- );
- }
- /**
- * Generated from @assert (false, false, false, false, false, false, false, false, false, false, false, false, false) === false.
- *
- * @covers UserManager::update_user
- */
- public function testUpdate_user()
- {
- $this->assertSame(
- false,
- UserManager::update_user(false,false,false,false,false,false,false,false,false,false,false,false,false)
- );
- }
- /**
- * Generated from @assert (0) === false.
- *
- * @covers UserManager::disable
- */
- public function testDisable()
- {
- $this->assertSame(
- false,
- UserManager::disable(0)
- );
- }
- /**
- * Generated from @assert (0) === false.
- *
- * @covers UserManager::enable
- */
- public function testEnable()
- {
- $this->assertSame(
- false,
- UserManager::enable(0)
- );
- }
- /**
- * Generated from @assert ('0','---') === 0.
- *
- * @covers UserManager::get_user_id_from_original_id
- */
- public function testGet_user_id_from_original_id()
- {
- $this->assertSame(
- 0,
- UserManager::get_user_id_from_original_id('0','---')
- );
- }
- /**
- * Generated from @assert ('') === false.
- *
- * @covers UserManager::is_username_available
- */
- public function testIs_username_available()
- {
- $this->assertSame(
- false,
- UserManager::is_username_available('')
- );
- }
- /**
- * Generated from @assert ('xyzxyzxyz') === true.
- *
- * @covers UserManager::is_username_available
- */
- public function testIs_username_available2()
- {
- $this->assertSame(
- true,
- UserManager::is_username_available('xyzxyzxyz')
- );
- }
- /**
- * Generated from @assert ('','') === false.
- *
- * @covers UserManager::create_username
- */
- public function testCreate_username()
- {
- $this->assertSame(
- false,
- UserManager::create_username('','')
- );
- }
- /**
- * Generated from @assert ('a','b') === 'ab'.
- *
- * @covers UserManager::create_username
- */
- public function testCreate_username2()
- {
- $this->assertSame(
- 'ab',
- UserManager::create_username('a','b')
- );
- }
- /**
- * @covers UserManager::create_unique_username
- * @todo Implement testCreate_unique_username().
- */
- public function testCreate_unique_username()
- {
- // Remove the following lines when you implement this test.
- $this->markTestIncomplete(
- 'This test has not been implemented yet.'
- );
- }
- /**
- * @covers UserManager::purify_username
- * @todo Implement testPurify_username().
- */
- public function testPurify_username()
- {
- // Remove the following lines when you implement this test.
- $this->markTestIncomplete(
- 'This test has not been implemented yet.'
- );
- }
- /**
- * @covers UserManager::is_user_id_valid
- * @todo Implement testIs_user_id_valid().
- */
- public function testIs_user_id_valid()
- {
- // Remove the following lines when you implement this test.
- $this->markTestIncomplete(
- 'This test has not been implemented yet.'
- );
- }
- /**
- * @covers UserManager::is_username_valid
- * @todo Implement testIs_username_valid().
- */
- public function testIs_username_valid()
- {
- // Remove the following lines when you implement this test.
- $this->markTestIncomplete(
- 'This test has not been implemented yet.'
- );
- }
- /**
- * @covers UserManager::is_username_empty
- * @todo Implement testIs_username_empty().
- */
- public function testIs_username_empty()
- {
- // Remove the following lines when you implement this test.
- $this->markTestIncomplete(
- 'This test has not been implemented yet.'
- );
- }
- /**
- * @covers UserManager::is_username_too_long
- * @todo Implement testIs_username_too_long().
- */
- public function testIs_username_too_long()
- {
- // Remove the following lines when you implement this test.
- $this->markTestIncomplete(
- 'This test has not been implemented yet.'
- );
- }
- /**
- * @covers UserManager::get_user_list_by_ids
- * @todo Implement testGet_user_list_by_ids().
- */
- public function testGet_user_list_by_ids()
- {
- // Remove the following lines when you implement this test.
- $this->markTestIncomplete(
- 'This test has not been implemented yet.'
- );
- }
- /**
- * @covers UserManager::get_user_list
- * @todo Implement testGet_user_list().
- */
- public function testGet_user_list()
- {
- // Remove the following lines when you implement this test.
- $this->markTestIncomplete(
- 'This test has not been implemented yet.'
- );
- }
- /**
- * @covers UserManager::get_user_list_like
- * @todo Implement testGet_user_list_like().
- */
- public function testGet_user_list_like()
- {
- // Remove the following lines when you implement this test.
- $this->markTestIncomplete(
- 'This test has not been implemented yet.'
- );
- }
- /**
- * @covers UserManager::get_user_info
- * @todo Implement testGet_user_info().
- */
- public function testGet_user_info()
- {
- // Remove the following lines when you implement this test.
- $this->markTestIncomplete(
- 'This test has not been implemented yet.'
- );
- }
- /**
- * @covers UserManager::get_user_info_by_id
- * @todo Implement testGet_user_info_by_id().
- */
- public function testGet_user_info_by_id()
- {
- // Remove the following lines when you implement this test.
- $this->markTestIncomplete(
- 'This test has not been implemented yet.'
- );
- }
- /**
- * @covers UserManager::get_teacher_list
- * @todo Implement testGet_teacher_list().
- */
- public function testGet_teacher_list()
- {
- // Remove the following lines when you implement this test.
- $this->markTestIncomplete(
- 'This test has not been implemented yet.'
- );
- }
- /**
- * @covers UserManager::get_user_picture_path_by_id
- * @todo Implement testGet_user_picture_path_by_id().
- */
- public function testGet_user_picture_path_by_id()
- {
- // Remove the following lines when you implement this test.
- $this->markTestIncomplete(
- 'This test has not been implemented yet.'
- );
- }
- /**
- * @covers UserManager::update_user_picture
- * @todo Implement testUpdate_user_picture().
- */
- public function testUpdate_user_picture()
- {
- // Remove the following lines when you implement this test.
- $this->markTestIncomplete(
- 'This test has not been implemented yet.'
- );
- }
- /**
- * @covers UserManager::delete_user_picture
- * @todo Implement testDelete_user_picture().
- */
- public function testDelete_user_picture()
- {
- // Remove the following lines when you implement this test.
- $this->markTestIncomplete(
- 'This test has not been implemented yet.'
- );
- }
- /**
- * @covers UserManager::build_production_list
- * @todo Implement testBuild_production_list().
- */
- public function testBuild_production_list()
- {
- // Remove the following lines when you implement this test.
- $this->markTestIncomplete(
- 'This test has not been implemented yet.'
- );
- }
- /**
- * @covers UserManager::get_user_productions
- * @todo Implement testGet_user_productions().
- */
- public function testGet_user_productions()
- {
- // Remove the following lines when you implement this test.
- $this->markTestIncomplete(
- 'This test has not been implemented yet.'
- );
- }
- /**
- * @covers UserManager::remove_user_production
- * @todo Implement testRemove_user_production().
- */
- public function testRemove_user_production()
- {
- // Remove the following lines when you implement this test.
- $this->markTestIncomplete(
- 'This test has not been implemented yet.'
- );
- }
- /**
- * @covers UserManager::update_extra_field
- * @todo Implement testUpdate_extra_field().
- */
- public function testUpdate_extra_field()
- {
- // Remove the following lines when you implement this test.
- $this->markTestIncomplete(
- 'This test has not been implemented yet.'
- );
- }
- /**
- * @covers UserManager::update_extra_field_value
- * @todo Implement testUpdate_extra_field_value().
- */
- public function testUpdate_extra_field_value()
- {
- // Remove the following lines when you implement this test.
- $this->markTestIncomplete(
- 'This test has not been implemented yet.'
- );
- }
- /**
- * @covers UserManager::get_extra_fields
- * @todo Implement testGet_extra_fields().
- */
- public function testGet_extra_fields()
- {
- // Remove the following lines when you implement this test.
- $this->markTestIncomplete(
- 'This test has not been implemented yet.'
- );
- }
- /**
- * @covers UserManager::get_extra_field_options
- * @todo Implement testGet_extra_field_options().
- */
- public function testGet_extra_field_options()
- {
- // Remove the following lines when you implement this test.
- $this->markTestIncomplete(
- 'This test has not been implemented yet.'
- );
- }
- /**
- * @covers UserManager::get_number_of_extra_fields
- * @todo Implement testGet_number_of_extra_fields().
- */
- public function testGet_number_of_extra_fields()
- {
- // Remove the following lines when you implement this test.
- $this->markTestIncomplete(
- 'This test has not been implemented yet.'
- );
- }
- /**
- * @covers UserManager::create_extra_field
- * @todo Implement testCreate_extra_field().
- */
- public function testCreate_extra_field()
- {
- // Remove the following lines when you implement this test.
- $this->markTestIncomplete(
- 'This test has not been implemented yet.'
- );
- }
- /**
- * @covers UserManager::save_extra_field_changes
- * @todo Implement testSave_extra_field_changes().
- */
- public function testSave_extra_field_changes()
- {
- // Remove the following lines when you implement this test.
- $this->markTestIncomplete(
- 'This test has not been implemented yet.'
- );
- }
- /**
- * @covers UserManager::is_extra_field_available
- * @todo Implement testIs_extra_field_available().
- */
- public function testIs_extra_field_available()
- {
- // Remove the following lines when you implement this test.
- $this->markTestIncomplete(
- 'This test has not been implemented yet.'
- );
- }
- /**
- * @covers UserManager::get_extra_user_data
- * @todo Implement testGet_extra_user_data().
- */
- public function testGet_extra_user_data()
- {
- // Remove the following lines when you implement this test.
- $this->markTestIncomplete(
- 'This test has not been implemented yet.'
- );
- }
- /**
- * @covers UserManager::get_extra_user_data_by_field
- * @todo Implement testGet_extra_user_data_by_field().
- */
- public function testGet_extra_user_data_by_field()
- {
- // Remove the following lines when you implement this test.
- $this->markTestIncomplete(
- 'This test has not been implemented yet.'
- );
- }
- /**
- * @covers UserManager::get_extra_field_information_by_name
- * @todo Implement testGet_extra_field_information_by_name().
- */
- public function testGet_extra_field_information_by_name()
- {
- // Remove the following lines when you implement this test.
- $this->markTestIncomplete(
- 'This test has not been implemented yet.'
- );
- }
- /**
- * @covers UserManager::get_all_extra_field_by_type
- * @todo Implement testGet_all_extra_field_by_type().
- */
- public function testGet_all_extra_field_by_type()
- {
- // Remove the following lines when you implement this test.
- $this->markTestIncomplete(
- 'This test has not been implemented yet.'
- );
- }
- /**
- * @covers UserManager::get_extra_field_information
- * @todo Implement testGet_extra_field_information().
- */
- public function testGet_extra_field_information()
- {
- // Remove the following lines when you implement this test.
- $this->markTestIncomplete(
- 'This test has not been implemented yet.'
- );
- }
- /**
- * @covers UserManager::get_extra_user_data_by_value
- * @todo Implement testGet_extra_user_data_by_value().
- */
- public function testGet_extra_user_data_by_value()
- {
- // Remove the following lines when you implement this test.
- $this->markTestIncomplete(
- 'This test has not been implemented yet.'
- );
- }
- /**
- * @covers UserManager::get_extra_user_data_by_field_variable
- * @todo Implement testGet_extra_user_data_by_field_variable().
- */
- public function testGet_extra_user_data_by_field_variable()
- {
- // Remove the following lines when you implement this test.
- $this->markTestIncomplete(
- 'This test has not been implemented yet.'
- );
- }
- /**
- * @covers UserManager::get_sessions_by_category
- * @todo Implement testGet_sessions_by_category().
- */
- public function testGet_sessions_by_category()
- {
- // Remove the following lines when you implement this test.
- $this->markTestIncomplete(
- 'This test has not been implemented yet.'
- );
- }
- /**
- * @covers UserManager::get_personal_session_course_list
- * @todo Implement testGet_personal_session_course_list().
- */
- public function testGet_personal_session_course_list()
- {
- // Remove the following lines when you implement this test.
- $this->markTestIncomplete(
- 'This test has not been implemented yet.'
- );
- }
- /**
- * @covers UserManager::get_courses_list_by_session
- * @todo Implement testGet_courses_list_by_session().
- */
- public function testGet_courses_list_by_session()
- {
- // Remove the following lines when you implement this test.
- $this->markTestIncomplete(
- 'This test has not been implemented yet.'
- );
- }
- /**
- * @covers UserManager::get_user_id_from_username
- * @todo Implement testGet_user_id_from_username().
- */
- public function testGet_user_id_from_username()
- {
- // Remove the following lines when you implement this test.
- $this->markTestIncomplete(
- 'This test has not been implemented yet.'
- );
- }
- /**
- * @covers UserManager::get_user_upload_files_by_course
- * @todo Implement testGet_user_upload_files_by_course().
- */
- public function testGet_user_upload_files_by_course()
- {
- // Remove the following lines when you implement this test.
- $this->markTestIncomplete(
- 'This test has not been implemented yet.'
- );
- }
- /**
- * @covers UserManager::get_api_keys
- * @todo Implement testGet_api_keys().
- */
- public function testGet_api_keys()
- {
- // Remove the following lines when you implement this test.
- $this->markTestIncomplete(
- 'This test has not been implemented yet.'
- );
- }
- /**
- * @covers UserManager::add_api_key
- * @todo Implement testAdd_api_key().
- */
- public function testAdd_api_key()
- {
- // Remove the following lines when you implement this test.
- $this->markTestIncomplete(
- 'This test has not been implemented yet.'
- );
- }
- /**
- * @covers UserManager::delete_api_key
- * @todo Implement testDelete_api_key().
- */
- public function testDelete_api_key()
- {
- // Remove the following lines when you implement this test.
- $this->markTestIncomplete(
- 'This test has not been implemented yet.'
- );
- }
- /**
- * @covers UserManager::update_api_key
- * @todo Implement testUpdate_api_key().
- */
- public function testUpdate_api_key()
- {
- // Remove the following lines when you implement this test.
- $this->markTestIncomplete(
- 'This test has not been implemented yet.'
- );
- }
- /**
- * @covers UserManager::get_api_key_id
- * @todo Implement testGet_api_key_id().
- */
- public function testGet_api_key_id()
- {
- // Remove the following lines when you implement this test.
- $this->markTestIncomplete(
- 'This test has not been implemented yet.'
- );
- }
- /**
- * @covers UserManager::is_admin
- * @todo Implement testIs_admin().
- */
- public function testIs_admin()
- {
- // Remove the following lines when you implement this test.
- $this->markTestIncomplete(
- 'This test has not been implemented yet.'
- );
- }
- /**
- * @covers UserManager::get_number_of_users
- * @todo Implement testGet_number_of_users().
- */
- public function testGet_number_of_users()
- {
- // Remove the following lines when you implement this test.
- $this->markTestIncomplete(
- 'This test has not been implemented yet.'
- );
- }
- /**
- * @covers UserManager::resize_picture
- * @todo Implement testResize_picture().
- */
- public function testResize_picture()
- {
- // Remove the following lines when you implement this test.
- $this->markTestIncomplete(
- 'This test has not been implemented yet.'
- );
- }
- /**
- * @covers UserManager::get_picture_user
- * @todo Implement testGet_picture_user().
- */
- public function testGet_picture_user()
- {
- // Remove the following lines when you implement this test.
- $this->markTestIncomplete(
- 'This test has not been implemented yet.'
- );
- }
- /**
- * @covers UserManager::send_message_in_outbox
- * @todo Implement testSend_message_in_outbox().
- */
- public function testSend_message_in_outbox()
- {
- // Remove the following lines when you implement this test.
- $this->markTestIncomplete(
- 'This test has not been implemented yet.'
- );
- }
- /**
- * @covers UserManager::get_tags
- * @todo Implement testGet_tags().
- */
- public function testGet_tags()
- {
- // Remove the following lines when you implement this test.
- $this->markTestIncomplete(
- 'This test has not been implemented yet.'
- );
- }
- /**
- * @covers UserManager::get_top_tags
- * @todo Implement testGet_top_tags().
- */
- public function testGet_top_tags()
- {
- // Remove the following lines when you implement this test.
- $this->markTestIncomplete(
- 'This test has not been implemented yet.'
- );
- }
- /**
- * @covers UserManager::get_user_tags
- * @todo Implement testGet_user_tags().
- */
- public function testGet_user_tags()
- {
- // Remove the following lines when you implement this test.
- $this->markTestIncomplete(
- 'This test has not been implemented yet.'
- );
- }
- /**
- * @covers UserManager::get_user_tags_to_string
- * @todo Implement testGet_user_tags_to_string().
- */
- public function testGet_user_tags_to_string()
- {
- // Remove the following lines when you implement this test.
- $this->markTestIncomplete(
- 'This test has not been implemented yet.'
- );
- }
- /**
- * @covers UserManager::get_tag_id
- * @todo Implement testGet_tag_id().
- */
- public function testGet_tag_id()
- {
- // Remove the following lines when you implement this test.
- $this->markTestIncomplete(
- 'This test has not been implemented yet.'
- );
- }
- /**
- * @covers UserManager::get_tag_id_from_id
- * @todo Implement testGet_tag_id_from_id().
- */
- public function testGet_tag_id_from_id()
- {
- // Remove the following lines when you implement this test.
- $this->markTestIncomplete(
- 'This test has not been implemented yet.'
- );
- }
- /**
- * @covers UserManager::add_tag
- * @todo Implement testAdd_tag().
- */
- public function testAdd_tag()
- {
- // Remove the following lines when you implement this test.
- $this->markTestIncomplete(
- 'This test has not been implemented yet.'
- );
- }
- /**
- * @covers UserManager::delete_user_tags
- * @todo Implement testDelete_user_tags().
- */
- public function testDelete_user_tags()
- {
- // Remove the following lines when you implement this test.
- $this->markTestIncomplete(
- 'This test has not been implemented yet.'
- );
- }
- /**
- * @covers UserManager::process_tags
- * @todo Implement testProcess_tags().
- */
- public function testProcess_tags()
- {
- // Remove the following lines when you implement this test.
- $this->markTestIncomplete(
- 'This test has not been implemented yet.'
- );
- }
- /**
- * @covers UserManager::get_all_administrators
- * @todo Implement testGet_all_administrators().
- */
- public function testGet_all_administrators()
- {
- // Remove the following lines when you implement this test.
- $this->markTestIncomplete(
- 'This test has not been implemented yet.'
- );
- }
- /**
- * @covers UserManager::get_all_user_tags
- * @todo Implement testGet_all_user_tags().
- */
- public function testGet_all_user_tags()
- {
- // Remove the following lines when you implement this test.
- $this->markTestIncomplete(
- 'This test has not been implemented yet.'
- );
- }
- /**
- * @covers UserManager::get_search_form
- * @todo Implement testGet_search_form().
- */
- public function testGet_search_form()
- {
- // Remove the following lines when you implement this test.
- $this->markTestIncomplete(
- 'This test has not been implemented yet.'
- );
- }
- /**
- * @covers UserManager::show_menu
- * @todo Implement testShow_menu().
- */
- public function testShow_menu()
- {
- // Remove the following lines when you implement this test.
- $this->markTestIncomplete(
- 'This test has not been implemented yet.'
- );
- }
- /**
- * @covers UserManager::get_special_course_list
- * @todo Implement testGet_special_course_list().
- */
- public function testGet_special_course_list()
- {
- // Remove the following lines when you implement this test.
- $this->markTestIncomplete(
- 'This test has not been implemented yet.'
- );
- }
- /**
- * @covers UserManager::relate_users
- * @todo Implement testRelate_users().
- */
- public function testRelate_users()
- {
- // Remove the following lines when you implement this test.
- $this->markTestIncomplete(
- 'This test has not been implemented yet.'
- );
- }
- /**
- * @covers UserManager::remove_user_rel_user
- * @todo Implement testRemove_user_rel_user().
- */
- public function testRemove_user_rel_user()
- {
- // Remove the following lines when you implement this test.
- $this->markTestIncomplete(
- 'This test has not been implemented yet.'
- );
- }
- /**
- * @covers UserManager::get_users_followed_by_drh
- * @todo Implement testGet_users_followed_by_drh().
- */
- public function testGet_users_followed_by_drh()
- {
- // Remove the following lines when you implement this test.
- $this->markTestIncomplete(
- 'This test has not been implemented yet.'
- );
- }
- /**
- * @covers UserManager::suscribe_users_to_hr_manager
- * @todo Implement testSuscribe_users_to_hr_manager().
- */
- public function testSuscribe_users_to_hr_manager()
- {
- // Remove the following lines when you implement this test.
- $this->markTestIncomplete(
- 'This test has not been implemented yet.'
- );
- }
- /**
- * @covers UserManager::is_user_followed_by_drh
- * @todo Implement testIs_user_followed_by_drh().
- */
- public function testIs_user_followed_by_drh()
- {
- // Remove the following lines when you implement this test.
- $this->markTestIncomplete(
- 'This test has not been implemented yet.'
- );
- }
- /**
- * @covers UserManager::get_user_id_of_course_admin_or_session_admin
- * @todo Implement testGet_user_id_of_course_admin_or_session_admin().
- */
- /*
- public function testGet_user_id_of_course_admin_or_session_admin()
- {
- // Remove the following lines when you implement this test.
- $this->markTestIncomplete(
- 'This test has not been implemented yet.'
- );
- }
- */
- /**
- * @covers UserManager::is_user_certified
- * @todo Implement testIs_user_certified().
- */
- public function testIs_user_certified()
- {
- // Remove the following lines when you implement this test.
- $this->markTestIncomplete(
- 'This test has not been implemented yet.'
- );
- }
- /**
- * @covers UserManager::get_info_gradebook_certificate
- * @todo Implement testGet_info_gradebook_certificate().
- */
- public function testGet_info_gradebook_certificate()
- {
- // Remove the following lines when you implement this test.
- $this->markTestIncomplete(
- 'This test has not been implemented yet.'
- );
- }
- /**
- * @covers UserManager::get_user_path_certificate
- * @todo Implement testGet_user_path_certificate().
- */
- public function testGet_user_path_certificate()
- {
- // Remove the following lines when you implement this test.
- $this->markTestIncomplete(
- 'This test has not been implemented yet.'
- );
- }
- /**
- * @covers UserManager::is_session_course_coach
- * @todo Implement testIs_session_course_coach().
- */
- public function testIs_session_course_coach()
- {
- // Remove the following lines when you implement this test.
- $this->markTestIncomplete(
- 'This test has not been implemented yet.'
- );
- }
- /**
- * @covers UserManager::get_favicon_from_url
- * @todo Implement testGet_favicon_from_url().
- */
- public function testGet_favicon_from_url()
- {
- // Remove the following lines when you implement this test.
- $this->markTestIncomplete(
- 'This test has not been implemented yet.'
- );
- }
- /**
- * @covers UserManager::delete_inactive_student
- * @todo Implement testDelete_inactive_student().
- */
- public function testDelete_inactive_student()
- {
- // Remove the following lines when you implement this test.
- $this->markTestIncomplete(
- 'This test has not been implemented yet.'
- );
- }
- /**
- * @covers UserManager::set_extra_fields_in_form
- * @todo Implement testSet_extra_fields_in_form().
- */
- public function testSet_extra_fields_in_form()
- {
- // Remove the following lines when you implement this test.
- $this->markTestIncomplete(
- 'This test has not been implemented yet.'
- );
- }
- /**
- * @covers UserManager::get_user_field_types
- * @todo Implement testGet_user_field_types().
- */
- public function testGet_user_field_types()
- {
- // Remove the following lines when you implement this test.
- $this->markTestIncomplete(
- 'This test has not been implemented yet.'
- );
- }
- /**
- * @covers UserManager::add_user_as_admin
- * @todo Implement testAdd_user_as_admin().
- */
- public function testAdd_user_as_admin()
- {
- // Remove the following lines when you implement this test.
- $this->markTestIncomplete(
- 'This test has not been implemented yet.'
- );
- }
- /**
- * @covers UserManager::remove_user_admin
- * @todo Implement testRemove_user_admin().
- */
- public function testRemove_user_admin()
- {
- // Remove the following lines when you implement this test.
- $this->markTestIncomplete(
- 'This test has not been implemented yet.'
- );
- }
- /**
- * @covers UserManager::update_all_user_languages
- * @todo Implement testUpdate_all_user_languages().
- */
- public function testUpdate_all_user_languages()
- {
- // Remove the following lines when you implement this test.
- $this->markTestIncomplete(
- 'This test has not been implemented yet.'
- );
- }
- }
|