32 |
32 |
33 import static org.testng.Assert.*; |
33 import static org.testng.Assert.*; |
34 |
34 |
35 @Test(groups = {"unit","string","lang","libs"}) |
35 @Test(groups = {"unit","string","lang","libs"}) |
36 public class StringJoinTest { |
36 public class StringJoinTest { |
37 private final static String DASH = "-"; |
37 private static final String DASH = "-"; |
38 private final static String BEGIN = "Hi there"; |
38 private static final String BEGIN = "Hi there"; |
39 private final static String JIM = "Jim"; |
39 private static final String JIM = "Jim"; |
40 private final static String JOHN = "John"; |
40 private static final String JOHN = "John"; |
41 private final static String AND_JOE = "and Joe"; |
41 private static final String AND_JOE = "and Joe"; |
42 private final static String BILL = "Bill"; |
42 private static final String BILL = "Bill"; |
43 private final static String BOB = "Bob"; |
43 private static final String BOB = "Bob"; |
44 private final static String AND_BO = "and Bo"; |
44 private static final String AND_BO = "and Bo"; |
45 private final static String ZEKE = "Zeke"; |
45 private static final String ZEKE = "Zeke"; |
46 private final static String ZACK = "Zack"; |
46 private static final String ZACK = "Zack"; |
47 private final static String AND_ZOE = "and Zoe"; |
47 private static final String AND_ZOE = "and Zoe"; |
48 |
48 |
49 /** |
49 /** |
50 * Tests the join() methods on String |
50 * Tests the join() methods on String |
51 */ |
51 */ |
52 public void testJoinStringVarargs() { |
52 public void testJoinStringVarargs() { |