IRCPluginImpl.selftest

Self-test function.

mixintemplate IRCPluginImpl(Flag!"debug_" debug_ = No.debug_, string module_ = __MODULE__)
version(Selftests)
@safe override @system
Ternary
selftest

Parameters

tester Selftester

The Selftester to use for testing.

Return Value

Type: Ternary

Ternary.yes if the self-test succeeded, Ternary.no if it failed, and Ternary.unknown if the plugin is disabled or doesn't have a .selftest function.