TelegramLogTest
extends TestCase
in package
Tags
Table of Contents
- $dummy_api_key : string
- $logfiles : array<string|int, mixed>
- testDebugStream() : mixed
- testErrorStream() : mixed
- testExternalStream() : mixed
- testNewInstanceWithoutDebugPath() : mixed
- testNewInstanceWithoutErrorPath() : mixed
- testNewInstanceWithoutUpdatePath() : mixed
- testUpdateStream() : mixed
- setUp() : mixed
- skip64BitTest() : mixed
- tearDown() : mixed
Properties
$dummy_api_key
public
static string
$dummy_api_key
= '123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11'
$logfiles
private
static array<string|int, mixed>
$logfiles
= ['error' => '/tmp/php-telegram-bot-errorlog.log', 'debug' => '/tmp/php-telegram-bot-debuglog.log', 'update' => '/tmp/php-telegram-bot-updatelog.log', 'external' => '/tmp/php-telegram-bot-externallog.log']
Dummy logfile paths
Methods
testDebugStream()
public
testDebugStream() : mixed
Return values
mixed —testErrorStream()
public
testErrorStream() : mixed
Return values
mixed —testExternalStream()
public
testExternalStream() : mixed
Return values
mixed —testNewInstanceWithoutDebugPath()
public
testNewInstanceWithoutDebugPath() : mixed
Tags
Return values
mixed —testNewInstanceWithoutErrorPath()
public
testNewInstanceWithoutErrorPath() : mixed
Tags
Return values
mixed —testNewInstanceWithoutUpdatePath()
public
testNewInstanceWithoutUpdatePath() : mixed
Tags
Return values
mixed —testUpdateStream()
public
testUpdateStream() : mixed
Return values
mixed —setUp()
protected
setUp() : mixed
Return values
mixed —skip64BitTest()
protected
skip64BitTest() : mixed
Return values
mixed —tearDown()
protected
tearDown() : mixed