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

Comparing jsr166/src/test/tck/EntryTest.java (file contents):
Revision 1.8 by jsr166, Fri May 27 19:41:25 2011 UTC vs.
Revision 1.12 by jsr166, Sat Apr 25 04:55:30 2015 UTC

# Line 4 | Line 4
4   * http://creativecommons.org/publicdomain/zero/1.0/
5   */
6  
7 < import junit.framework.*;
8 < import java.util.*;
9 < import java.util.concurrent.*;
10 < import java.io.*;
7 > import java.util.AbstractMap;
8 > import java.util.Map;
9 >
10 > import junit.framework.Test;
11 > import junit.framework.TestSuite;
12  
13   public class EntryTest extends JSR166TestCase {
14      public static void main(String[] args) {
15 <        junit.textui.TestRunner.run(suite());
15 >        main(suite(), args);
16      }
17      public static Test suite() {
18          return new TestSuite(EntryTest.class);
# Line 116 | Line 117 | public class EntryTest extends JSR166Tes
117      /**
118       * setValue for SimpleImmutableEntry throws UnsupportedOperationException
119       */
120 <    public void testsetValue2() {
120 >    public void testSetValue2() {
121          Map.Entry s2 = new AbstractMap.SimpleImmutableEntry(k1, v1);
122          Map.Entry s = new AbstractMap.SimpleImmutableEntry(s2);
123          assertEquals(k1, s.getKey());

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines