[cvs] / jsr166 / src / test / tck / ArrayBlockingQueueTest.java Repository:
ViewVC logotype

Diff of /jsr166/src/test/tck/ArrayBlockingQueueTest.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.72, Sun Oct 16 20:44:18 2016 UTC revision 1.73, Mon Oct 17 01:52:04 2016 UTC
# Line 41  Line 41 
41      }      }
42    
43      public static Test suite() {      public static Test suite() {
44            class Implementation implements CollectionImplementation {
45                public Class<?> klazz() { return ArrayBlockingQueue.class; }
46                public Collection emptyCollection() { return new ArrayBlockingQueue(SIZE, false); }
47                public Object makeElement(int i) { return i; }
48                public boolean isConcurrent() { return true; }
49                public boolean permitsNulls() { return false; }
50            }
51          return newTestSuite(ArrayBlockingQueueTest.class,          return newTestSuite(ArrayBlockingQueueTest.class,
52                              new Fair().testSuite(),                              new Fair().testSuite(),
53                              new NonFair().testSuite());                              new NonFair().testSuite(),
54                                CollectionTest.testSuite(new Implementation()));
55      }      }
56    
57      /**      /**

Legend:
Removed from v.1.72  
changed lines
  Added in v.1.73

Doug Lea
ViewVC Help
Powered by ViewVC 1.0.8