Implement WeakHashMap.
[SquirrelJME.git] / modules / cldc-compact / src / test / java / util / TestWeakHashMap.java
blobf5c02e9c45c1f6559fb47e648a387e76778dd288
1 // -*- Mode: Java; indent-tabs-mode: t; tab-width: 4 -*-
2 // ---------------------------------------------------------------------------
3 // Multi-Phasic Applications: SquirrelJME
4 // Copyright (C) Stephanie Gawroriski <xer@multiphasicapps.net>
5 // ---------------------------------------------------------------------------
6 // SquirrelJME is under the GNU General Public License v3+, or later.
7 // See license.mkd for licensing and copyright information.
8 // ---------------------------------------------------------------------------
10 package util;
12 import java.util.WeakHashMap;
13 import net.multiphasicapps.tac.TestRunnable;
15 /**
16 * Tests {@link WeakHashMap}.
18 * @since 2023/02/09
20 public class TestWeakHashMap
21 extends TestHashMap
23 /**
24 * Initializes the test.
26 * @since 2023/02/09
28 public TestWeakHashMap()
30 super(new WeakHashMap<Integer, String>());
33 /**
34 * {@inheritDoc}
36 * @since 2023/02/09
38 @Override
39 public void test()
41 // Call super test for common hash map details
42 super.test();