summaryrefslogtreecommitdiffstats
path: root/tests/Parser/SetStatementTest.php
blob: 61062e3589aec5050d3c3ed0760dbfc831e7ea70 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<?php

namespace PhpMyAdmin\SqlParser\Tests\Parser;

use PhpMyAdmin\SqlParser\Tests\TestCase;

class SetStatementTest extends TestCase
{
    /**
     * @dataProvider testSetProvider
     *
     * @param mixed $test
     */
    public function testSet($test)
    {
        $this->runParserTest($test);
    }

    public function testSetProvider()
    {
        return array(
            array('parser/parseSetCharset'),
            array('parser/parseSetCharsetError'),
            array('parser/parseSetCharacterSet'),
            array('parser/parseSetCharacterSetError'),
            array('parser/parseSetNames'),
            array('parser/parseSetNamesError'),
            array('parser/parseSetError1'),
        );
    }
}