Bug 315281 update copyrights for 3.6
tests/org.eclipse.jface.tests.databinding/src/org/eclipse/jface/tests/databinding/wizard/WizardPageSupportTest.java
import org.eclipse.jface.wizard.IWizardPage;
import org.eclipse.jface.wizard.Wizard;
import org.eclipse.jface.wizard.WizardDialog;
import org.eclipse.jface.wizard.WizardPage;
import org.eclipse.swt.widgets.Composite;
/**
 * @since 1.2
 */
public class WizardPageSupportTest extends AbstractSWTTestCase {
	/**
	 * Bug 235195.
	 */
	public void testPageComplete() {
		IWizardPage page = new WizardPage("Page") {
			public void createControl(Composite parent) {
				setControl(parent);
				IObservableValue validation = new WritableValue(
						ValidationStatus.ok(), IStatus.class);
				DataBindingContext dbc = new DataBindingContext();
				ValidationProvider validationProvider = new ValidationProvider(
						validation);
				dbc.addValidationStatusProvider(validationProvider);
				WizardPageSupport.create(this, dbc);
				assertTrue(isPageComplete());
				validation.setValue(ValidationStatus.info("INFO"));
				assertTrue(isPageComplete());
				validation.setValue(ValidationStatus.warning("WARNING"));
				assertTrue(isPageComplete());
				validation.setValue(ValidationStatus.error("ERROR"));
				assertFalse(isPageComplete());