Revision: | 1.2 |
Committed: | Wed May 28 15:03:14 2003 UTC (21 years ago) by tim |
Branch: | MAIN |
CVS Tags: | HEAD |
Changes since 1.1: | +0 -0 lines |
State: | FILE REMOVED |
Log Message: | Moved tests to corresponding packages. |
# | User | Rev | Content |
---|---|---|---|
1 | tim | 1.1 | import java.util.concurrent.ArrayBlockingQueue; |
2 | import junit.framework.TestCase; | ||
3 | |||
4 | /** | ||
5 | * Tests the ArrayBlockingQueue implementation. | ||
6 | */ | ||
7 | public class ArrayBlockingQueueTest extends TestCase { | ||
8 | |||
9 | public void testCapacity () { | ||
10 | final int CAP = 2; | ||
11 | ArrayBlockingQueue<Integer> q = new ArrayBlockingQueue<Integer>(CAP); | ||
12 | |||
13 | //assertEquals("capacity should equal constructor argument", CAP, q.capacity()); | ||
14 | } | ||
15 | } |