void function ( ) { Configuration . set ( PropertyKey . WORKER_ALLOCATOR_CLASS , GreedyAllocator . class . getName ( ) ) ; Allocator loc0 = Allocator . Factory . create ( mManagerView ) ; Assert . assertTrue ( loc0 instanceof GreedyAllocator ) ; }
tests the creation of the greedyallocator via the allocator.factory #create blockmetadatamanagerview method . concode_field_sep BlockMetadataManagerView mManagerView concode_elem_sep TemporaryFolder mTestFolder concode_field_sep void createRoundRobinAllocator concode_elem_sep void createMaxFreeAllocator concode_elem_sep void before concode_elem_sep void createDefaultAllocator concode_elem_sep void after