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

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

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

revision 1.39, Mon Oct 10 14:18:06 2016 UTC revision 1.40, Sun Oct 16 20:16:36 2016 UTC
# Line 22  Line 22 
22      }      }
23    
24      public static Test suite() {      public static Test suite() {
25          return new TestSuite(ArrayDequeTest.class);          class Implementation implements CollectionImplementation {
26                public Class<?> klazz() { return ArrayDeque.class; }
27                public Collection emptyCollection() { return new ArrayDeque(); }
28                public Object makeElement(int i) { return i; }
29                public boolean isConcurrent() { return false; }
30                public boolean permitsNulls() { return false; }
31            }
32            return newTestSuite(ArrayDequeTest.class,
33                                CollectionTest.testSuite(new Implementation()));
34      }      }
35    
36      /**      /**

Legend:
Removed from v.1.39  
changed lines
  Added in v.1.40

Doug Lea
ViewVC Help
Powered by ViewVC 1.0.8