}
private void testValuesDuringEdition(String dsName, int mode) throws Exception{
DataSource d = ds.getDataSource(dsName);
d.beginTrans();
d.setFieldValue(0, 0, ValueFactory.createValue(10));
assertTrue(((BooleanValue)d.getFieldValue(0, 0).equals(ValueFactory.createValue(10))).getValue());
assertTrue(((BooleanValue)d.getFieldValue(0, 1).equals(ValueFactory.createValue("fernando"))).getValue());
d.setFieldValue(0, 1, ValueFactory.createValue("nombre"));
assertTrue(((BooleanValue)d.getFieldValue(0, 1).equals(ValueFactory.createValue("nombre"))).getValue());