Refactored ConfigFile class so that it is no longer a singleton
[phpmyadmin.git] / test / engines / PMA_StorageEngine_binlog_test.php
blob23c5c8daef61da921295c34ef82ac2ce730cfe72
1 <?php
2 /**
3 * Tests for PMA_StorageEngine_binlog
5 * @package PhpMyAdmin-test
6 */
8 /*
9 * Include to test.
12 require_once 'libraries/StorageEngine.class.php';
13 require_once 'libraries/engines/binlog.lib.php';
14 require_once 'libraries/database_interface.inc.php';
15 require_once 'libraries/Tracker.class.php';
17 class PMA_StorageEngine_binlog_Test extends PHPUnit_Framework_TestCase
19 /**
20 * @access protected
22 protected $object;
24 /**
25 * Sets up the fixture, for example, opens a network connection.
26 * This method is called before a test is executed.
28 * @access protected
29 * @return void
31 protected function setUp()
33 $this->object = new PMA_StorageEngine_binlog('binlog');
36 /**
37 * Tears down the fixture, for example, closes a network connection.
38 * This method is called after a test is executed.
40 * @access protected
41 * @return void
43 protected function tearDown()
45 unset($this->object);
49 /**
50 * Test for getMysqlHelpPage
52 public function testGetMysqlHelpPage()
54 $this->assertEquals(
55 $this->object->getMysqlHelpPage(),
56 'binary-log'