ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/test/tck/TreeSubSetTest.java
(Generate patch)

Comparing jsr166/src/test/tck/TreeSubSetTest.java (file contents):
Revision 1.11 by jsr166, Tue Dec 1 09:43:19 2009 UTC vs.
Revision 1.14 by jsr166, Wed Sep 1 06:41:55 2010 UTC

# Line 11 | Line 11 | import java.io.*;
11  
12   public class TreeSubSetTest extends JSR166TestCase {
13      public static void main(String[] args) {
14 <        junit.textui.TestRunner.run (suite());
14 >        junit.textui.TestRunner.run(suite());
15      }
16      public static Test suite() {
17          return new TestSuite(TreeSubSetTest.class);
# Line 175 | Line 175 | public class TreeSubSetTest extends JSR1
175              shouldThrow();
176          } catch (NullPointerException success) {}
177      }
178 +
179      /**
180       * addAll of a collection with null elements throws NPE
181       */
# Line 186 | Line 187 | public class TreeSubSetTest extends JSR1
187              shouldThrow();
188          } catch (NullPointerException success) {}
189      }
190 +
191      /**
192       * addAll of a collection with any null elements throws NPE after
193       * possibly adding some elements
# Line 445 | Line 447 | public class TreeSubSetTest extends JSR1
447      /**
448       * iterator.remove removes current element
449       */
450 <    public void testIteratorRemove () {
450 >    public void testIteratorRemove() {
451          final NavigableSet q = set0();
452          q.add(new Integer(2));
453          q.add(new Integer(1));
# Line 666 | Line 668 | public class TreeSubSetTest extends JSR1
668              shouldThrow();
669          } catch (NullPointerException success) {}
670      }
671 +
672      /**
673       * addAll of a collection with null elements throws NPE
674       */
# Line 677 | Line 680 | public class TreeSubSetTest extends JSR1
680              shouldThrow();
681          } catch (NullPointerException success) {}
682      }
683 +
684      /**
685       * addAll of a collection with any null elements throws NPE after
686       * possibly adding some elements
# Line 936 | Line 940 | public class TreeSubSetTest extends JSR1
940      /**
941       * iterator.remove removes current element
942       */
943 <    public void testDescendingIteratorRemove () {
943 >    public void testDescendingIteratorRemove() {
944          final NavigableSet q = dset0();
945          q.add(new Integer(2));
946          q.add(new Integer(1));

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines