summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Liebig2008-02-22 05:27:31 (EST)
committerStefan Liebig2008-02-22 05:27:31 (EST)
commit4748d584e949b771e434e6b2aa728575de4cd8bb (patch)
treee598337ba8c097e083a9d69383290cf766f7c8f8
parente4217b38123572999c19b8d310283e7c68b5de15 (diff)
downloadorg.eclipse.riena-4748d584e949b771e434e6b2aa728575de4cd8bb.zip
org.eclipse.riena-4748d584e949b771e434e6b2aa728575de4cd8bb.tar.gz
org.eclipse.riena-4748d584e949b771e434e6b2aa728575de4cd8bb.tar.bz2
minor ┬┤Kinkerlitzchen┬┤
-rw-r--r--org.eclipse.riena.tests/src/org/eclipse/riena/core/service/InjectorTest.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/org.eclipse.riena.tests/src/org/eclipse/riena/core/service/InjectorTest.java b/org.eclipse.riena.tests/src/org/eclipse/riena/core/service/InjectorTest.java
index fb2b16b..322651b 100644
--- a/org.eclipse.riena.tests/src/org/eclipse/riena/core/service/InjectorTest.java
+++ b/org.eclipse.riena.tests/src/org/eclipse/riena/core/service/InjectorTest.java
@@ -221,13 +221,13 @@ public class InjectorTest extends TestCase {
}
public void testFilterTest() {
- System.out.println("testFilterTest");
+ System.out.println("testFilterTest:");
Target target = new Target();
DepOne depOne = new DepOneOne();
- Hashtable<String, String> ht = new Hashtable<String, String>();
- ht.put("x", "y");
- ServiceRegistration reg = context.registerService(DepOne.class.getName(), depOne, ht);
+ Hashtable<String, String> props = new Hashtable<String, String>();
+ props.put("x", "y");
+ ServiceRegistration reg = context.registerService(DepOne.class.getName(), depOne, props);
Injector shot = new ServiceId(DepOne.class.getName()).useFilter("(x=y)").injectInto(target).andStart(context);
assertEquals(1, target.count("bind", DepOneOne.class));