Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kurtakov2017-06-22 06:35:40 +0000
committerAlexander Kurtakov2017-06-22 06:36:59 +0000
commitf70cf59a4f5e7623d778cd29e390010917846db2 (patch)
tree0ada30d6ba98f418c7cc34794ea7318d6c380c17
parenteba656968c699f1a9415fad59d2b19e8452f9a0a (diff)
downloadrt.equinox.p2-f70cf59a4f5e7623d778cd29e390010917846db2.tar.gz
rt.equinox.p2-f70cf59a4f5e7623d778cd29e390010917846db2.tar.xz
rt.equinox.p2-f70cf59a4f5e7623d778cd29e390010917846db2.zip
Bug 518587 - Modernize o.e.equinox.p2.tests
Add back DictionaryServiceReference.getProperties despite it showing as error in the workspace. It's new method addition in master. Change-Id: I9d40f5101fa7a95624a05edfa490e70a2535052e Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
-rw-r--r--bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/metadata/expression/FilterTest.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/metadata/expression/FilterTest.java b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/metadata/expression/FilterTest.java
index 9a1d86717..f9256d084 100644
--- a/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/metadata/expression/FilterTest.java
+++ b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/metadata/expression/FilterTest.java
@@ -78,6 +78,10 @@ public class FilterTest extends TestCase {
public boolean isAssignableTo(Bundle bundle, String className) {
throw new UnsupportedOperationException();
}
+
+ public Dictionary getProperties() {
+ return new Hashtable(dictionary);
+ }
}
private static class SampleComparable implements Comparable {

Back to the top