improved parser string handling
[phpeclipse.git] / net.sourceforge.phpeclipse.tests / src / net / sourceforge / phpeclipse / phpeditor / php / test / PHPPartitionScannerTest.java
index 535b473..713c56b 100644 (file)
@@ -14,7 +14,7 @@ import org.eclipse.jface.text.rules.*;
 /**
  * Testcase for the PHPPartitionScanner
  * @author Stefan Langer
- * @version $Revision: 1.2 $
+ * @version $Revision: 1.3 $
  */
 public class PHPPartitionScannerTest extends TestCase
 {
@@ -114,7 +114,7 @@ public class PHPPartitionScannerTest extends TestCase
         token = fScanner.nextToken();
         junit.framework.Assert.assertEquals(
             "PHPComment Partition 1 not recognized!",
-            IPHPPartitions.PHP_MULTILINE_COMMENT,
+            IPHPPartitions.PHP_PHPDOC_COMMENT,
             (String) token.getData());
         junit.framework.Assert.assertEquals(
             "Length of PHPComment Partition 1 not correct!",
@@ -216,7 +216,7 @@ public class PHPPartitionScannerTest extends TestCase
         token = fScanner.nextToken();
         junit.framework.Assert.assertEquals(
             "PHP Multilinecomment 2 not recognized!",
-            IPHPPartitions.PHP_MULTILINE_COMMENT,
+            IPHPPartitions.PHP_PHPDOC_COMMENT,
             (String) token.getData());
         junit.framework.Assert.assertEquals(
             "Length of PHP Multilinecomment 2  not correct!",
@@ -430,7 +430,7 @@ public class PHPPartitionScannerTest extends TestCase
         token = fScanner.nextToken();
         junit.framework.Assert.assertEquals(
             "PHP Multiline not recognized!",
-            IPHPPartitions.PHP_MULTILINE_COMMENT,
+            IPHPPartitions.PHP_PHPDOC_COMMENT,
             (String) token.getData());
         junit.framework.Assert.assertEquals(
             "Length of PHP Multinline not correct!",