summaryrefslogtreecommitdiffstats
path: root/tests/Parser/ReplaceStatementTest.php
blob: 915ee85ea6b119fa815bfc77d3aa5fcea78beff8 (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
<?php

namespace SqlParser\Tests\Parser;

use SqlParser\Tests\TestCase;

class ReplaceStatementTest extends TestCase
{

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

    public function testReplaceProvider()
    {
        return array(
            array('parser/parseReplace'),
            array('parser/parseReplace2'),
            array('parser/parseReplaceValues'),
            array('parser/parseReplaceSet'),
            array('parser/parseReplaceSelect'),
            array('parser/parseReplaceErr'),
        );
    }
}