Package net.xoetrope.xui.test

Source Code of net.xoetrope.xui.test.TestXRadioButton

package net.xoetrope.xui.test;

import junit.framework.TestCase;
import net.xoetrope.awt.XRadioButton;

/**
* Title:        Xui
* Description:
* Copyright:    Copyright (c) Xoetrope Ltd., 1998-2003
* Company:      Xoetrope Ltd.
* @author Xoetrope Ltd.
* @version 1.0
*/

public class TestXRadioButton extends TestCase {

  public TestXRadioButton() {
  }

  public void testSetState()
  {
    XRadioButton button1 = new XRadioButton();
    XRadioButton button2 = new XRadioButton();
    button1.setState( false );
    button2.setState( true );
    assertTrue( button1.getState() != button2.getState());
  }
}
TOP

Related Classes of net.xoetrope.xui.test.TestXRadioButton

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.