X-Git-Url: http://secure.phpeclipse.com diff --git a/net.sourceforge.phpeclipse/src/test/PHPParserTestCase2.java b/net.sourceforge.phpeclipse/src/test/PHPParserTestCase2.java index d921054..28f2a6e 100644 --- a/net.sourceforge.phpeclipse/src/test/PHPParserTestCase2.java +++ b/net.sourceforge.phpeclipse/src/test/PHPParserTestCase2.java @@ -1,17 +1,19 @@ package test; + /********************************************************************** -Copyright (c) 2002 Klaus Hartlage - www.eclipseproject.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 -**********************************************************************/ + Copyright (c) 2002 Klaus Hartlage - www.eclipseproject.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 + **********************************************************************/ import org.eclipse.core.runtime.CoreException; import junit.framework.TestCase; import java.io.CharArrayReader; +import java.io.File; /** @@ -29,7 +31,10 @@ public class PHPParserTestCase2 extends TestCase { * Test the PHP Parser with different PHP snippets */ public void testPHPParser() { - checkHTML(""); + //checkHTML(new File("class.adm_gestuser.php")); + checkHTML(""); + checkHTML(""); checkHTML("" + "\n dfgdfgfdfg" + "\n" + @@ -46,40 +51,6 @@ public class PHPParserTestCase2 extends TestCase { ""); - checkHTML("tabAffich['oModeCentral']=$oModeCentral;" + - "\nob_start('ob_gzhandler');" + - "\necho $Atreides->vueMetier('visu',$AtreidesTheme);" + - "\n?>"); checkHTML("sdfsdf "); checkHTML("\n\n\n\n "); checkHTML(""); @@ -141,7 +112,7 @@ public class PHPParserTestCase2 extends TestCase { checkPHP("$AllowableHTML = array(\"b\"=>1,\n \"i\"=>1);"); checkPHP("if ($term{0}!=$firstChar) {}"); checkPHP( - "echo \"