commit | 58c6f37451d0efe5488da935db76082937db19f6 | [log] [tgz] |
---|---|---|
author | Lars Vogel <Lars.Vogel@vogella.com> | Sat Feb 06 08:34:44 2021 +0100 |
committer | Lars Vogel <Lars.Vogel@vogella.com> | Sat Feb 06 08:37:07 2021 +0100 |
tree | e87c5b36b72af6bbaf1c53e28bbecc262aadbf4e | |
parent | d8e056ddd680917bc58c8616e877aabe1fa63e35 [diff] |
Bug 570914 - Fixing MockResource by adding the new API IResource created a new method, the mock class should inherit this. Change-Id: If1e6188134dc32dc812cfb2479c0be76f5ef687f Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
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 ecbf480..ceb8160 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 @@ throw new Error("Not implemented"); } + public IMarker createMarker(String type, Map<String, Object> attributes) throws CoreException { + // TODO Auto-generated method stub + return null; + } + }