Documentation

TelegramLogTest extends TestCase
in package

Tags
author

Avtandil Kikabidze akalongman@gmail.com

copyright

Avtandil Kikabidze akalongman@gmail.com

license

http://opensource.org/licenses/mit-license.php The MIT License (MIT)

link
https://github.com/php-telegram-bot/core

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
expectedException

\Longman\TelegramBot\Exception\TelegramLogException

Return values
mixed

testNewInstanceWithoutErrorPath()

public testNewInstanceWithoutErrorPath() : mixed
Tags
expectedException

\Longman\TelegramBot\Exception\TelegramLogException

Return values
mixed

testNewInstanceWithoutUpdatePath()

public testNewInstanceWithoutUpdatePath() : mixed
Tags
expectedException

\Longman\TelegramBot\Exception\TelegramLogException

Return values
mixed

testUpdateStream()

public testUpdateStream() : mixed
Return values
mixed

skip64BitTest()

protected skip64BitTest() : mixed
Return values
mixed

Search results