Package org.datanucleus.util

Source Code of org.datanucleus.util.WeakValueMapTest

package org.datanucleus.util;

import org.datanucleus.util.ReferenceValueMap;
import org.datanucleus.util.WeakValueMap;

/**
* Tests the functionality of {@link WeakValueMap}.
*/
public class WeakValueMapTest extends ReferenceValueMapTestCase
{
    /**
     * Used by the JUnit framework to construct tests.  Normally, programmers
     * would never explicitly use this constructor.
     *
     * @param name   Name of the <tt>TestCase</tt>.
     */

    public WeakValueMapTest(String name)
    {
        super(name);
    }


    protected ReferenceValueMap newReferenceValueMap()
    {
        return new WeakValueMap();
    }
}
TOP

Related Classes of org.datanucleus.util.WeakValueMapTest

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.