Translation update done using Pootle.
[phpmyadmin/dkf.git] / test / PMA_foreignKeySupported_test.php
blob6d3e1ab335cc9e6584d3712aec40f0f289fc50a5
1 <?php
2 /* vim: set expandtab sw=4 ts=4 sts=4: */
3 /**
4 * Test for supporting foreign key
6 * @package phpMyAdmin-test
7 * @version $Id$
8 */
10 /**
11 * Tests core.
13 require_once 'PHPUnit/Framework.php';
15 /**
16 * Include to test.
18 require_once './libraries/common.lib.php';
20 /**
21 * Test supported foreign key.
24 class PMA_foreignKeySupported_test extends PHPUnit_Framework_TestCase
26 /**
27 * data provider for foreign key supported test
30 public function foreignkeySupportedDataProvider() {
31 return array(
32 array('MyISAM', false),
33 array('innodb', true),
34 array('pBxT', true)
38 /**
39 * foreign key supported test
40 * @dataProvider foreignkeySupportedDataProvider
43 public function testForeignkeySupported($a, $e) {
44 $this->assertEquals($e, PMA_foreignkey_supported($a));