12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667 |
- <?php
- /**
- * Generated by PHPUnit_SkeletonGenerator on 2014-12-04 at 12:32:35.
- */
- class HelperTest extends PHPUnit_Framework_TestCase {
- /**
- * Sets up the fixture, for example, opens a network connection.
- * This method is called before a test is executed.
- */
- protected function setUp() {
- }
- /**
- * Tears down the fixture, for example, closes a network connection.
- * This method is called after a test is executed.
- */
- protected function tearDown() {
-
- }
- /**
- * @covers Helper::TableMaker
- * @todo Implement testTableMaker().
- */
- public function testTableMaker() {
- // Remove the following lines when you implement this test.
- $this->markTestIncomplete(
- 'This test has not been implemented yet.'
- );
- }
- /**
- * @covers Helper::IsValidEmail
- * @todo Implement testIsValidEmail().
- */
- public function testIsValidEmail() {
- $validEmail="rob@robware.uk";
- $invalidEmail="rob@*";
-
- $this->assertEquals(true,Utils::IsValidEmail($validEmail));
- $this->assertEquals(false,Utils::IsValidEmail($invalidEmail));
- }
- /**
- * @covers Helper::DeleteCookie
- * @todo Implement testDeleteCookie().
- */
- public function testDeleteCookie() {
- // Remove the following lines when you implement this test.
- $this->markTestIncomplete(
- 'This test has not been implemented yet.'
- );
- }
- /**
- * @covers Helper::GetMaxUploadString
- * @todo Implement testGetMaxUploadString().
- */
- public function testGetMaxUploadString() {
- // Remove the following lines when you implement this test.
- $this->markTestIncomplete(
- 'This test has not been implemented yet.'
- );
- }
- }
|