summaryrefslogtreecommitdiffstats
path: root/tests/Parser/SelectStatementTest.php
diff options
context:
space:
mode:
authorBrad Mostert <mostertb@users.noreply.github.com>2018-10-13 16:04:03 +0200
committerBrad Mostert <mostertb@users.noreply.github.com>2018-10-13 16:04:03 +0200
commit6f76011f86aed4f5645abef6da888c1ae0ee5bcb (patch)
treeab506d8008a2e75eb86ed7748b2810240209234d /tests/Parser/SelectStatementTest.php
parent9cc6cc7a51607f9df355a1713d31893aa5e4e53d (diff)
downloadsql-parser-6f76011f86aed4f5645abef6da888c1ae0ee5bcb.zip
sql-parser-6f76011f86aed4f5645abef6da888c1ae0ee5bcb.tar.gz
sql-parser-6f76011f86aed4f5645abef6da888c1ae0ee5bcb.tar.bz2
Add tests for parsing of CASE expressions with aliases
Diffstat (limited to 'tests/Parser/SelectStatementTest.php')
-rw-r--r--tests/Parser/SelectStatementTest.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/Parser/SelectStatementTest.php b/tests/Parser/SelectStatementTest.php
index 42fb955..f3c812c 100644
--- a/tests/Parser/SelectStatementTest.php
+++ b/tests/Parser/SelectStatementTest.php
@@ -51,6 +51,16 @@ class SelectStatementTest extends TestCase
array('parser/parseSelectCaseErr3'),
array('parser/parseSelectCaseErr4'),
array('parser/parseSelectCaseErr5'),
+ array('parser/parseSelectCaseAlias1'),
+ array('parser/parseSelectCaseAlias2'),
+ array('parser/parseSelectCaseAlias3'),
+ array('parser/parseSelectCaseAlias4'),
+ array('parser/parseSelectCaseAlias5'),
+ array('parser/parseSelectCaseAlias6'),
+ array('parser/parseSelectCaseAliasErr1'),
+ array('parser/parseSelectCaseAliasErr2'),
+ array('parser/parseSelectCaseAliasErr3'),
+ array('parser/parseSelectCaseAliasErr4'),
array('parser/parseSelectIntoOptions1'),
array('parser/parseSelectIntoOptions2'),
array('parser/parseSelectIntoOptions3'),