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