Class MapToStringTester<K,V>

java.lang.Object
junit.framework.Assert
All Implemented Interfaces:
junit.framework.Test

public class MapToStringTester<K,V> extends AbstractMapTester<K,V>
A generic JUnit test which tests toString() operations on a map. Can't be invoked directly; please see MapTestSuiteBuilder.
  • Constructor Details

    • MapToStringTester

      public MapToStringTester()
  • Method Details

    • testToString_minimal

      public void testToString_minimal()
    • testToString_size0

      public void testToString_size0()
    • testToString_size1

      public void testToString_size1()
    • testToStringWithNullKey

      public void testToStringWithNullKey()
    • testToStringWithNullValue

      public void testToStringWithNullValue()
    • testToString_formatting

      public void testToString_formatting()
    • expectedToString

      private String expectedToString(Set<Map.Entry<K,V>> entries)