summaryrefslogtreecommitdiffstats
path: root/tests/parser/SelectStatementTest.php
blob: 21df10fb3fbcc5eb70c98c2cd4ad370fc200fd76 (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
<?php

class SelectStatementTest extends TestCase
{

    public function testSelect()
    {
        $parser = $this->runParserTest('parseSelect');
        $stmt = $parser->statements[0];
        $this->assertEquals(10, $stmt->options->has('MAX_STATEMENT_TIME'));
    }

    public function testSelect2()
    {
        $this->runParserTest('parseSelect2');
    }

    public function testSelectErr1()
    {
        $this->runParserTest('parseSelectErr1');
    }

    public function testSelectNested()
    {
        $this->runParserTest('parseSelectNested');
    }
}