assertEquals(24f, tf.getConvertedValue());
assertEquals(24f, tf.getPropertyDataSource().getValue());
}
public void testLongConversion() {
VaadinSession sess = new AlwaysLockedVaadinSession(null);
VaadinSession.setCurrent(sess);
TextField tf = new TextField();
tf.setLocale(new Locale("en", "US"));
tf.setPropertyDataSource(new MethodProperty<Integer>(new LongBean(12,