[Mono-bugs] [Bug 457170] Validation ignores CausesValidation on focus destination control

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Dec 12 11:10:40 EST 2008


https://bugzilla.novell.com/show_bug.cgi?id=457170

User andyhume32 at yahoo.co.uk added comment
https://bugzilla.novell.com/show_bug.cgi?id=457170#c2





--- Comment #2 from Andy Hume <andyhume32 at yahoo.co.uk>  2008-12-12 09:10:40 MST ---
Created an attachment (id=259737)
 --> (https://bugzilla.novell.com/attachment.cgi?id=259737)
automated tests (nunit) for ContainerControl Validation etc

Attached is the first cut at unit-tests for this and related bugs.  It
currently includes tests:
And then tests of the validation events with combinations of Validating event
true/false and CausesValidation true/false for this bug.
1. SimpleSiblingControls
2. DestControlsInPanels -- the target controls are in panels etc, to see which
of their events are raised etc.

3. AutoValidateProperty
No bug report for this.  This property needs to default to Inherit (has
[Ambient(-1) ie Inherit), but when a containercontrol has no parent
get_AutoValidate returns EnablePreventFocusChange.

And the variantions of #2, for that property's value, for bug 332117.
4. SimpleSiblingControls_AvEnablePrevent
5. SimpleSiblingControls_AvEnableAllow
6. SimpleSiblingControls_AvDisable

Stuff remaining to be tested include placing the source controls in
panels/containers etc.

7. FormCloseNoFocus
Charlie Poole's case from mono-list
(http://lists.ximian.com/pipermail/mono-list/2008-December/040669.html),
unexpected validation events on Form close when control has never had focus. 
Need to test the opposite case too...


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list