| |
|
| javax.swing.BasicSwingTestCase javax.swing.SwingTestCase javax.swing.text.PlainViewI18N_ModelViewTest
PlainViewI18N_ModelViewTest | public class PlainViewI18N_ModelViewTest extends SwingTestCase (Code) | | Tests model/view conversions in PlainViewI18N class.
Some tests tests our implementation only since
getNextVisualPosition differs from the 1.5 and it was made knowingly.
|
testGetNextVisualPositionEast01 | public void testGetNextVisualPositionEast01() throws BadLocationException(Code) | | Tests view.getNextVisualPositionFrom position 0 when moving EAST
with Forward and Backward biases.
|
testGetNextVisualPositionEast02 | public void testGetNextVisualPositionEast02() throws BadLocationException(Code) | | Tests view.getNextVisualPositionFrom position 1 when moving EAST
with Forward and Backward biases.
|
testGetNextVisualPositionEast03 | public void testGetNextVisualPositionEast03() throws BadLocationException(Code) | | Tests view.getNextVisualPositionFrom position 2 when moving EAST
with Forward and Backward biases.
|
testGetNextVisualPositionEast04 | public void testGetNextVisualPositionEast04() throws BadLocationException(Code) | | Tests view.getNextVisualPositionFrom position 2 when moving EAST
with Forward and Backward biases.
|
testGetNextVisualPositionWest01 | public void testGetNextVisualPositionWest01() throws BadLocationException(Code) | | Tests view.getNextVisualPositionFrom position 0 when moving WEST
with Forward and Backward biases.
|
testGetNextVisualPositionWest02 | public void testGetNextVisualPositionWest02() throws BadLocationException(Code) | | Tests view.getNextVisualPositionFrom position 1 when moving WEST
with Forward and Backward biases.
|
testGetNextVisualPositionWest03 | public void testGetNextVisualPositionWest03() throws BadLocationException(Code) | | Tests view.getNextVisualPositionFrom position 2 when moving WEST
with Forward and Backward biases.
|
testGetNextVisualPositionWest04 | public void testGetNextVisualPositionWest04() throws BadLocationException(Code) | | Tests view.getNextVisualPositionFrom position 2 when moving WEST
with Forward and Backward biases.
|
testModelToView01 | public void testModelToView01() throws Exception(Code) | | Shows that modelToView may return the same value while positions
are different (biases are the same).
In the same time it may return different values for the same offset
when biases are different.
The offsets used are 0, 2.
|
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)
|
|
|
|