From 89999bed3cc43ee07c4d6c60e9ebea6b334f27ef Mon Sep 17 00:00:00 2001 From: axelcl Date: Thu, 13 Oct 2005 19:38:22 +0000 Subject: [PATCH 1/1] New parser tests --- .../phpeclipse/tests/parser/PHPParserTestCase.java | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) 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]\'\";"); -- 1.7.1