ObjectProperty<Double> balance = new ObjectProperty<Double>(0.0);
connected to a TextField.
When actually running the code everything works, and when creating the AdminView from unit tests in
UkelonnUITest the AdminView constructor can be run without causing an exception.
But when I tried to create a unit test for the AdminView, class the AdminView constructor failed with a Buffered$SourceException in the view constructor:
Is some global initialization missing from my unit test?
The
UkelonnUITest does
a lot of initialization , but I don’t know what might be significiant for AdminView.
So something in my test setup is sufficient to set up the stuff that is missing when I run the AdminViewTest on its own. I have tried to copy in stuff from the working tests, but I haven’t found anything that works yet.