--- /dev/null
+package net.sourceforge.phpeclipse.tests.parser;
+
+/*******************************************************************************
+ * 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
+ ******************************************************************************/
+import net.sourceforge.phpdt.core.tests.util.AbstractCompilerTest;
+
+/**
+ * Tests the php parser
+ */
+public class ShortTagTestCase extends AbstractCompilerTest {
+ public ShortTagTestCase(String name) {
+ super(name);
+ }
+
+ /**
+ * Test the PHP Parser with different PHP short tag snippets
+ */
+ public void testPHPParser() {
+ checkHTML("<?=$var?>");
+ checkHTML("<?=\"a\", someOtherPHPCode(); ?>");
+ checkHTML("<?= \"a\", \"b\" ?> text <?= \"a\", \"b\" ?>");
+ }
+
+}