summaryrefslogtreecommitdiffstats
path: root/tests/Parser/CreateStatementTest.php
blob: 11bfc5e2c3c3203847787f72c48bea4797123f76 (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
32
33
34
<?php

namespace SqlParser\Tests\Parser;

use SqlParser\Tests\TestCase;

class CreateStatementTest extends TestCase
{

    /**
     * @dataProvider testCreateProvider
     */
    public function testCreate($test)
    {
        $this->runParserTest($test);
    }

    public function testCreateProvider()
    {
        return array(
            array('parseCreateFunction'),
            array('parseCreateFunctionErr1'),
            array('parseCreateFunctionErr2'),
            array('parseCreateProcedure'),
            array('parseCreateProcedure2'),
            array('parseCreateTable'),
            array('parseCreateTable2'),
            array('parseCreateTableErr1'),
            array('parseCreateUser'),
            array('parseCreateView'),
            array('parseCreateView2'),
        );
    }
}