To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=68819





------- Additional comments from [EMAIL PROTECTED] Mon Oct 23 15:35:37 -0700 
2006 -------
khong->cn,  I have modified your test cases in _XCalendar.java, and the test is
passed.

    public void _getValue() {
        boolean res = true;

        requiredMethod("setValue()");
 new=>    oObj.setValue(CalendarFieldIndex.MONTH, newValue);
        short aValue = oObj.getValue(CalendarFieldIndex.MONTH);
        res &= (aValue == newValue);
        tRes.tested("getValue()", res);
    }

newValue needs to be set before you can get it, requiredMethod("serValue()")
seems not doing right thing.

    public void _isValid() {
        boolean res = true;

  new=>   oObj.loadDefaultCalendar(installed_locales[0]);

        oObj.setValue(CalendarFieldIndex.MONTH, (short) 37);
        res &= !oObj.isValid();
        oObj.setValue(CalendarFieldIndex.MONTH, (short) 10);
        res &= oObj.isValid();

        tRes.tested("isValid()", res);
    }

It looks like calendar is not loaded in this case, only set one field will not
make calendar valid.


---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to