X-Git-Url: http://secure.phpeclipse.com 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 3bcfbdd..3dd7166 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 @@ -1,6 +1,6 @@ package net.sourceforge.phpeclipse.tests.parser; /******************************************************************************* - * Copyright (c) 2002 Klaus Hartlage - www.eclipseproject.de All rights + * Copyright (c) 2002 www.phpeclipse.de All rights * reserved. This program and the accompanying materials are made available * under the terms of the Common Public License v1.0 which accompanies this * distribution, and is available at http://www.eclipse.org/legal/cpl-v10.html @@ -19,7 +19,12 @@ public class PHPParserTestCase extends AbstractCompilerTest { * Test the PHP Parser with different PHP snippets */ public void testPHPParser() { - checkPHP("switch ($aItem[ELM_NAME]) {\r\n" + + checkPHP("$test=\"{4IP}/{$include}\";"); + checkPHP("$this->mRegex = \"/{$this->mBaseRegex}/{$case}\";"); + checkPHP("$schema_create .= \" DEFAULT \'$row[Default]\'\";"); + checkPHP("$stringVar=\"ein normaler $varText\";"); + checkPHP("$stringVar=\'ein normaler $varText\';"); + checkPHP("switch ($aItem[ELM_NAME]) {\r\n" + " case \'channel\':\r\n" + " $this->readChannel($aItem);\r\n" + " break;\r\n" + @@ -32,8 +37,7 @@ public class PHPParserTestCase extends AbstractCompilerTest { checkPHP("try {echo $Stream->readAll(); } catch (Exception $e) {\r\n" + " // Swallow exception\r\n" + " }"); - checkPHP("$this->mRegex = \"/{$this->mBaseRegex}/{$case}\";"); - checkPHP("$schema_create .= \" DEFAULT \'$row[Default]\'\";"); + checkHTML("