diff options
author | Lars Vogel | 2021-02-06 07:34:44 +0000 |
---|---|---|
committer | Lars Vogel | 2021-02-06 07:37:07 +0000 |
commit | 58c6f37451d0efe5488da935db76082937db19f6 (patch) | |
tree | e87c5b36b72af6bbaf1c53e28bbecc262aadbf4e | |
parent | d8e056ddd680917bc58c8616e877aabe1fa63e35 (diff) | |
download | eclipse.platform.text-58c6f37451d0efe5488da935db76082937db19f6.tar.gz eclipse.platform.text-58c6f37451d0efe5488da935db76082937db19f6.tar.xz eclipse.platform.text-58c6f37451d0efe5488da935db76082937db19f6.zip |
Bug 570914 - Fixing MockResource by adding the new APIY20210210-0100Y20210209-1200I20210210-0910I20210209-1800I20210208-1800I20210207-1800I20210206-1800I20210206-0720
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.java | 5 |
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; + } + } |