Lines Matching refs:toUpperCase
26 @summary toUpperCase and toLowerCase always return a new String,
36 if ("FOOBAR".toUpperCase() != "FOOBAR")
37 throw new Exception("toUpperCase returned different object");
49 /* sanity test toUpperCase with some border conditions. */
50 if (!("FooBar".toUpperCase().equals("FOOBAR")))
51 throw new Exception("toUpperCase broken");
52 if (!("fooBar".toUpperCase().equals("FOOBAR")))
53 throw new Exception("toUpperCase broken");
54 if (!("foobaR".toUpperCase().equals("FOOBAR")))
55 throw new Exception("toUpperCase broken");
56 if (!("foobar".toUpperCase().equals("FOOBAR")))
57 throw new Exception("toUpperCase broken");