removed NPE in XMLPreferenceInitializer
[phpeclipse.git] / 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]\'\";");