3 require_once 'PHPUnit/Framework.php';
7 * Application Test Suite
10 * @copyright Copyright (c)2005 - 2008, Blue Static
14 class AppTest
extends PHPUnit_Framework_TestCase
16 public function setUp()
18 require_once ISSO
. '/App.php';
21 public function testSetGetDebug()
23 BSApp
::set_debug(true);
24 $this->assertSame(true, BSApp
::get_debug());
27 public function testDebugList()
29 $this->assertEquals('<select><option>Debug Notices (0)</option></select>', BSApp
::get_debug_list());
32 $this->assertEquals('<select><option>Debug Notices (1)</option><option>--- dbg</option></select>', BSApp
::get_debug_list());