| javax.swing.BasicSwingTestCase javax.swing.text.PlainView_ChangesTest
PlainView_ChangesTest | public class PlainView_ChangesTest extends BasicSwingTestCase (Code) | | Tests mostly methods which are used when processing change
notifications.
This class uses simple initialization like in
SimpleTests but it creates a specialized version of
PlainView where tested methods are overridden.
|
Inner Class :final static class LineRange | |
Inner Class :final static class PreferenceChange | |
testChangedUpdate | public void testChangedUpdate()(Code) | | |
testDamageLineRange | public void testDamageLineRange()(Code) | | |
testInsertUpdateDamage | public void testInsertUpdateDamage()(Code) | | Tests that insertUpdate calls
updateDamage to perform the actual updates.
|
testLineToRect | public void testLineToRect()(Code) | | |
testNextTabStop02 | public void testNextTabStop02()(Code) | | Tests nextTabStop method with TabSize set to 4.
|
testNextTabStop03 | public void testNextTabStop03()(Code) | | Tests nextTabStop method with TabSize set to a negative value.
|
testNextTabStop04 | public void testNextTabStop04()(Code) | | Tests nextTabStop method with TabSize set to zero.
|
testRemoveUpdate | public void testRemoveUpdate()(Code) | | |
testUpdateMetrics | public void testUpdateMetrics()(Code) | | |
Methods inherited from javax.swing.BasicSwingTestCase | public static void assertEquals(Object[] expected, Object[] actual)(Code)(Java Doc) protected Graphics createTestGraphics()(Code)(Java Doc) protected Component findComponent(Container root, Class> findClass, boolean exactClassMatch)(Code)(Java Doc) protected FontMetrics getFontMetrics(Font fnt)(Code)(Java Doc) protected FontMetrics getFontMetrics(Font fnt, int charWidth)(Code)(Java Doc) protected FontMetrics getFontMetrics(Font fnt, int charWidth, int charHeight)(Code)(Java Doc) protected EventListener getListener(EventListener[] listeners, Class> listenerClass)(Code)(Java Doc) protected boolean hasListener(EventListener[] listeners, Class> listenerClass)(Code)(Java Doc) public static boolean isHarmony()(Code)(Java Doc) protected boolean isSystemWindow(Frame f)(Code)(Java Doc) protected void rethrow(Throwable exception) throws Throwable(Code)(Java Doc) public void runBare() throws Throwable(Code)(Java Doc) protected Throwable runBareImpl() throws Throwable(Code)(Java Doc) protected void runBareSuper() throws Throwable(Code)(Java Doc) public static Object serializeObject(Object objectToWrite) throws IOException, ClassNotFoundException(Code)(Java Doc) public void setIgnoreNotImplemented(boolean b)(Code)(Java Doc) protected void setUp() throws Exception(Code)(Java Doc) protected void tearDown() throws Exception(Code)(Java Doc) protected void testExceptionalCase(ExceptionalCase ec)(Code)(Java Doc) protected void traverseComponentTree(Component root, TraverseAction action)(Code)(Java Doc) protected boolean waitForFocus(Component c) throws Exception(Code)(Java Doc) protected void waitForIdle() throws Exception(Code)(Java Doc)
|
|
|