On this page
LibTmux.Testing.TemporaryHierarchyScope
- Module
- LibTmux.Testing
- Package
- LibTmux
- Source
- src/LibTmux/Testing/TemporaryHierarchyScope.cs
-
A server, session, window, and pane a test owns together.
Most tests want somewhere to type, which is four objects deep. Making them one at a time leaves a test holding four scopes and disposing them in the right order; one scope owns the lot and unwinds from the server, which takes everything inside it with it.
6 declared, 0 inherited
Members
- DisposeAsync method
- TemporaryHierarchyScope method
- Pane property Gets the pane.
- Server property Gets the server the rest live in.
- Session property Gets the session.
- Window property Gets the window.