diff options
author | teicher | 2006-08-03 14:38:45 +0000 |
---|---|---|
committer | teicher | 2006-08-03 14:38:45 +0000 |
commit | 0e2fb9af11b0c3de0e62e10e8950b98cf4750955 (patch) | |
tree | 3795faadb163744158e79ec150e874fdb4195ea4 /org.eclipse.text.tests | |
parent | 904ab7c53959f24a0f669389ecd9806300e101b0 (diff) | |
download | eclipse.platform.text-0e2fb9af11b0c3de0e62e10e8950b98cf4750955.tar.gz eclipse.platform.text-0e2fb9af11b0c3de0e62e10e8950b98cf4750955.tar.xz eclipse.platform.text-0e2fb9af11b0c3de0e62e10e8950b98cf4750955.zip |
135547 [projection][implementation] get rid of ProjectionDocument::computeCoverageGap
Diffstat (limited to 'org.eclipse.text.tests')
-rw-r--r-- | org.eclipse.text.tests/projection/org/eclipse/text/tests/ProjectionDocumentTest.java | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/org.eclipse.text.tests/projection/org/eclipse/text/tests/ProjectionDocumentTest.java b/org.eclipse.text.tests/projection/org/eclipse/text/tests/ProjectionDocumentTest.java index beb0bf56543..3a23b58812e 100644 --- a/org.eclipse.text.tests/projection/org/eclipse/text/tests/ProjectionDocumentTest.java +++ b/org.eclipse.text.tests/projection/org/eclipse/text/tests/ProjectionDocumentTest.java @@ -1598,7 +1598,8 @@ public class ProjectionDocumentTest extends TestCase { } Position[] expected= { - new Position(5, 35), + new Position(5, 10), + new Position(20, 20), new Position(60, 20), new Position(100, 20), new Position(140, 20) @@ -1624,7 +1625,8 @@ public class ProjectionDocumentTest extends TestCase { new Position(20,20), new Position(60, 20), new Position(100, 20), - new Position(140, 35) + new Position(140, 20), + new Position(165, 10) }; assertFragmentation(expected); } @@ -1645,7 +1647,8 @@ public class ProjectionDocumentTest extends TestCase { Position[] expected= { new Position(20, 20), - new Position(45, 35), + new Position(45, 10), + new Position(60, 20), new Position(100, 20), new Position(140, 20) }; @@ -1670,7 +1673,8 @@ public class ProjectionDocumentTest extends TestCase { Position[] expected= { new Position(20, 20), new Position(60, 20), - new Position(85, 35), + new Position(85, 10), + new Position(100, 20), new Position(140, 20) }; assertFragmentation(expected); |