/** * Gets strict state and stores it. * * <p>Has <b> OK </b> status if no runtime exceptions occurred. */ public void _isStrictFormat() { boolean result = true; strict = oObj.isStrictFormat(); tRes.tested("isStrictFormat()", result); }
/** * Checks strict state. * * <p>Has <b> OK </b> status if strict format is properly set. The following method tests are to * be completed successfully before : * * <ul> * <li><code> isStrictFormat </code> * </ul> */ public void _setStrictFormat() { requiredMethod("isStrictFormat()"); boolean result = true; oObj.setStrictFormat(!strict); result = oObj.isStrictFormat() == !strict; if (!result) { log.println( "Was '" + strict + "', set to '" + !strict + "' but returned '" + oObj.isStrictFormat() + "'"); } tRes.tested("setStrictFormat()", result); }