}
return name;
}
+
+ protected void checkPHP(String strEval) {
+ checkPHP(strEval,"");
+ }
+ protected void checkPHP(String strEval, String expectedSyntaxErrorDiagnosis ) {
+ if (Scanner.DEBUG) {
+ System.out.println("\n------------------------------------");
+ System.out.println(strEval);
+ }
+ checkParsePHP(strEval.toCharArray(), expectedSyntaxErrorDiagnosis);
+ }
+
protected void checkHTML(String strEval) {
if (Scanner.DEBUG) {
System.out.println("\n------------------------------------");
checkParseHTML(
strEval.toCharArray(),
"");
- // parser.phpParserTester(strEval, 1);
}
- // private void checkHTML(String strEval) {
- // if (Scanner.DEBUG) {
- // System.out.println("\n------------------------------------");
- // System.out.println(strEval);
- // }
- // parser.parse(strEval);
- // }
- // /**
- // * The JUnit setup method
- // */
- // protected void setUp() {
- // parser = new Parser(null);
- // }
-
-// public void initialize(CompilerTestSetup setUp) {
-// this.complianceLevel = setUp.complianceLevel;
-// }
}