Class AllocatorTests


  • public class AllocatorTests
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      AllocatorTests()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void assertAllocation​(java.util.List<java.lang.String> values, java.util.List<java.lang.String> slots, int expectedAllocationCount, java.util.List<java.lang.String>... expectedAllocations)  
      protected java.util.List<java.lang.String> list​(java.lang.String... s)  
      void testMoreSlots()  
      void testMoreValues()  
      void testNoSlots()  
      void testNoValues()  
      • Methods inherited from class java.lang.Object

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

      • AllocatorTests

        public AllocatorTests()
    • Method Detail

      • testMoreValues

        public void testMoreValues()
      • testMoreSlots

        public void testMoreSlots()
      • testNoSlots

        public void testNoSlots()
      • testNoValues

        public void testNoValues()
      • list

        protected java.util.List<java.lang.String> list​(java.lang.String... s)
      • assertAllocation

        @SafeVarargs
        protected final void assertAllocation​(java.util.List<java.lang.String> values,
                                              java.util.List<java.lang.String> slots,
                                              int expectedAllocationCount,
                                              java.util.List<java.lang.String>... expectedAllocations)