Loading ...
Sorry, an error occurred while loading the content.

RE: [XP] How to create HttpServletRequest?

Expand Messages
  • richard.denadel@vodafone.com
    Look at http://www.mockobjects.com . If you re not familiar with mock objects, read the archives of this mailing list and the articles on the site before you
    Message 1 of 1 , Jan 2, 2003
    • 0 Attachment
      Look at http://www.mockobjects.com . If you're not familiar with mock
      objects, read the archives of this mailing list and the articles on the site
      before you start.

      Richard

      > -----Original Message-----
      > From: Carfield Yim [mailto:mailing@...]
      > Sent: Friday, January 03, 2003 07:59 AM
      > To: extremeprogramming@yahoogroups.com
      > Subject: [XP] How to create HttpServletRequest?
      >
      >
      > I would like to see if there anyway to create an instance of
      > HttpServletRequest, so that I can write unit test of method that need
      > create HttpServletRequest?
      >
      > I like to test some method like interface like:
      >
      > public void generate(Connection con, HttpServletRequest req,
      > ResourceBundle bundle) throws SQLException {
      >
      >
      >
      > To Post a message, send it to: extremeprogramming@...
      >
      > To Unsubscribe, send a blank message to:
      > extremeprogramming-unsubscribe@...
      >
      > ad-free courtesy of objectmentor.com
      >
      > Your use of Yahoo! Groups is subject to
      > http://docs.yahoo.com/info/terms/
      >
      >
    Your message has been successfully submitted and would be delivered to recipients shortly.