NamedServerFixture.own
Authenticates a live named server and takes responsibility for ending it.
Source and package
- Qualified name
-
io.github .libtmux .junit5 .Named Server Fixture. own - Package
- io.github.libtmux.junit5
- Declared in
NamedServerFixture- Distribution
- io.github.libtmux:libtmux
- Source
- libtmux-junit5/src/main/java/io/github/libtmux/junit5/NamedServerFixture.java
- public static Named
Server own( Server server, String expectedFixture Name , Path quarantine) throws IOExceptionpublic static NamedServer own( Server server, Path expectedFixture Socket , Path quarantine) throws IOException -
- Parameters
-
-
expectedName(String) # – the exact socket name the test supplied to tmux forown(server, expectedName, quarantine) -
quarantine(Path) # – theTMUX_TMPDIRassigned to this test task forown(server, expectedName, quarantine) -
expectedSocket(Path) # – the exact socket path the test supplied to tmux forown(server, expectedSocket, quarantine) -
quarantine(Path) # – the owned root that must contain the socket forown(server, expectedSocket, quarantine)
- Returns
-
cleanup bound to the reported process, path, and socket inode
- Raises
-
-
IOException – if the endpoint cannot be inspected
-
tmux command#
The tmux commands behind own.
tmux C API#
The C declarations in tmux that implement these commands.