com.google.gwt.junit.client .GWTTestCase com.google.gwt.emultest.java.lang .StringTest StringTest public class StringTest extends GWTTestCase (Code) TODO: COMPILER OPTIMIZATIONS HAVE MADE THIS TEST NOT ACTUALLY TEST ANYTHING!
NEED A VERSION THAT DOESN'T USE STATICALLY DETERMINABLE STRINGS!
testCharAt public void testCharAt()(Code)
testConcat public void testConcat()(Code)
testContructor public void testContructor()(Code)
testEndsWith public void testEndsWith()(Code)
testEquals public void testEquals()(Code)
testEqualsIgnoreCase public void testEqualsIgnoreCase()(Code)
testHashCode public void testHashCode()(Code) Tests hashing with strings.
The specific strings used in this test used to trigger failures because we
use a JavaScript object as a hash map to cache the computed hash codes.
This conflicts with built-in properties defined on objects -- see issue
#631.
testIndexOf public void testIndexOf()(Code)
testLastIndexOf public void testLastIndexOf()(Code)
testLength public void testLength()(Code)
testLowerCase public void testLowerCase()(Code)
testMatch public void testMatch()(Code)
testNull public void testNull()(Code)
testReplace public void testReplace()(Code)
testReplaceAll public void testReplaceAll()(Code)
testSplit public void testSplit()(Code)
testStartsWith public void testStartsWith()(Code)
testSubstring public void testSubstring()(Code)
testToCharArray public void testToCharArray()(Code)
testTrim public void testTrim()(Code)
testUpperCase public void testUpperCase()(Code)
testValueOf public void testValueOf()(Code)
trimRightAssertEquals public void trimRightAssertEquals(String left, String right)(Code) Helper method for testTrim to avoid compiler optimizations.
trimRightAssertSame public void trimRightAssertSame(String left, String right)(Code) Helper method for testTrim to avoid compiler optimizations.