untranslatable message
[phpmyadmin/ammar_yasir.git] / test / PMA_foreignKeySupported_test.php
blobf00afca2c44a783116f76c80e461e49621f41191
1 <?php
2 /* vim: set expandtab sw=4 ts=4 sts=4: */
3 /**
4 * Test for supporting foreign key
6 * @package phpMyAdmin-test
7 */
9 /**
10 * Tests core.
12 require_once 'PHPUnit/Framework.php';
14 /**
15 * Include to test.
17 require_once './libraries/common.lib.php';
19 /**
20 * Test supported foreign key.
23 class PMA_foreignKeySupported_test extends PHPUnit_Framework_TestCase
25 /**
26 * data provider for foreign key supported test
29 public function foreignkeySupportedDataProvider() {
30 return array(
31 array('MyISAM', false),
32 array('innodb', true),
33 array('pBxT', true)
37 /**
38 * foreign key supported test
39 * @dataProvider foreignkeySupportedDataProvider
42 public function testForeignkeySupported($a, $e) {
43 $this->assertEquals($e, PMA_foreignkey_supported($a));