Related comments:
The DispatcherExtensions.DoEvents and UseExportProviderAttribute.After methods went through several iterations that eventually led to a state of "reasonable reliability" for test cleanup. Two issues proved complex here:
- The message pump required for executing tasks dispatched to the main thread, on which the synchronous
After method is executing
- The execution efficiency of looping while waiting for a test timeout to expire, which can impact the total test execution time
I am quite confident that the pair of methods can be simplified without any negative impact on usability/reliability, but am uncomfortable making ongoing large changes in the original review due to is size.
Related comments:
The
DispatcherExtensions.DoEventsandUseExportProviderAttribute.Aftermethods went through several iterations that eventually led to a state of "reasonable reliability" for test cleanup. Two issues proved complex here:Aftermethod is executingI am quite confident that the pair of methods can be simplified without any negative impact on usability/reliability, but am uncomfortable making ongoing large changes in the original review due to is size.