Re: FormTester.getTextComponentValue not equals with textfield

2008-09-26 Thread Timo Rantalaiho
On Tue, 23 Sep 2008, Emanuele Gesuato wrote: > I'm writing a testcase in which i try to compare the value of a > textfield in a form with the value of a pojo. > > This value is a BigDecimal. > > This is the code: > FormTester ft = > tester.newFormTester(GestisciListino.tags.pizzaForm.toString()

Re: FormTester.getTextComponentValue not equals with textfield

2008-09-25 Thread Emanuele Gesuato
Emanuele Gesuato wrote: Hello, I'm writing a testcase in which i try to compare the value of a textfield in a form with the value of a pojo. This value is a BigDecimal. This is the code: FormTester ft = tester.newFormTester(GestisciListino.tags.pizzaForm.toString()); assertEquals(pizza.getP

FormTester.getTextComponentValue not equals with textfield

2008-09-22 Thread Emanuele Gesuato
Hello, I'm writing a testcase in which i try to compare the value of a textfield in a form with the value of a pojo. This value is a BigDecimal. This is the code: FormTester ft = tester.newFormTester(GestisciListino.tags.pizzaForm.toString()); assertEquals(pizza.getPrezzo().toString(), ft.g