+
+ +

Class ConditionalExistenceCollectionsTest

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.unitConverter.math.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 TypeMethodDescription
      (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) voidtestContainsKeyObject() +
      Test method for org.unitConverter.math.ZeroIsNullMap#containsKey(java.lang.Object).
      +
      (package private) voidtestContainsValueObject() +
      Test method for org.unitConverter.math.ZeroIsNullMap#containsValue(java.lang.Object).
      +
      (package private) voidtestEntrySet() +
      Test method for org.unitConverter.math.ZeroIsNullMap#entrySet().
      +
      (package private) voidtestGetObject() +
      Test method for org.unitConverter.math.ZeroIsNullMap#get(java.lang.Object).
      +
      (package private) voidtestIterator() 
      (package private) voidtestKeySet() +
      Test method for org.unitConverter.math.ZeroIsNullMap#keySet().
      +
      (package private) voidtestValues() +
      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().
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+