Class ConditionalExistenceCollectionsTest


  • class ConditionalExistenceCollectionsTest
    extends java.lang.Object
    Tests the #ConditionalExistenceCollections.
    Since:
    2019-10-16
    Author:
    Adrien Hopkins
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) ConditionalExistenceCollections.ConditionalExistenceIterator<java.lang.String> getTestIterator()
      The returned iterator ignores elements that don't start with "a".
      (package private) java.util.Map<java.lang.String,​java.lang.Integer> getTestMap()
      The returned map ignores mappings where the value is zero.
      (package private) void testContainsKeyObject()
      Test method for org.unitConverter.math.ZeroIsNullMap#containsKey(java.lang.Object).
      (package private) void testContainsValueObject()
      Test method for org.unitConverter.math.ZeroIsNullMap#containsValue(java.lang.Object).
      (package private) void testEntrySet()
      Test method for org.unitConverter.math.ZeroIsNullMap#entrySet().
      (package private) void testGetObject()
      Test method for org.unitConverter.math.ZeroIsNullMap#get(java.lang.Object).
      (package private) void testIterator()  
      (package private) void testKeySet()
      Test method for org.unitConverter.math.ZeroIsNullMap#keySet().
      (package private) void testValues()
      Test method for org.unitConverter.math.ZeroIsNullMap#values().
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ConditionalExistenceCollectionsTest

        ConditionalExistenceCollectionsTest()
    • Method Detail

      • getTestMap

        java.util.Map<java.lang.String,​java.lang.Integer> getTestMap()
        The returned map ignores mappings where the value is zero.
        Returns:
        map to be used for test data
        Since:
        2019-10-16
      • testContainsKeyObject

        @Test
        void testContainsKeyObject()
        Test method for org.unitConverter.math.ZeroIsNullMap#containsKey(java.lang.Object).
      • testContainsValueObject

        @Test
        void testContainsValueObject()
        Test method for org.unitConverter.math.ZeroIsNullMap#containsValue(java.lang.Object).
      • testEntrySet

        @Test
        void testEntrySet()
        Test method for org.unitConverter.math.ZeroIsNullMap#entrySet().
      • testGetObject

        @Test
        void testGetObject()
        Test method for org.unitConverter.math.ZeroIsNullMap#get(java.lang.Object).
      • testIterator

        @Test
        void testIterator()
      • testKeySet

        @Test
        void testKeySet()
        Test method for org.unitConverter.math.ZeroIsNullMap#keySet().
      • testValues

        @Test
        void testValues()
        Test method for org.unitConverter.math.ZeroIsNullMap#values().