diff options
author | Dan Ungureanu <udan1107@gmail.com> | 2015-07-25 17:57:42 +0300 |
---|---|---|
committer | Dan Ungureanu <udan1107@gmail.com> | 2015-07-25 17:59:01 +0300 |
commit | 7861701ecf87f1e98a50258f8798f3d9abc4d12f (patch) | |
tree | 4df9440244f7966a38097ac74ed0f9dce19237f9 /tests/Components/ComponentTest.php | |
parent | f1b0644ea90d427acd58aefc9d27137349fc13f3 (diff) | |
download | sql-parser-7861701ecf87f1e98a50258f8798f3d9abc4d12f.zip sql-parser-7861701ecf87f1e98a50258f8798f3d9abc4d12f.tar.gz sql-parser-7861701ecf87f1e98a50258f8798f3d9abc4d12f.tar.bz2 |
Translated exceptions.
Refactored tests.
Diffstat (limited to 'tests/Components/ComponentTest.php')
-rw-r--r-- | tests/Components/ComponentTest.php | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/tests/Components/ComponentTest.php b/tests/Components/ComponentTest.php new file mode 100644 index 0000000..b2388a3 --- /dev/null +++ b/tests/Components/ComponentTest.php @@ -0,0 +1,33 @@ +<?php + +namespace SqlParser\Tests\Parser; + +use SqlParser\Component; +use SqlParser\Parser; +use SqlParser\TokensList; + +use SqlParser\Tests\TestCase; + +class ComponentTest extends TestCase +{ + + /** + * @expectedException \Exception + * @expectedExceptionMessage Not implemented yet. + * @runInSeparateProcess + * @preserveGlobalState disabled + */ + public function testParse() + { + Component::parse(new Parser(), new TokensList()); + } + + /** + * @expectedException \Exception + * @expectedExceptionMessage Not implemented yet. + */ + public function testBuild() + { + Component::build(null); + } +} |