We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Following test fails in org.eclipse.core.databinding 1.13.300 Paste it into WizardPageSupportTest.java to reproduce.
public class org.eclipse.jface.tests.databinding.wizard.WizardPageSupportTest extends AbstractSWTTestCase { @Test public void testDispose() { AtomicBoolean disposedAtomic = new AtomicBoolean(false); IWizardPage page = new WizardPage("Page") { @Override public void createControl(Composite parent) { setControl(parent); DataBindingContext dbc = new DataBindingContext(); dbc.addValidationStatusProvider(new ValidationStatusProvider() { @Override public IObservableValue<IStatus> getValidationStatus() { return new ConstantObservableValue(dbc.getValidationRealm(), Status.OK_STATUS, IStatus.class); } @Override public IObservableList<IObservable> getTargets() { return Observables.emptyObservableList(dbc.getValidationRealm()); } @Override public IObservableList<IObservable> getModels() { return Observables.emptyObservableList(dbc.getValidationRealm()); } @Override public void dispose() { disposedAtomic.set(true); super.dispose(); } }); WizardPageSupport.create(this, dbc); // Should dispose all status providers when wizard is closed } }; loadWizardPage(page); assertTrue(disposedAtomic.get()); } }
WizardPageSupport.create() documentation does not mention that DBC is not disposed and no snippets from examples dispose the DBC explicitly.
WizardPageSupport.create()
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Following test fails in org.eclipse.core.databinding 1.13.300
Paste it into WizardPageSupportTest.java to reproduce.
WizardPageSupport.create()
documentation does not mention that DBC is not disposed and no snippets from examples dispose the DBC explicitly.The text was updated successfully, but these errors were encountered: