Esempio n. 1
0
  /**
   * Gets the current value.
   *
   * <p>Has <b> OK </b> status if no runtime exceptions occurred
   */
  public void _getMin() {

    boolean result = true;
    oObj.getMin();

    tRes.tested("getMin()", result);
  }
Esempio n. 2
0
  /**
   * Sets a new value and checks if it was correctly set.
   *
   * <p>Has <b> OK </b> status if set and get values are equal. The following method tests are to be
   * completed successfully before :
   *
   * <ul>
   *   <li><code> getMin </code>
   * </ul>
   */
  public void _setMin() {

    boolean result = true;
    oObj.setMin(new Date((short) 5, (short) 2, (short) 1963));
    Date date = oObj.getMin();
    result = date.Day == 5 && date.Month == 2 && date.Year == 1963;

    tRes.tested("setMin()", result);
  }