Unit tests exist for java library classes?

Discussion in 'Java' started by Mark, Aug 10, 2003.

  1. Mark

    Mark Guest

    I'm writing a custom Map class, and need to write some unit tests for
    it. Since my class behaves nearly identically to java.util.HashMap,
    I'd like to reuse whatever unit tests Sun has already written for
    HashMap.

    Anyone know if such unit tests exist, and if so, where I can obtain
    them?
    Mark, Aug 10, 2003
    #1
    1. Advertising

  2. On Sat, 09 Aug 2003 16:20:46 -0700, Mark wrote:

    > I'm writing a custom Map class, and need to write some unit tests for
    > it. Since my class behaves nearly identically to java.util.HashMap,
    > I'd like to reuse whatever unit tests Sun has already written for
    > HashMap.
    >
    > Anyone know if such unit tests exist, and if so, where I can obtain
    > them?



    Good luck! If you do manage to get Sun to hand them to you, please
    send me a copy - I'd love to see them.


    -c
    Christopher Blunck, Aug 13, 2003
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. ChrisC
    Replies:
    5
    Views:
    5,669
    rochnet
    Nov 1, 2009
  2. Guest
    Replies:
    3
    Views:
    752
    Guest
    Feb 5, 2004
  3. Replies:
    8
    Views:
    881
  4. Diana Jaunzeikare
    Replies:
    6
    Views:
    124
    Matt Neuburg
    Jun 30, 2009
  5. dayo
    Replies:
    11
    Views:
    328
    Ilya Zakharevich
    Dec 16, 2005
Loading...

Share This Page