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.
292 lines
7.5 KiB
292 lines
7.5 KiB
<?php
|
|
/**
|
|
* Generated by PHPUnit_SkeletonGenerator on 2012-10-01 at 14:44:08.
|
|
*/
|
|
class CurrentUserTest extends PHPUnit_Framework_TestCase
|
|
{
|
|
/**
|
|
* @var CurrentUser
|
|
*/
|
|
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 CurrentUser;
|
|
}
|
|
|
|
/**
|
|
* Tears down the fixture, for example, closes a network connection.
|
|
* This method is called after a test is executed.
|
|
*/
|
|
protected function tearDown()
|
|
{
|
|
}
|
|
|
|
/**
|
|
* @covers CurrentUser::instance
|
|
* @todo Implement testInstance().
|
|
*/
|
|
public function testInstance()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers CurrentUser::data
|
|
* @todo Implement testData().
|
|
*/
|
|
public function testData()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers CurrentUser::is_anonymous
|
|
* @todo Implement testIs_anonymous().
|
|
*/
|
|
public function testIs_anonymous()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers CurrentUser::first_name
|
|
* @todo Implement testFirst_name().
|
|
*/
|
|
public function testFirst_name()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers CurrentUser::last_name
|
|
* @todo Implement testLast_name().
|
|
*/
|
|
public function testLast_name()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers CurrentUser::email
|
|
* @todo Implement testEmail().
|
|
*/
|
|
public function testEmail()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers CurrentUser::last_login
|
|
* @todo Implement testLast_login().
|
|
*/
|
|
public function testLast_login()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers CurrentUser::official_code
|
|
* @todo Implement testOfficial_code().
|
|
*/
|
|
public function testOfficial_code()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers CurrentUser::picture_uri
|
|
* @todo Implement testPicture_uri().
|
|
*/
|
|
public function testPicture_uri()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers CurrentUser::user_id
|
|
* @todo Implement testUser_id().
|
|
*/
|
|
public function testUser_id()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers CurrentUser::language
|
|
* @todo Implement testLanguage().
|
|
*/
|
|
public function testLanguage()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers CurrentUser::auth_source
|
|
* @todo Implement testAuth_source().
|
|
*/
|
|
public function testAuth_source()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers CurrentUser::theme
|
|
* @todo Implement testTheme().
|
|
*/
|
|
public function testTheme()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers CurrentUser::is_platform_admin
|
|
* @todo Implement testIs_platform_admin().
|
|
*/
|
|
public function testIs_platform_admin()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers CurrentUser::is_session_admin
|
|
* @todo Implement testIs_session_admin().
|
|
*/
|
|
public function testIs_session_admin()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers CurrentUser::is_allowed_to_create_course
|
|
* @todo Implement testIs_allowed_to_create_course().
|
|
*/
|
|
public function testIs_allowed_to_create_course()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers CurrentUser::is_course_admin
|
|
* @todo Implement testIs_course_admin().
|
|
*/
|
|
public function testIs_course_admin()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers CurrentUser::is_course_member
|
|
* @todo Implement testIs_course_member().
|
|
*/
|
|
public function testIs_course_member()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers CurrentUser::is_allowed_in_course
|
|
* @todo Implement testIs_allowed_in_course().
|
|
*/
|
|
public function testIs_allowed_in_course()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers CurrentUser::is_course_coach
|
|
* @todo Implement testIs_course_coach().
|
|
*/
|
|
public function testIs_course_coach()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers CurrentUser::is_course_tutor
|
|
* @todo Implement testIs_course_tutor().
|
|
*/
|
|
public function testIs_course_tutor()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers CurrentUser::get
|
|
* @todo Implement testGet().
|
|
*/
|
|
public function testGet()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
}
|
|
|