Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

how to fake the resultset?

807589Oct 27 2008 — edited Oct 27 2008
Hi there,

I need to mockup the resultset object for a bunch of self-shunting tests that I'm doing.
Basically to make the test independent from the DB, I need to create a resultset object and populate it with the different possible values that I expect it to have and pass it to the business logic class and Junit it.

anybody knows how to do this?

thank you in advance,

parachuter2b
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 24 2008
Added on Oct 27 2008
8 comments
1,658 views