New parser tests
authoraxelcl <axelcl>
Thu, 13 Oct 2005 19:38:22 +0000 (19:38 +0000)
committeraxelcl <axelcl>
Thu, 13 Oct 2005 19:38:22 +0000 (19:38 +0000)
net.sourceforge.phpeclipse.tests/src/net/sourceforge/phpeclipse/tests/parser/PHPParserTestCase.java

index c2ba473..db68ad3 100644 (file)
@@ -23,6 +23,8 @@ public class PHPParserTestCase extends AbstractCompilerTest {
         */
        public void testPHPParser() {
                // checkPHP("i=10;"); // should get an error !
+               checkPHP("$y=self::$x->huba;");
+               checkPHP("self::x()->set();");
                checkPHP("$test=\"{4IP}/{$include}\";");
                checkPHP("$this->mRegex = \"/{$this->mBaseRegex}/{$case}\";");
                checkPHP("$schema_create .= \" DEFAULT \'$row[Default]\'\";");