git://wamblee.org
/
utils
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[maven-release-plugin] prepare for next development iteration
[utils]
/
system
/
general
/
src
/
test
/
java
/
org
/
wamblee
/
system
/
adapters
/
ObjectAdapterTest.java
diff --git
a/system/general/src/test/java/org/wamblee/system/adapters/ObjectAdapterTest.java
b/system/general/src/test/java/org/wamblee/system/adapters/ObjectAdapterTest.java
index 572629fc3440b936a9acba6d64a0145d981f30bf..0c6825e78e5605049ee76b1eb3063ba4155bbbd0 100644
(file)
--- a/
system/general/src/test/java/org/wamblee/system/adapters/ObjectAdapterTest.java
+++ b/
system/general/src/test/java/org/wamblee/system/adapters/ObjectAdapterTest.java
@@
-18,8
+18,8
@@
package org.wamblee.system.adapters;
import java.util.Collections;
import java.util.List;
import java.util.Collections;
import java.util.List;
+import org.wamblee.system.container.Container;
import org.wamblee.system.core.Component;
import org.wamblee.system.core.Component;
-import org.wamblee.system.core.Container;
import org.wamblee.system.core.DefaultProvidedInterface;
import org.wamblee.system.core.ProvidedInterface;
import org.wamblee.system.core.RequiredInterface;
import org.wamblee.system.core.DefaultProvidedInterface;
import org.wamblee.system.core.ProvidedInterface;
import org.wamblee.system.core.RequiredInterface;
@@
-32,10
+32,13
@@
public class ObjectAdapterTest extends AdapterTestCase {
public void testSetterInjection() {
ClassConfiguration x1Config = new ClassConfiguration(X1.class);
public void testSetterInjection() {
ClassConfiguration x1Config = new ClassConfiguration(X1.class);
+ x1Config.getObjectConfig().getSetterConfig().initAllSetters();
x1Config.getConstructorConfig().getParameters().setValue(0, "hello");
ClassConfiguration x4Config = new ClassConfiguration(X4.class);
x1Config.getConstructorConfig().getParameters().setValue(0, "hello");
ClassConfiguration x4Config = new ClassConfiguration(X4.class);
- SetterConfiguration x8Config = new SetterConfiguration(X8.class);
+ x4Config.getObjectConfig().getSetterConfig().initAllSetters();
+ ObjectConfiguration x8Config = new ObjectConfiguration(X8.class);
+ x8Config.getSetterConfig().initAllSetters();
X1 x1 = new X1();
X8 x8 = new X8(x1);
X1 x1 = new X1();
X8 x8 = new X8(x1);