| java.lang.Object com.sun.midp.i3test.TestCase javax.microedition.lcdui.TestStringItemSizing
TestStringItemSizing | public class TestStringItemSizing extends TestCase (Code) | | |
Inner Class :class StringItemInfo | |
Method Summary | |
int | calculateHeight(StringItem strItem, int type) | int | calculateHeightEmptyLabel(int params, int numOfLines) | int | calculateHeightEmptyText(int params, int numOfLines) | int | calculateHeightMultLines(int params, int labelNumLines, int textNumLines) | int | calculateHeightSameLine(int params) | int | calculateWidth(StringItem strItem, int type) | int | calculateWidthEmptyLabel(int params, int numOfIperLine) | int | calculateWidthEmptyText(int params, int numOfIperLine) | int | calculateWidthMultLines(int params, int labelNumOfIperLine, int textNumOfIperLine) | int | calculateWidthSameLine(int params, int labelNumOfI, int textNumOfI) | StringItemInfo[] | createTestArray() | int[] | getNumOfIsPerLine(String str) | int[] | getParameters(StringItem strItem) | public void | runTests() | public void | testDefaultPreferredHeight(StringItemInfo strItemInfo) | public void | testDefaultPreferredWidth(StringItemInfo strItemInfo) |
addCommands | boolean addCommands(Code) | | |
addCommandsToWidthDepInfos | boolean addCommandsToWidthDepInfos(Code) | | |
itemInfos | StringItemInfo itemInfos(Code) | | |
itemInfosWidthDependent | StringItemInfo itemInfosWidthDependent(Code) | | |
calculateHeightEmptyLabel | int calculateHeightEmptyLabel(int params, int numOfLines)(Code) | | |
calculateHeightEmptyText | int calculateHeightEmptyText(int params, int numOfLines)(Code) | | |
calculateHeightMultLines | int calculateHeightMultLines(int params, int labelNumLines, int textNumLines)(Code) | | |
calculateHeightSameLine | int calculateHeightSameLine(int params)(Code) | | |
calculateWidthEmptyLabel | int calculateWidthEmptyLabel(int params, int numOfIperLine)(Code) | | |
calculateWidthEmptyText | int calculateWidthEmptyText(int params, int numOfIperLine)(Code) | | |
calculateWidthMultLines | int calculateWidthMultLines(int params, int labelNumOfIperLine, int textNumOfIperLine)(Code) | | |
calculateWidthSameLine | int calculateWidthSameLine(int params, int labelNumOfI, int textNumOfI)(Code) | | |
createTestArray | StringItemInfo[] createTestArray()(Code) | | |
runTests | public void runTests()(Code) | | |
testDefaultPreferredHeight | public void testDefaultPreferredHeight(StringItemInfo strItemInfo)(Code) | | |
testDefaultPreferredWidth | public void testDefaultPreferredWidth(StringItemInfo strItemInfo)(Code) | | |
Methods inherited from com.sun.midp.i3test.TestCase | public void assertEquals(Object expected, Object actual)(Code)(Java Doc) public void assertEquals(String message, Object expected, Object actual)(Code)(Java Doc) public void assertEquals(int expected, int actual)(Code)(Java Doc) public void assertEquals(String message, int expected, int actual)(Code)(Java Doc) public void assertFalse(boolean condition)(Code)(Java Doc) public void assertFalse(String message, boolean condition)(Code)(Java Doc) public void assertNotNull(Object object)(Code)(Java Doc) public void assertNotNull(String message, Object object)(Code)(Java Doc) public void assertNotSame(Object expected, Object actual)(Code)(Java Doc) public void assertNotSame(String message, Object expected, Object actual)(Code)(Java Doc) public void assertNull(Object object)(Code)(Java Doc) public void assertNull(String message, Object object)(Code)(Java Doc) public void assertSame(Object expected, Object actual)(Code)(Java Doc) public void assertSame(String message, Object expected, Object actual)(Code)(Java Doc) public void assertTrue(String message, boolean condition)(Code)(Java Doc) public void assertTrue(boolean condition)(Code)(Java Doc) public void declare(String testName)(Code)(Java Doc) public void fail()(Code)(Java Doc) public void fail(String message)(Code)(Java Doc) protected SecurityToken getSecurityToken()(Code)(Java Doc) protected boolean getVerbose()(Code)(Java Doc) public void info(String s)(Code)(Java Doc) abstract public void runTests() throws Throwable(Code)(Java Doc)
|
|
|