Now test that non-numbers are ignored

    public void testText() {
        tester.actionKeyString(field, "12ab34");
        int result = field.getNumberValue();
        assertEquals(1234, result);
    }

Previous | Next | Top | Cafe con Leche

Copyright 2005 Elliotte Rusty Harold
elharo@metalab.unc.edu
Last Modified September 28, 2005