initial rework for new enhancement

This commit is contained in:
Robin Bygrave
2013-06-19 20:36:24 +12:00
parent eb1eafe98c
commit 4ec62a5772
193 changed files with 2737 additions and 5285 deletions
@@ -3,6 +3,7 @@ package com.avaje.tests.el;
import junit.framework.TestCase;
import com.avaje.ebean.Ebean;
import com.avaje.ebean.bean.EntityBean;
import com.avaje.ebeaninternal.api.SpiEbeanServer;
import com.avaje.ebeaninternal.server.deploy.BeanDescriptor;
import com.avaje.ebeaninternal.server.el.ElPropertyValue;
@@ -31,10 +32,10 @@ public class TestElGetReference extends TestCase {
ElPropertyValue addrLine1Prop = descriptor.getElGetValue("billingAddress.line1");
ElPropertyValue addrCityProp = descriptor.getElGetValue("billingAddress.city");
elProp.elGetReference(c0);
elProp.elGetReference(c1);
elProp.elGetReference((EntityBean)c0);
elProp.elGetReference((EntityBean)c1);
addrLine1Prop.elSetValue(c1, "12 someplace", true, false);
addrCityProp.elSetValue(c1, "Auckland", true, false);
addrLine1Prop.elSetValue((EntityBean)c1, "12 someplace", true, false);
addrCityProp.elSetValue((EntityBean)c1, "Auckland", true, false);
}
}