KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > avalon > excalibur > event > test > FixedSizeQueueTestCase


1 /*
2  * Copyright (C) The Apache Software Foundation. All rights reserved.
3  *
4  * This software is published under the terms of the Apache Software License
5  * version 1.1, a copy of which has been included with this distribution in
6  * the LICENSE.txt file.
7  */

8 package org.apache.avalon.excalibur.event.test;
9
10 import junit.framework.TestCase;
11 import org.apache.avalon.excalibur.event.FixedSizeQueue;
12
13 /**
14  * The default queue implementation is a variabl size queue.
15  *
16  * @author <a HREF="mailto:bloritsch@apache.org">Berin Loritsch</a>
17  */

18 public final class FixedSizeQueueTestCase extends AbstractQueueTestCase
19 {
20     public FixedSizeQueueTestCase( String JavaDoc name )
21     {
22         super( name );
23     }
24
25     public void testFixedSizeQueue()
26         throws Exception JavaDoc
27     {
28         this.performQueue( new FixedSizeQueue( 32 ) );
29     }
30 }
Popular Tags