Search in sources :

Example 1 with Support_MapTest2

use of tests.support.Support_MapTest2 in project robovm by robovm.

the class IdentityHashMapTest method test_Constructor.

/**
     * java.util.IdentityHashMap#IdentityHashMap()
     */
public void test_Constructor() {
    // Test for method java.util.IdentityHashMap()
    new Support_MapTest2(new IdentityHashMap()).runTest();
    IdentityHashMap hm2 = new IdentityHashMap();
    assertEquals("Created incorrect IdentityHashMap", 0, hm2.size());
}
Also used : IdentityHashMap(java.util.IdentityHashMap) Support_MapTest2(tests.support.Support_MapTest2)

Example 2 with Support_MapTest2

use of tests.support.Support_MapTest2 in project robovm by robovm.

the class LinkedHashMapTest method test_Constructor.

/**
     * java.util.LinkedHashMap#LinkedHashMap()
     */
public void test_Constructor() {
    // Test for method java.util.LinkedHashMap()
    new Support_MapTest2(new LinkedHashMap()).runTest();
    LinkedHashMap hm2 = new LinkedHashMap();
    assertEquals("Created incorrect LinkedHashMap", 0, hm2.size());
}
Also used : Support_MapTest2(tests.support.Support_MapTest2) LinkedHashMap(java.util.LinkedHashMap)

Example 3 with Support_MapTest2

use of tests.support.Support_MapTest2 in project robovm by robovm.

the class HashMapTest method test_Constructor.

/**
     * java.util.HashMap#HashMap()
     */
public void test_Constructor() {
    // Test for method java.util.HashMap()
    new Support_MapTest2(new HashMap()).runTest();
    HashMap hm2 = new HashMap();
    assertEquals("Created incorrect HashMap", 0, hm2.size());
}
Also used : Support_MapTest2(tests.support.Support_MapTest2)

Example 4 with Support_MapTest2

use of tests.support.Support_MapTest2 in project robovm by robovm.

the class HashtableTest method test_Constructor.

/**
     * java.util.Hashtable#Hashtable()
     */
public void test_Constructor() {
    // Test for method java.util.Hashtable()
    new Support_MapTest2(new Hashtable()).runTest();
    Hashtable h = new Hashtable();
    assertEquals("Created incorrect hashtable", 0, h.size());
}
Also used : Hashtable(java.util.Hashtable) Support_MapTest2(tests.support.Support_MapTest2)

Example 5 with Support_MapTest2

use of tests.support.Support_MapTest2 in project j2objc by google.

the class HashMapTest method test_Constructor.

/**
     * java.util.HashMap#HashMap()
     */
public void test_Constructor() {
    // Test for method java.util.HashMap()
    new Support_MapTest2(new HashMap()).runTest();
    HashMap hm2 = new HashMap();
    assertEquals("Created incorrect HashMap", 0, hm2.size());
}
Also used : HashMap(java.util.HashMap) Support_MapTest2(tests.support.Support_MapTest2)

Aggregations

Support_MapTest2 (tests.support.Support_MapTest2)10 Hashtable (java.util.Hashtable)2 LinkedHashMap (java.util.LinkedHashMap)2 TreeMap (java.util.TreeMap)2 HashMap (java.util.HashMap)1 IdentityHashMap (java.util.IdentityHashMap)1 WeakHashMap (java.util.WeakHashMap)1