1 8 package org.apache.avalon.excalibur.event.test; 9 10 import junit.framework.TestCase; 11 import org.apache.avalon.excalibur.event.FixedSizeQueue; 12 13 18 public final class FixedSizeQueuePerformanceTestCase extends AbstractQueueTestCase 19 { 20 public FixedSizeQueuePerformanceTestCase( String name ) 21 { 22 super( name ); 23 } 24 25 public void testMillionIterationOneElement() 26 throws Exception 27 { 28 this.performMillionIterationOneElement( new FixedSizeQueue( 32 ) ); 29 } 30 31 public void testMillionIterationTenElements() 32 throws Exception 33 { 34 this.performMillionIterationTenElements( new FixedSizeQueue( 32 ) ); 35 } 36 } | Popular Tags |