Table of Contents
-
RESULT_ERROR
= 2
-
RESULT_FAILED
= 1
-
RESULT_OK
= 0
-
RESULT_WAITING
= -1
-
$plugin
: Main
-
$result
: int
-
$startTime
: int
-
$timeout
: int
-
__construct()
: mixed
-
getDescription()
: string
-
getName()
: string
-
getPlugin()
: Main
-
getResult()
: int
-
isFinished()
: bool
-
isTimedOut()
: bool
-
run()
: void
-
setResult()
: void
-
start()
: void
-
tick()
: void
-
setTimeout()
: void
RESULT_ERROR
public
mixed
RESULT_ERROR
= 2
RESULT_FAILED
public
mixed
RESULT_FAILED
= 1
RESULT_OK
public
mixed
RESULT_OK
= 0
RESULT_WAITING
public
mixed
RESULT_WAITING
= -1
$plugin
private
Main
$plugin
$result
private
int
$result
= \pmmp\TesterPlugin\Test::RESULT_WAITING
$startTime
private
int
$startTime
$timeout
private
int
$timeout
= 60
__construct()
public
__construct(Main $plugin) : mixed
Parameters
-
$plugin
: Main
-
Return values
mixed
—
getDescription()
public
abstract getDescription() : string
Return values
string
—
getName()
public
abstract getName() : string
Return values
string
—
getPlugin()
public
getPlugin() : Main
Return values
Main
—
getResult()
public
getResult() : int
Return values
int
—
isFinished()
public
isFinished() : bool
Return values
bool
—
isTimedOut()
public
isTimedOut() : bool
Return values
bool
—
run()
public
abstract run() : void
Return values
void
—
setResult()
public
setResult(int $result) : void
Parameters
-
$result
: int
-
Return values
void
—
start()
public
final start() : void
Return values
void
—
tick()
public
tick() : void
Return values
void
—
setTimeout()
protected
setTimeout(int $timeout) : void
Parameters
-
$timeout
: int
-
Return values
void
—