Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Vogel2021-02-06 07:34:44 +0000
committerLars Vogel2021-02-06 07:37:07 +0000
commit58c6f37451d0efe5488da935db76082937db19f6 (patch)
treee87c5b36b72af6bbaf1c53e28bbecc262aadbf4e
parentd8e056ddd680917bc58c8616e877aabe1fa63e35 (diff)
downloadeclipse.platform.text-58c6f37451d0efe5488da935db76082937db19f6.tar.gz
eclipse.platform.text-58c6f37451d0efe5488da935db76082937db19f6.tar.xz
eclipse.platform.text-58c6f37451d0efe5488da935db76082937db19f6.zip
IResource created a new method, the mock class should inherit this. Change-Id: If1e6188134dc32dc812cfb2479c0be76f5ef687f Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
-rw-r--r--org.eclipse.text.quicksearch.tests/src/org/eclipse/text/quicksearch/tests/MockResource.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/org.eclipse.text.quicksearch.tests/src/org/eclipse/text/quicksearch/tests/MockResource.java b/org.eclipse.text.quicksearch.tests/src/org/eclipse/text/quicksearch/tests/MockResource.java
index ecbf4807f19..ceb81606f62 100644
--- a/org.eclipse.text.quicksearch.tests/src/org/eclipse/text/quicksearch/tests/MockResource.java
+++ b/org.eclipse.text.quicksearch.tests/src/org/eclipse/text/quicksearch/tests/MockResource.java
@@ -448,4 +448,9 @@ public class MockResource implements IResource {
throw new Error("Not implemented");
}
+ public IMarker createMarker(String type, Map<String, Object> attributes) throws CoreException {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
}

Back to the top