KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > triactive > jdo > util > test > WeakValueMapTest


1 /*
2  * Copyright 2002 (C) TJDO.
3  * All rights reserved.
4  *
5  * This software is distributed under the terms of the TJDO License version 1.0.
6  * See the terms of the TJDO License in the documentation provided with this software.
7  *
8  * $Id: WeakValueMapTest.java,v 1.3 2002/11/08 05:06:28 jackknifebarber Exp $
9  */

10
11 package com.triactive.jdo.util.test;
12
13 import com.triactive.jdo.util.ReferenceValueMap;
14 import com.triactive.jdo.util.WeakValueMap;
15
16
17 /**
18  * Tests the functionality of {@link WeakValueMap}.
19  *
20  * @author <a HREF="mailto:mmartin5@austin.rr.com">Mike Martin</a>
21  * @version $Revision: 1.3 $
22  */

23
24 public class WeakValueMapTest extends ReferenceValueMapTestCase
25 {
26     /**
27      * Used by the JUnit framework to construct tests. Normally, programmers
28      * would never explicitly use this constructor.
29      *
30      * @param name Name of the <tt>TestCase</tt>.
31      */

32
33     public WeakValueMapTest(String JavaDoc name)
34     {
35         super(name);
36     }
37
38
39     protected ReferenceValueMap newReferenceValueMap()
40     {
41         return new WeakValueMap();
42     }
43 }
44
Popular Tags