You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+10-1Lines changed: 10 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,15 @@ All notable changes to **bUnit** will be documented in this file. The project ad
6
6
7
7
## [Unreleased]
8
8
9
+
### Added
10
+
11
+
- Added static `DefaultWaitTimeout` property to `TestContext` to enable overriding the default timeout of "wait for" methods like `WaitForAssertion` from 1 second to something else. By [@egil](https://github.com/egil).
12
+
13
+
### Fixed
14
+
15
+
- TestRenderer throws `ObjectDisposedException` if any methods is accessed after it has been disposed. It will also prevent changes to the internal render tree after it has been disposed. By [@egil](https://github.com/egil).
16
+
17
+
9
18
## [1.19.14] - 2023-04-26
10
19
11
20
### Fixed
@@ -33,7 +42,7 @@ All notable changes to **bUnit** will be documented in this file. The project ad
=LoggerMessage.Define(LogLevel.Warning,newEventId(31,"LogRenderCycleActiveAfterDispose"),"A component attempted to update the render tree after the renderer was disposed.");
Copy file name to clipboardExpand all lines: src/bunit.core/TestContextBase.cs
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,12 @@ public abstract class TestContextBase : IDisposable
10
10
privatebooldisposed;
11
11
privateITestRenderer?testRenderer;
12
12
13
+
/// <summary>
14
+
/// Gets or sets the default wait timeout used by "WaitFor" operations, i.e. <see cref="RenderedFragmentWaitForHelperExtensions.WaitForAssertion(IRenderedFragmentBase, Action, TimeSpan?)"/>.
0 commit comments