How best to test the Editor Framework for vanilla JRE test cases and SimpleBeanEditorDriver

29 views
Skip to first unread message

Logan

unread,
Nov 19, 2011, 12:29:01 AM11/19/11
to Google Web Toolkit
I'm having a hard time tracking down the JRE friendly version of the
SimpleBeanEditorDriver. There seems to be some support for
RequestFactory using InProcessRequestFactory, but I haven't been able
to track down any for SimpleBeanEditorDriver.

Is there something that allows JRE unit test support for
SimpleBeanEditorDriver subclasses? If not, can someone give me a
starting point if I want to contribute this?

Stephen Haberman

unread,
Nov 20, 2011, 10:32:54 PM11/20/11
to google-we...@googlegroups.com
Hi Logan,

I was looking for the same thing just the other day and didn't find it either. I don't currently need it right now, but was thinking it would be nice to have.

If I was going to start out writing one, I would make a really simple usage of the SimpleBeanEditorDriver, run GWT compile and look at the .java code it generated for that usage. Then try to make the same thing happen by extending AbstractSimpleBeanEditorDriver and using reflection to look at the available fields.

Sounds like a fun thing to work on and I think it'd be a great patch to GWT. Please take a crack at it! :-)

- Stephen
Reply all
Reply to author
Forward
0 new messages