Passed
Pull Request — master (#311)
by William
12:43
created

SetStatementTest::setProvider()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 12
Code Lines 10

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 10
c 0
b 0
f 0
nc 1
nop 0
dl 0
loc 12
rs 9.9332
1
<?php
2
3
namespace PhpMyAdmin\SqlParser\Tests\Parser;
4
5
use PhpMyAdmin\SqlParser\Tests\TestCase;
6
7
class SetStatementTest extends TestCase
8
{
9
    /**
10
     * @dataProvider setProvider
11
     *
12
     * @param mixed $test
13
     */
14
    public function testSet($test)
15
    {
16
        $this->runParserTest($test);
17
    }
18
19
    public function setProvider()
20
    {
21
        return array(
22
            array('parser/parseSetCharset'),
23
            array('parser/parseSetCharsetError'),
24
            array('parser/parseSetCharacterSet'),
25
            array('parser/parseSetCharacterSetError'),
26
            array('parser/parseAlterTableSetAutoIncrementError'),
27
            array('parser/parseSetNames'),
28
            array('parser/parseSetNamesError'),
29
            array('parser/parseSetError1'),
30
            array('parser/parseInsertIntoSet')
31
        );
32
    }
33
}
34