Ejemplo n.º 1
0
  /**
   * Set some member variable of the super class <CODE>GenericModelTest</CODE>:
   *
   * <pre>
   *    super.m_ChangePropertyName = "Text";
   *    super.m_kindOfControl="ComboBox";
   *    super.m_ObjectName = "stardiv.one.form.component.ComboBox";
   *
   *    NamedValue DataField = new NamedValue();
   *    DataField.Name = "DataField";
   *    DataField.Value = DBTools.TST_STRING_F;
   *    super.m_propertiesToSet.add(DataField);
   *    super.m_LCShape_Type = "FixedText";
   * </pre>
   *
   * Then <CODE>super.initialize()</CODE> was called.
   *
   * @param tParam the test parameter
   * @param log the log writer
   */
  protected void initialize(TestParameters tParam, PrintWriter log) {

    super.initialize(tParam, log);

    super.m_ChangePropertyName = "Text";

    super.m_kindOfControl = "ComboBox";

    super.m_ObjectName = "stardiv.one.form.component.ComboBox";

    NamedValue DataField = new NamedValue();
    DataField.Name = "DataField";
    DataField.Value = DBTools.TST_STRING_F;
    super.m_propertiesToSet.add(DataField);

    super.m_LCShape_Type = "FixedText";
  }
Ejemplo n.º 2
0
  /**
   * Set some member variable of the super class <CODE>GenericModelTest</CODE>:
   *
   * <pre>
   *    super.m_ChangePropertyName</CODE> = "State";
   *    super.m_kindOfControl</CODE>="RadioButton";
   *    super.m_ObjectName</CODE> = "RadioButton";
   *    NamedValue myProp = new NamedValue();
   *        myProp.Name = "DataField";
   *        myProp.Value = DBTools.TST_STRING_F;
   *        super.m_propertiesToSet.add(myProp);
   *    super.m_LCShape_Type = "GroupBox";
   * </pre>
   *
   * Then <CODE>super.initialize()</CODE> was called.
   *
   * @param tParam the test parameter
   * @param log the log writer
   */
  @Override
  protected void initialize(TestParameters tParam, PrintWriter log) throws Exception {

    super.initialize(tParam, log);
    super.m_ChangePropertyName = "State";

    super.m_kindOfControl = "RadioButton";

    super.m_ObjectName = "stardiv.one.form.component.RadioButton";

    NamedValue myProp = new NamedValue();
    myProp.Name = "DataField";
    myProp.Value = DBTools.TST_STRING_F;
    super.m_propertiesToSet.add(myProp);

    super.m_LCShape_Type = "GroupBox";
  }
Ejemplo n.º 3
0
 /**
  * calls <CODE>cleanup()</CODE> from it's super class
  *
  * @param tParam the test parameter
  * @param log the log writer
  */
 protected void cleanup(TestParameters tParam, PrintWriter log) {
   super.cleanup(tParam, log);
 }