Core Library0.xAPI Reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

method libtmux-java latest

FakeTmux.restart

Replaces the server, as a restart does: a new process, and nothing in it.

Source and package
Qualified name
io.github.libtmux.junit5.FakeTmux.restart
Package
io.github.libtmux.junit5
Declared in
FakeTmux
Distribution
io.github.libtmux:libtmux
Source
libtmux-junit5/src/main/java/io/github/libtmux/junit5/FakeTmux.java
public synchronized void restart()

Description#

Handles made before this are refused from now on, which is what a test of code that has to survive a server restarting under it needs to see.

Esc

Type to search.

Reference previewOpen reference