From: axelcl Date: Thu, 13 Oct 2005 19:38:22 +0000 (+0000) Subject: New parser tests X-Git-Url: http://secure.phpeclipse.com?hp=fe90c568bd2650fc1cb2ad9e29ca1fe06e562fe3 New parser tests --- diff --git a/net.sourceforge.phpeclipse.tests/src/net/sourceforge/phpeclipse/tests/parser/PHPParserTestCase.java b/net.sourceforge.phpeclipse.tests/src/net/sourceforge/phpeclipse/tests/parser/PHPParserTestCase.java index c2ba473..db68ad3 100644 --- a/net.sourceforge.phpeclipse.tests/src/net/sourceforge/phpeclipse/tests/parser/PHPParserTestCase.java +++ b/net.sourceforge.phpeclipse.tests/src/net/sourceforge/phpeclipse/tests/parser/PHPParserTestCase.java @@ -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]\'\";");