1 17 package org.apache.excalibur.event.test; 18 19 import org.apache.excalibur.event.impl.FixedSizeQueue; 20 21 26 public final class FixedSizeQueuePerformanceTestCase extends AbstractQueueTestCase 27 { 28 public FixedSizeQueuePerformanceTestCase( String name ) 29 { 30 super( name ); 31 } 32 33 public void testMillionIterationOneElement() 34 throws Exception ![JavaDoc](../../../../../../cmn/javadoc.gif) 35 { 36 this.performMillionIterationOneElement( new FixedSizeQueue( 32 ) ); 37 } 38 39 public void testMillionIterationTenElements() 40 throws Exception ![JavaDoc](../../../../../../cmn/javadoc.gif) 41 { 42 this.performMillionIterationTenElements( new FixedSizeQueue( 32 ) ); 43 } 44 } 45 | Popular Tags |