SYMBOL INDEX (383 symbols across 28 files) FILE: src/Commands/AbstractCommand.php class AbstractCommand (line 10) | abstract class AbstractCommand extends EventEmitter implements CommandIn... FILE: src/Commands/AuthenticateCommand.php class AuthenticateCommand (line 12) | class AuthenticateCommand extends AbstractCommand method __construct (line 54) | public function __construct( method getId (line 71) | public function getId() method authenticatePacket (line 83) | public function authenticatePacket($scramble, $authPlugin, Buffer $buf... method authResponse (line 112) | public function authResponse($scramble, $authPlugin) method authMysqlNativePassword (line 127) | private function authMysqlNativePassword($scramble) method authCachingSha2Password (line 141) | private function authCachingSha2Password($scramble) method authSha256 (line 161) | public function authSha256($scramble, $pubkey) FILE: src/Commands/CommandInterface.php type CommandInterface (line 10) | interface CommandInterface extends EventEmitterInterface method getId (line 12) | public function getId(); FILE: src/Commands/PingCommand.php class PingCommand (line 8) | class PingCommand extends AbstractCommand method getId (line 10) | public function getId() method getSql (line 15) | public function getSql() FILE: src/Commands/QueryCommand.php class QueryCommand (line 10) | class QueryCommand extends AbstractCommand method getId (line 18) | public function getId() method getQuery (line 23) | public function getQuery() method setQuery (line 28) | public function setQuery($query) method getSql (line 39) | public function getSql() FILE: src/Commands/QuitCommand.php class QuitCommand (line 8) | class QuitCommand extends AbstractCommand method getId (line 10) | public function getId() method getSql (line 15) | public function getSql() FILE: src/Exception.php class Exception (line 5) | class Exception extends \Exception FILE: src/Io/Buffer.php class Buffer (line 7) | class Buffer method append (line 18) | public function append($str) method prepend (line 29) | public function prepend($str) method read (line 42) | public function read($len) method readBuffer (line 75) | public function readBuffer($len) method skip (line 111) | public function skip($len) method length (line 124) | public function length() method readInt1 (line 132) | public function readInt1() method readInt2 (line 140) | public function readInt2() method readInt3 (line 149) | public function readInt3() method readInt4 (line 158) | public function readInt4() method readInt8 (line 168) | public function readInt8() method readIntLen (line 185) | public function readIntLen() method readStringLen (line 209) | public function readStringLen() method readStringNull (line 225) | public function readStringNull() method buildInt1 (line 242) | public function buildInt1($int) method buildInt2 (line 251) | public function buildInt2($int) method buildInt3 (line 260) | public function buildInt3($int) method buildInt8 (line 270) | public function buildInt8($int) method buildStringLen (line 285) | public function buildStringLen($s) FILE: src/Io/Connection.php class Connection (line 21) | class Connection extends EventEmitter method __construct (line 67) | public function __construct(SocketConnectionInterface $stream, Executo... method isBusy (line 88) | public function isBusy() method query (line 93) | public function query(Query $query) method queryStream (line 141) | public function queryStream(Query $query) method ping (line 156) | public function ping() method quit (line 173) | public function quit() method close (line 193) | public function close() method handleConnectionError (line 236) | public function handleConnectionError($err) method handleConnectionClosed (line 245) | public function handleConnectionClosed() method _doCommand (line 262) | protected function _doCommand(CommandInterface $command) method awake (line 274) | private function awake() method idle (line 284) | private function idle() FILE: src/Io/Constants.php class Constants (line 8) | class Constants FILE: src/Io/Executor.php class Executor (line 10) | class Executor extends EventEmitter method __construct (line 14) | public function __construct() method isIdle (line 19) | public function isIdle() method enqueue (line 24) | public function enqueue($command) method dequeue (line 32) | public function dequeue() FILE: src/Io/Factory.php class Factory (line 20) | class Factory method __construct (line 63) | public function __construct($loop = null, $connector = null) method createConnection (line 164) | public function createConnection( FILE: src/Io/Parser.php class Parser (line 14) | class Parser method __construct (line 113) | public function __construct(DuplexStreamInterface $stream, Executor $e... method isBusy (line 130) | public function isBusy() method start (line 135) | public function start() method debug (line 141) | public function debug($message) method handleData (line 151) | public function handleData($data) method parsePacket (line 195) | private function parsePacket(Buffer $packet) method onResultRow (line 371) | private function onResultRow($row) method onError (line 378) | private function onError(\Exception $error) method onResultDone (line 393) | protected function onResultDone() method onSuccess (line 406) | protected function onSuccess() method onClose (line 419) | public function onClose() method sendPacket (line 436) | public function sendPacket($packet) method nextRequest (line 441) | protected function nextRequest($isHandshake = false) FILE: src/Io/Query.php class Query (line 8) | class Query method __construct (line 49) | public function __construct($sql, array $params = []) method escape (line 62) | public function escape($str) method resolveValueForSql (line 71) | protected function resolveValueForSql($value) method buildSql (line 92) | protected function buildSql() method getSql (line 170) | public function getSql() FILE: src/Io/QueryStream.php class QueryStream (line 16) | class QueryStream extends EventEmitter implements ReadableStreamInterface method __construct (line 23) | public function __construct(QueryCommand $command, ConnectionInterface... method isReadable (line 52) | public function isReadable() method pause (line 57) | public function pause() method resume (line 65) | public function resume() method close (line 73) | public function close() method pipe (line 88) | public function pipe(WritableStreamInterface $dest, array $options = []) FILE: src/MysqlClient.php class MysqlClient (line 53) | class MysqlClient extends EventEmitter method __construct (line 87) | public function __construct( method query (line 187) | public function query($sql, array $params = []) method queryStream (line 267) | public function queryStream($sql, array $params = []) method ping (line 311) | public function ping() method quit (line 349) | public function quit() method close (line 399) | public function close() method getConnection (line 432) | private function getConnection() method handleConnectionReady (line 478) | private function handleConnectionReady(Connection $connection) FILE: src/MysqlResult.php class MysqlResult (line 5) | class MysqlResult FILE: tests/BaseTestCase.php class BaseTestCase (line 10) | class BaseTestCase extends TestCase method getConnectionOptions (line 12) | protected function getConnectionOptions($debug = false) method getConnectionString (line 24) | protected function getConnectionString($params = []) method createConnection (line 35) | protected function createConnection(LoopInterface $loop) method getDataTable (line 43) | protected function getDataTable() method expectCallableOnce (line 57) | protected function expectCallableOnce() method expectCallableOnceWith (line 65) | protected function expectCallableOnceWith($value) method expectCallableNever (line 73) | protected function expectCallableNever() method setExpectedException (line 81) | public function setExpectedException($exception, $exceptionMessage = '... FILE: tests/Commands/AuthenticateCommandTest.php class AuthenticateCommandTest (line 9) | class AuthenticateCommandTest extends TestCase method testCtorWithKnownCharset (line 14) | public function testCtorWithKnownCharset() method testCtorWithUnknownCharsetThrows (line 19) | public function testCtorWithUnknownCharsetThrows() method testAuthenticatePacketWithEmptyPassword (line 30) | public function testAuthenticatePacketWithEmptyPassword() method testAuthenticatePacketWithMysqlNativePasswordAuthPluginAndEmptyPassword (line 39) | public function testAuthenticatePacketWithMysqlNativePasswordAuthPlugi... method testAuthenticatePacketWithCachingSha2PasswordAuthPluginAndEmptyPassword (line 48) | public function testAuthenticatePacketWithCachingSha2PasswordAuthPlugi... method testAuthenticatePacketWithSecretPassword (line 57) | public function testAuthenticatePacketWithSecretPassword() method testAuthenticatePacketWithCachingSha2PasswordWithSecretPasswordHashed (line 70) | public function testAuthenticatePacketWithCachingSha2PasswordWithSecre... method testAuthenticatePacketWithUnknownAuthPluginThrows (line 79) | public function testAuthenticatePacketWithUnknownAuthPluginThrows() method testAuthSha256WithValidPublicKeyReturnsScrambledDataThatCanBeDecryptedByReceiverWithPrivateKey (line 96) | public function testAuthSha256WithValidPublicKeyReturnsScrambledDataTh... method testAuthSha256WithPasswordLongerThanScrambleLengthReturnsScrambledDataThatCanBeDecryptedByReceiverWithPrivateKey (line 114) | public function testAuthSha256WithPasswordLongerThanScrambleLengthRetu... method testAuthSha256WithInvalidPublicKeyThrows (line 132) | public function testAuthSha256WithInvalidPublicKeyThrows() FILE: tests/Io/BufferTest.php class BufferTest (line 8) | class BufferTest extends BaseTestCase method testAppendAndReadBinary (line 10) | public function testAppendAndReadBinary() method testReadBeyondLimitThrows (line 19) | public function testReadBeyondLimitThrows() method testReadAfterSkipOne (line 29) | public function testReadAfterSkipOne() method testReadBufferEmptyIsNoop (line 39) | public function testReadBufferEmptyIsNoop() method testReadBufferReturnsBufferWithOriginalLengthAndClearsOriginalBuffer (line 49) | public function testReadBufferReturnsBufferWithOriginalLengthAndClears... method testReadBufferBeyondLimitThrows (line 60) | public function testReadBufferBeyondLimitThrows() method testSkipZeroThrows (line 68) | public function testSkipZeroThrows() method testSkipBeyondLimitThrows (line 78) | public function testSkipBeyondLimitThrows() method testParseInt1 (line 88) | public function testParseInt1() method testParseInt2 (line 98) | public function testParseInt2() method testParseInt3 (line 108) | public function testParseInt3() method testParseInt8 (line 118) | public function testParseInt8() method testParseIntLen (line 128) | public function testParseIntLen() method testParseStringEmpty (line 138) | public function testParseStringEmpty() method testParseStringShort (line 149) | public function testParseStringShort() method testParseStringKilo (line 160) | public function testParseStringKilo() method testParseStringMega (line 169) | public function testParseStringMega() method testParseStringExcessive (line 183) | public function testParseStringExcessive() method testParseStringNullLength (line 192) | public function testParseStringNullLength() method testParseStringNullCharacterTwice (line 203) | public function testParseStringNullCharacterTwice() method testParseStringNullCharacterThrowsIfNullNotFound (line 212) | public function testParseStringNullCharacterThrowsIfNullNotFound() FILE: tests/Io/ConnectionTest.php class ConnectionTest (line 9) | class ConnectionTest extends BaseTestCase method testIsBusyReturnsTrueWhenParserIsBusy (line 11) | public function testIsBusyReturnsTrueWhenParserIsBusy() method testIsBusyReturnsFalseWhenParserIsNotBusyAndExecutorIsIdle (line 31) | public function testIsBusyReturnsFalseWhenParserIsNotBusyAndExecutorIs... method testQueryWillEnqueueOneCommand (line 47) | public function testQueryWillEnqueueOneCommand() method testQueryWillReturnResolvedPromiseAndStartIdleTimerWhenQueryCommandEmitsSuccess (line 64) | public function testQueryWillReturnResolvedPromiseAndStartIdleTimerWhe... method testQueryWillReturnResolvedPromiseAndStartIdleTimerWhenQueryCommandEmitsEnd (line 93) | public function testQueryWillReturnResolvedPromiseAndStartIdleTimerWhe... method testQueryWillReturnResolvedPromiseAndStartIdleTimerWhenIdlePeriodIsGivenAndQueryCommandEmitsSuccess (line 122) | public function testQueryWillReturnResolvedPromiseAndStartIdleTimerWhe... method testQueryWillReturnResolvedPromiseAndNotStartIdleTimerWhenIdlePeriodIsNegativeAndQueryCommandEmitsSuccess (line 151) | public function testQueryWillReturnResolvedPromiseAndNotStartIdleTimer... method testQueryWillReturnRejectedPromiseAndStartIdleTimerWhenQueryCommandEmitsError (line 178) | public function testQueryWillReturnRejectedPromiseAndStartIdleTimerWhe... method testQueryFollowedByIdleTimerWillQuitUnderlyingConnectionAndEmitCloseEventWhenQuitCommandEmitsSuccess (line 207) | public function testQueryFollowedByIdleTimerWillQuitUnderlyingConnecti... method testQueryFollowedByIdleTimerWillQuitUnderlyingConnectionAndEmitCloseEventWhenQuitCommandEmitsError (line 246) | public function testQueryFollowedByIdleTimerWillQuitUnderlyingConnecti... method testQueryTwiceWillEnqueueSecondQueryWithoutStartingIdleTimerWhenFirstQueryCommandEmitsSuccess (line 285) | public function testQueryTwiceWillEnqueueSecondQueryWithoutStartingIdl... method testQueryTwiceAfterIdleTimerWasStartedWillCancelIdleTimerAndEnqueueSecondCommand (line 311) | public function testQueryTwiceAfterIdleTimerWasStartedWillCancelIdleTi... method testQueryStreamWillEnqueueOneCommand (line 340) | public function testQueryStreamWillEnqueueOneCommand() method testQueryStreamWillReturnStreamThatWillEmitEndEventAndStartIdleTimerWhenQueryCommandEmitsSuccess (line 357) | public function testQueryStreamWillReturnStreamThatWillEmitEndEventAnd... method testQueryStreamWillReturnStreamThatWillEmitErrorEventAndStartIdleTimerWhenQueryCommandEmitsError (line 387) | public function testQueryStreamWillReturnStreamThatWillEmitErrorEventA... method testPingWillEnqueueOneCommand (line 417) | public function testPingWillEnqueueOneCommand() method testPingWillReturnResolvedPromiseAndStartIdleTimerWhenPingCommandEmitsSuccess (line 434) | public function testPingWillReturnResolvedPromiseAndStartIdleTimerWhen... method testPingWillReturnRejectedPromiseAndStartIdleTimerWhenPingCommandEmitsError (line 463) | public function testPingWillReturnRejectedPromiseAndStartIdleTimerWhen... method testQuitWillEnqueueOneCommand (line 492) | public function testQuitWillEnqueueOneCommand() method testQuitWillResolveBeforeEmittingCloseEventWhenQuitCommandEmitsSuccess (line 507) | public function testQuitWillResolveBeforeEmittingCloseEventWhenQuitCom... method testQuitWillRejectBeforeEmittingCloseEventWhenQuitCommandEmitsError (line 545) | public function testQuitWillRejectBeforeEmittingCloseEventWhenQuitComm... method testCloseWillEmitCloseEvent (line 583) | public function testCloseWillEmitCloseEvent() method testCloseAfterIdleTimerWasStartedWillCancelIdleTimerAndEmitCloseEvent (line 602) | public function testCloseAfterIdleTimerWasStartedWillCancelIdleTimerAn... method testQueryAfterQuitRejectsImmediately (line 633) | public function testQueryAfterQuitRejectsImmediately() method testQueryAfterCloseRejectsImmediately (line 660) | public function testQueryAfterCloseRejectsImmediately() method testQueryStreamAfterQuitThrows (line 687) | public function testQueryStreamAfterQuitThrows() method testPingAfterQuitRejectsImmediately (line 708) | public function testPingAfterQuitRejectsImmediately() method testQuitAfterQuitRejectsImmediately (line 735) | public function testQuitAfterQuitRejectsImmediately() method testCloseStreamEmitsErrorEvent (line 762) | public function testCloseStreamEmitsErrorEvent() FILE: tests/Io/FactoryTest.php class FactoryTest (line 12) | class FactoryTest extends BaseTestCase method testConstructWithoutLoopAssignsLoopAutomatically (line 14) | public function testConstructWithoutLoopAssignsLoopAutomatically() method testConnectWillUseHostAndDefaultPort (line 25) | public function testConnectWillUseHostAndDefaultPort() method testConnectWillUseGivenScheme (line 36) | public function testConnectWillUseGivenScheme() method testConnectWillUseGivenHostAndGivenPort (line 47) | public function testConnectWillUseGivenHostAndGivenPort() method testConnectWillUseGivenUserInfoAsDatabaseCredentialsAfterUrldecoding (line 58) | public function testConnectWillUseGivenUserInfoAsDatabaseCredentialsAf... method testConnectWillUseGivenPathAsDatabaseNameAfterUrldecoding (line 75) | public function testConnectWillUseGivenPathAsDatabaseNameAfterUrldecod... method testConnectWithInvalidHostRejectsWithConnectionError (line 92) | public function testConnectWithInvalidHostRejectsWithConnectionError() method testConnectWithInvalidPassRejectsWithAuthenticationError (line 104) | public function testConnectWithInvalidPassRejectsWithAuthenticationErr... method testConnectWillRejectWhenServerClosesConnection (line 129) | public function testConnectWillRejectWhenServerClosesConnection() method testConnectWillRejectOnExplicitTimeoutDespiteValidAuth (line 161) | public function testConnectWillRejectOnExplicitTimeoutDespiteValidAuth() method testConnectWillRejectOnDefaultTimeoutFromIniDespiteValidAuth (line 186) | public function testConnectWillRejectOnDefaultTimeoutFromIniDespiteVal... method testConnectWithValidAuthWillRunUntilQuit (line 214) | public function testConnectWithValidAuthWillRunUntilQuit() method testConnectWithValidAuthAndWithoutDbNameWillRunUntilQuit (line 231) | public function testConnectWithValidAuthAndWithoutDbNameWillRunUntilQu... method testConnectWithValidAuthWillIgnoreNegativeTimeoutAndRunUntilQuit (line 248) | public function testConnectWithValidAuthWillIgnoreNegativeTimeoutAndRu... method testConnectWithValidAuthCanPingAndThenQuit (line 265) | public function testConnectWithValidAuthCanPingAndThenQuit() method testConnectWithValidAuthCanQueuePingAndQuit (line 285) | public function testConnectWithValidAuthCanQueuePingAndQuit() method testConnectWithValidAuthQuitOnlyOnce (line 305) | public function testConnectWithValidAuthQuitOnlyOnce() method testConnectWithValidAuthCanCloseOnlyOnce (line 327) | public function testConnectWithValidAuthCanCloseOnlyOnce() method testConnectWithValidAuthCanCloseAndAbortPing (line 350) | public function testConnectWithValidAuthCanCloseAndAbortPing() method testlConnectWillRejectWhenUnderlyingConnectorRejects (line 378) | public function testlConnectWillRejectWhenUnderlyingConnectorRejects() method provideUris (line 400) | public function provideUris() method testCancelConnectWillCancelPendingConnection (line 427) | public function testCancelConnectWillCancelPendingConnection($uri, $safe) method testCancelConnectWillCancelPendingConnectionWithRuntimeException (line 452) | public function testCancelConnectWillCancelPendingConnectionWithRuntim... method testCancelConnectDuringAuthenticationWillCloseConnection (line 479) | public function testCancelConnectDuringAuthenticationWillCloseConnecti... FILE: tests/Io/ParserTest.php class ParserTest (line 14) | class ParserTest extends BaseTestCase method testClosingStreamEmitsErrorForCurrentCommand (line 16) | public function testClosingStreamEmitsErrorForCurrentCommand() method testParseValidAuthPluginWillSendAuthResponse (line 46) | public function testParseValidAuthPluginWillSendAuthResponse() method testUnexpectedAuthPluginShouldEmitErrorOnAuthenticateCommandAndCloseStream (line 69) | public function testUnexpectedAuthPluginShouldEmitErrorOnAuthenticateC... method testParseAuthSwitchRequestWillSendAuthSwitchResponsePacket (line 86) | public function testParseAuthSwitchRequestWillSendAuthSwitchResponsePa... method testParseAuthSwitchRequestWithUnexpectedAuthPluginWillEmitErrorAndCloseConnection (line 113) | public function testParseAuthSwitchRequestWithUnexpectedAuthPluginWill... method testParseAuthMoreDataWithFastAuthSuccessWillPrintDebugLogAndWaitForOkPacketWithoutSendingPacket (line 140) | public function testParseAuthMoreDataWithFastAuthSuccessWillPrintDebug... method testParseAuthMoreDataWithFastAuthFailureWillSendCertificateRequest (line 169) | public function testParseAuthMoreDataWithFastAuthFailureWillSendCertif... method testParseAuthMoreDataWithCertificateWillSendEncryptedPassword (line 193) | public function testParseAuthMoreDataWithCertificateWillSendEncryptedP... method testParseAuthMoreDataWithCertificateWillEmitErrorAndCloseConnectionWhenEncryptingPasswordThrows (line 224) | public function testParseAuthMoreDataWithCertificateWillEmitErrorAndCl... method testUnexpectedErrorWithoutCurrentCommandWillBeIgnored (line 256) | public function testUnexpectedErrorWithoutCurrentCommandWillBeIgnored() method testReceivingErrorFrameDuringHandshakeShouldEmitErrorOnFollowingCommand (line 271) | public function testReceivingErrorFrameDuringHandshakeShouldEmitErrorO... method testReceivingErrorFrameForQueryShouldEmitError (line 296) | public function testReceivingErrorFrameForQueryShouldEmitError() method testReceivingErrorFrameForQueryAfterResultSetHeadersShouldEmitError (line 324) | public function testReceivingErrorFrameForQueryAfterResultSetHeadersSh... method testReceivingInvalidPacketWithMissingDataShouldEmitErrorAndCloseConnection (line 363) | public function testReceivingInvalidPacketWithMissingDataShouldEmitErr... method testReceivingInvalidPacketWithExcessiveDataShouldEmitErrorAndCloseConnection (line 396) | public function testReceivingInvalidPacketWithExcessiveDataShouldEmitE... method testReceivingIncompleteErrorFrameDuringHandshakeShouldNotEmitError (line 429) | public function testReceivingIncompleteErrorFrameDuringHandshakeShould... FILE: tests/Io/QueryStreamTest.php class QueryStreamTest (line 9) | class QueryStreamTest extends BaseTestCase method testDataEventWillBeForwardedFromCommandResult (line 11) | public function testDataEventWillBeForwardedFromCommandResult() method testDataEventWillNotBeForwardedFromCommandResultAfterClosingStream (line 22) | public function testDataEventWillNotBeForwardedFromCommandResultAfterC... method testEndEventWillBeForwardedFromCommandResult (line 34) | public function testEndEventWillBeForwardedFromCommandResult() method testSuccessEventWillBeForwardedFromCommandResultAsEndWithoutData (line 46) | public function testSuccessEventWillBeForwardedFromCommandResultAsEndW... method testErrorEventWillBeForwardedFromCommandResult (line 59) | public function testErrorEventWillBeForwardedFromCommandResult() method testPauseForwardsToConnectionAfterResultStarted (line 71) | public function testPauseForwardsToConnectionAfterResultStarted() method testPauseForwardsToConnectionWhenResultStarted (line 83) | public function testPauseForwardsToConnectionWhenResultStarted() method testPauseDoesNotForwardToConnectionWhenResultIsNotStarted (line 95) | public function testPauseDoesNotForwardToConnectionWhenResultIsNotStar... method testPauseDoesNotForwardToConnectionAfterClosing (line 105) | public function testPauseDoesNotForwardToConnectionAfterClosing() method testResumeForwardsToConnectionAfterResultStarted (line 116) | public function testResumeForwardsToConnectionAfterResultStarted() method testResumeDoesNotForwardToConnectionAfterClosing (line 128) | public function testResumeDoesNotForwardToConnectionAfterClosing() method testPipeReturnsDestStream (line 139) | public function testPipeReturnsDestStream() method testCloseTwiceEmitsCloseEventOnce (line 152) | public function testCloseTwiceEmitsCloseEventOnce() method testCloseForwardsResumeToConnectionIfPreviouslyPaused (line 164) | public function testCloseForwardsResumeToConnectionIfPreviouslyPaused() method testCloseDoesNotResumeConnectionIfNotPreviouslyPaused (line 176) | public function testCloseDoesNotResumeConnectionIfNotPreviouslyPaused() method testCloseDoesNotResumeConnectionIfPreviouslyPausedWhenResultIsNotActive (line 186) | public function testCloseDoesNotResumeConnectionIfPreviouslyPausedWhen... FILE: tests/Io/QueryTest.php class QueryTest (line 8) | class QueryTest extends BaseTestCase method testCtorThrowsForInvalidParams (line 10) | public function testCtorThrowsForInvalidParams() method testBindParams (line 16) | public function testBindParams() method testGetSqlReturnsQuestionMarkReplacedWhenBound (line 32) | public function testGetSqlReturnsQuestionMarkReplacedWhenBound() method testGetSqlReturnsQuestionMarkReplacedWithNullValueWhenBound (line 38) | public function testGetSqlReturnsQuestionMarkReplacedWithNullValueWhen... method testGetSqlReturnsQuestionMarkReplacedFromBoundWhenBound (line 44) | public function testGetSqlReturnsQuestionMarkReplacedFromBoundWhenBound() method testGetSqlReturnsQuestionMarksAsIsWhenNotBound (line 50) | public function testGetSqlReturnsQuestionMarksAsIsWhenNotBound() method testEscapeChars (line 56) | public function testEscapeChars() FILE: tests/MysqlClientTest.php class MysqlClientTest (line 15) | class MysqlClientTest extends BaseTestCase method testConstructWithoutConnectorAndLoopAssignsConnectorAndLoopAutomatically (line 17) | public function testConstructWithoutConnectorAndLoopAssignsConnectorAn... method testConstructWithConnectorAndLoopAssignsGivenConnectorAndLoop (line 38) | public function testConstructWithConnectorAndLoopAssignsGivenConnector... method provideInvalidUris (line 60) | public static function provideInvalidUris() method testContructorThrowsExceptionForInvalidUri (line 111) | public function testContructorThrowsExceptionForInvalidUri($uri, $mess... method testContructorThrowsExceptionForInvalidCharset (line 121) | public function testContructorThrowsExceptionForInvalidCharset() method testContructorThrowsExceptionForInvalidConnector (line 127) | public function testContructorThrowsExceptionForInvalidConnector() method testContructorThrowsExceptionForInvalidLoop (line 133) | public function testContructorThrowsExceptionForInvalidLoop() method testPingWillNotCloseConnectionWhenPendingConnectionFails (line 139) | public function testPingWillNotCloseConnectionWhenPendingConnectionFai... method testConnectionCloseEventAfterPingWillNotEmitCloseEvent (line 162) | public function testConnectionCloseEventAfterPingWillNotEmitCloseEvent() method testConnectionErrorEventAfterPingWillNotEmitErrorEvent (line 186) | public function testConnectionErrorEventAfterPingWillNotEmitErrorEvent() method testPingAfterConnectionIsInClosingStateDueToIdleTimerWillCloseConnectionBeforeCreatingSecondConnection (line 210) | public function testPingAfterConnectionIsInClosingStateDueToIdleTimerW... method testQueryWillCreateNewConnectionAndReturnPendingPromiseWhenConnectionIsPending (line 241) | public function testQueryWillCreateNewConnectionAndReturnPendingPromis... method testQueryWillCreateNewConnectionAndReturnPendingPromiseWhenConnectionResolvesAndQueryOnConnectionIsPending (line 259) | public function testQueryWillCreateNewConnectionAndReturnPendingPromis... method testQueryWillReturnResolvedPromiseWhenQueryOnConnectionResolves (line 279) | public function testQueryWillReturnResolvedPromiseWhenQueryOnConnectio... method testQueryWillReturnRejectedPromiseWhenCreateConnectionRejects (line 300) | public function testQueryWillReturnRejectedPromiseWhenCreateConnection... method testQueryWillReturnRejectedPromiseWhenQueryOnConnectionRejectsAfterCreateConnectionResolves (line 317) | public function testQueryWillReturnRejectedPromiseWhenQueryOnConnectio... method testQueryTwiceWillCreateSingleConnectionAndReturnPendingPromiseWhenCreateConnectionIsPending (line 337) | public function testQueryTwiceWillCreateSingleConnectionAndReturnPendi... method testQueryTwiceWillCallQueryOnConnectionOnlyOnceWhenQueryIsStillPending (line 357) | public function testQueryTwiceWillCallQueryOnConnectionOnlyOnceWhenQue... method testQueryTwiceWillReuseConnectionForSecondQueryWhenFirstQueryIsAlreadyResolved (line 380) | public function testQueryTwiceWillReuseConnectionForSecondQueryWhenFir... method testQueryTwiceWillCallSecondQueryOnConnectionAfterFirstQueryResolvesWhenBothQueriesAreGivenBeforeCreateConnectionResolves (line 409) | public function testQueryTwiceWillCallSecondQueryOnConnectionAfterFirs... method testQueryTwiceWillCreateNewConnectionForSecondQueryWhenFirstConnectionIsClosedAfterFirstQueryIsResolved (line 441) | public function testQueryTwiceWillCreateNewConnectionForSecondQueryWhe... method testQueryTwiceWillCloseFirstConnectionAndCreateNewConnectionForSecondQueryWhenFirstConnectionIsInClosingStateDueToIdleTimerAfterFirstQueryIsResolved (line 470) | public function testQueryTwiceWillCloseFirstConnectionAndCreateNewConn... method testQueryTwiceWillRejectFirstQueryWhenCreateConnectionRejectsAndWillCreateNewConnectionForSecondQuery (line 502) | public function testQueryTwiceWillRejectFirstQueryWhenCreateConnection... method testQueryTwiceWillRejectBothQueriesWhenBothQueriesAreGivenBeforeCreateConnectionRejects (line 526) | public function testQueryTwiceWillRejectBothQueriesWhenBothQueriesAreG... method testQueryTriceWillRejectFirstTwoQueriesAndKeepThirdPendingWhenTwoQueriesAreGivenBeforeCreateConnectionRejects (line 548) | public function testQueryTriceWillRejectFirstTwoQueriesAndKeepThirdPen... method testQueryTwiceWillCallSecondQueryOnConnectionAfterFirstQueryRejectsWhenBothQueriesAreGivenBeforeCreateConnectionResolves (line 578) | public function testQueryTwiceWillCallSecondQueryOnConnectionAfterFirs... method testQueryStreamWillCreateNewConnectionAndReturnReadableStreamWhenConnectionIsPending (line 611) | public function testQueryStreamWillCreateNewConnectionAndReturnReadabl... method testQueryStreamWillCreateNewConnectionAndReturnReadableStreamWhenConnectionResolvesAndQueryStreamOnConnectionReturnsReadableStream (line 629) | public function testQueryStreamWillCreateNewConnectionAndReturnReadabl... method testQueryStreamTwiceWillCallQueryStreamOnConnectionOnlyOnceWhenQueryStreamIsStillReadable (line 649) | public function testQueryStreamTwiceWillCallQueryStreamOnConnectionOnl... method testQueryStreamTwiceWillReuseConnectionForSecondQueryStreamWhenFirstQueryStreamEnds (line 672) | public function testQueryStreamTwiceWillReuseConnectionForSecondQueryS... method testQueryStreamTwiceWillReuseConnectionForSecondQueryStreamWhenFirstQueryStreamEmitsError (line 703) | public function testQueryStreamTwiceWillReuseConnectionForSecondQueryS... method testQueryStreamTwiceWillWaitForFirstQueryStreamToEndBeforeStartingSecondQueryStreamWhenFirstQueryStreamIsExplicitlyClosed (line 737) | public function testQueryStreamTwiceWillWaitForFirstQueryStreamToEndBe... method testQueryStreamTwiceWillCallSecondQueryStreamOnConnectionAfterFirstQueryStreamIsClosedWhenBothQueriesAreGivenBeforeCreateConnectionResolves (line 765) | public function testQueryStreamTwiceWillCallSecondQueryStreamOnConnect... method testQueryStreamTwiceWillCreateNewConnectionForSecondQueryStreamWhenFirstConnectionIsClosedAfterFirstQueryStreamIsClosed (line 798) | public function testQueryStreamTwiceWillCreateNewConnectionForSecondQu... method testQueryStreamTwiceWillCloseFirstConnectionAndCreateNewConnectionForSecondQueryStreamWhenFirstConnectionIsInClosingStateDueToIdleTimerAfterFirstQueryStreamIsClosed (line 828) | public function testQueryStreamTwiceWillCloseFirstConnectionAndCreateN... method testQueryStreamTwiceWillEmitErrorOnFirstQueryStreamWhenCreateConnectionRejectsAndWillCreateNewConnectionForSecondQueryStream (line 861) | public function testQueryStreamTwiceWillEmitErrorOnFirstQueryStreamWhe... method testQueryStreamTwiceWillEmitErrorOnBothQueriesWhenBothQueriesAreGivenBeforeCreateConnectionRejects (line 885) | public function testQueryStreamTwiceWillEmitErrorOnBothQueriesWhenBoth... method testPingWillCreateNewConnectionAndReturnPendingPromiseWhenConnectionIsPending (line 913) | public function testPingWillCreateNewConnectionAndReturnPendingPromise... method testPingWillCreateNewConnectionAndReturnPendingPromiseWhenConnectionResolvesAndPingOnConnectionIsPending (line 931) | public function testPingWillCreateNewConnectionAndReturnPendingPromise... method testPingWillReturnResolvedPromiseWhenPingOnConnectionResolves (line 951) | public function testPingWillReturnResolvedPromiseWhenPingOnConnectionR... method testPingWillReturnRejectedPromiseWhenCreateConnectionRejects (line 971) | public function testPingWillReturnRejectedPromiseWhenCreateConnectionR... method testPingWillReturnRejectedPromiseWhenPingOnConnectionRejectsAfterCreateConnectionResolves (line 988) | public function testPingWillReturnRejectedPromiseWhenPingOnConnectionR... method testPingTwiceWillCreateSingleConnectionAndReturnPendingPromiseWhenCreateConnectionIsPending (line 1008) | public function testPingTwiceWillCreateSingleConnectionAndReturnPendin... method testPingTwiceWillCallPingOnConnectionOnlyOnceWhenPingIsStillPending (line 1028) | public function testPingTwiceWillCallPingOnConnectionOnlyOnceWhenPingI... method testPingTwiceWillReuseConnectionForSecondPingWhenFirstPingIsAlreadyResolved (line 1051) | public function testPingTwiceWillReuseConnectionForSecondPingWhenFirst... method testPingTwiceWillCallSecondPingOnConnectionAfterFirstPingResolvesWhenBothQueriesAreGivenBeforeCreateConnectionResolves (line 1077) | public function testPingTwiceWillCallSecondPingOnConnectionAfterFirstP... method testPingTwiceWillCreateNewConnectionForSecondPingWhenFirstConnectionIsClosedAfterFirstPingIsResolved (line 1106) | public function testPingTwiceWillCreateNewConnectionForSecondPingWhenF... method testPingTwiceWillCloseFirstConnectionAndCreateNewConnectionForSecondPingWhenFirstConnectionIsInClosingStateDueToIdleTimerAfterFirstPingIsResolved (line 1135) | public function testPingTwiceWillCloseFirstConnectionAndCreateNewConne... method testPingTwiceWillRejectFirstPingWhenCreateConnectionRejectsAndWillCreateNewConnectionForSecondPing (line 1167) | public function testPingTwiceWillRejectFirstPingWhenCreateConnectionRe... method testPingTwiceWillRejectBothQueriesWhenBothQueriesAreGivenBeforeCreateConnectionRejects (line 1191) | public function testPingTwiceWillRejectBothQueriesWhenBothQueriesAreGi... method testPingTriceWillRejectFirstTwoQueriesAndKeepThirdPendingWhenTwoQueriesAreGivenBeforeCreateConnectionRejects (line 1213) | public function testPingTriceWillRejectFirstTwoQueriesAndKeepThirdPend... method testPingTwiceWillCallSecondPingOnConnectionAfterFirstPingRejectsWhenBothQueriesAreGivenBeforeCreateConnectionResolves (line 1243) | public function testPingTwiceWillCallSecondPingOnConnectionAfterFirstP... method testQueryWillResolveWhenQueryFromUnderlyingConnectionResolves (line 1273) | public function testQueryWillResolveWhenQueryFromUnderlyingConnectionR... method testPingAfterQueryWillPassPingToConnectionWhenQueryResolves (line 1295) | public function testPingAfterQueryWillPassPingToConnectionWhenQueryRes... method testQueryWillRejectWhenQueryFromUnderlyingConnectionRejects (line 1323) | public function testQueryWillRejectWhenQueryFromUnderlyingConnectionRe... method testQueryWillRejectWhenUnderlyingConnectionRejects (line 1345) | public function testQueryWillRejectWhenUnderlyingConnectionRejects() method testQueryStreamReturnsReadableStreamWhenConnectionIsPending (line 1365) | public function testQueryStreamReturnsReadableStreamWhenConnectionIsPe... method testQueryStreamWillReturnStreamFromUnderlyingConnectionWhenResolved (line 1384) | public function testQueryStreamWillReturnStreamFromUnderlyingConnectio... method testQueryStreamWillReturnStreamFromUnderlyingConnectionWhenResolvedAndClosed (line 1409) | public function testQueryStreamWillReturnStreamFromUnderlyingConnectio... method testQueryStreamWillCloseStreamWithErrorWhenUnderlyingConnectionRejects (line 1437) | public function testQueryStreamWillCloseStreamWithErrorWhenUnderlyingC... method testPingReturnsPendingPromiseWhenConnectionIsPending (line 1460) | public function testPingReturnsPendingPromiseWhenConnectionIsPending() method testPingWillPingUnderlyingConnectionWhenResolved (line 1479) | public function testPingWillPingUnderlyingConnectionWhenResolved() method testPingTwiceWillBothRejectWithSameErrorWhenUnderlyingConnectionRejects (line 1497) | public function testPingTwiceWillBothRejectWithSameErrorWhenUnderlying... method testPingWillTryToCreateNewUnderlyingConnectionAfterPreviousPingFailedToCreateUnderlyingConnection (line 1518) | public function testPingWillTryToCreateNewUnderlyingConnectionAfterPre... method testPingWillResolveWhenPingFromUnderlyingConnectionResolves (line 1536) | public function testPingWillResolveWhenPingFromUnderlyingConnectionRes... method testPingWillRejectWhenPingFromUnderlyingConnectionRejects (line 1556) | public function testPingWillRejectWhenPingFromUnderlyingConnectionReje... method testPingWillRejectWhenPingFromUnderlyingConnectionEmitsCloseEventAndRejects (line 1578) | public function testPingWillRejectWhenPingFromUnderlyingConnectionEmit... method testQuitResolvesAndEmitsCloseImmediatelyWhenConnectionIsNotAlreadyPending (line 1604) | public function testQuitResolvesAndEmitsCloseImmediatelyWhenConnection... method testQuitAfterPingReturnsPendingPromiseWhenConnectionIsPending (line 1625) | public function testQuitAfterPingReturnsPendingPromiseWhenConnectionIs... method testQuitAfterPingRejectsAndThenEmitsCloseWhenFactoryFailsToCreateUnderlyingConnection (line 1645) | public function testQuitAfterPingRejectsAndThenEmitsCloseWhenFactoryFa... method testQuitAfterPingWillQuitUnderlyingConnectionWhenResolved (line 1671) | public function testQuitAfterPingWillQuitUnderlyingConnectionWhenResol... method testQuitAfterPingResolvesAndThenEmitsCloseWhenUnderlyingConnectionQuits (line 1691) | public function testQuitAfterPingResolvesAndThenEmitsCloseWhenUnderlyi... method testQuitAfterPingRejectsAndThenEmitsCloseWhenUnderlyingConnectionFailsToQuit (line 1721) | public function testQuitAfterPingRejectsAndThenEmitsCloseWhenUnderlyin... method testPingAfterQuitWillNotPassPingCommandToConnection (line 1751) | public function testPingAfterQuitWillNotPassPingCommandToConnection() method testCloseEmitsCloseImmediatelyWhenConnectionIsNotAlreadyPending (line 1779) | public function testCloseEmitsCloseImmediatelyWhenConnectionIsNotAlrea... method testCloseAfterPingCancelsPendingConnection (line 1797) | public function testCloseAfterPingCancelsPendingConnection() method testCloseTwiceAfterPingWillCloseUnderlyingConnectionWhenResolved (line 1814) | public function testCloseTwiceAfterPingWillCloseUnderlyingConnectionWh... method testCloseAfterPingDoesNotEmitConnectionErrorFromAbortedConnection (line 1835) | public function testCloseAfterPingDoesNotEmitConnectionErrorFromAborte... method testCloseAfterPingWillCloseUnderlyingConnection (line 1861) | public function testCloseAfterPingWillCloseUnderlyingConnection() method testCloseAfterPingHasResolvedWillCloseUnderlyingConnectionWithoutTryingToCancelConnection (line 1882) | public function testCloseAfterPingHasResolvedWillCloseUnderlyingConnec... method testCloseAfterQuitAfterPingWillCloseUnderlyingConnectionWhenQuitIsStillPending (line 1903) | public function testCloseAfterQuitAfterPingWillCloseUnderlyingConnecti... method testCloseAfterConnectionIsInClosingStateDueToIdleTimerWillCloseUnderlyingConnection (line 1925) | public function testCloseAfterConnectionIsInClosingStateDueToIdleTimer... method testCloseTwiceAfterPingEmitsCloseEventOnceWhenConnectionIsPending (line 1951) | public function testCloseTwiceAfterPingEmitsCloseEventOnceWhenConnecti... method testQueryReturnsRejectedPromiseAfterConnectionIsClosed (line 1972) | public function testQueryReturnsRejectedPromiseAfterConnectionIsClosed() method testQueryThrowsForInvalidQueryParamsWithoutCreatingNewConnection (line 1991) | public function testQueryThrowsForInvalidQueryParamsWithoutCreatingNew... method testQueryThrowsForInvalidQueryParamsWhenConnectionIsAlreadyClosed (line 2007) | public function testQueryThrowsForInvalidQueryParamsWhenConnectionIsAl... method testQueryStreamThrowsAfterConnectionIsClosed (line 2025) | public function testQueryStreamThrowsAfterConnectionIsClosed() method testQueryStreamThrowsForInvalidQueryParamsWithoutCreatingNewConnection (line 2043) | public function testQueryStreamThrowsForInvalidQueryParamsWithoutCreat... method testQueryStreamThrowsForInvalidQueryParamsWhenConnectionIsAlreadyClosed (line 2059) | public function testQueryStreamThrowsForInvalidQueryParamsWhenConnecti... method testPingReturnsRejectedPromiseAfterConnectionIsClosed (line 2077) | public function testPingReturnsRejectedPromiseAfterConnectionIsClosed() method testQuitReturnsRejectedPromiseAfterConnectionIsClosed (line 2096) | public function testQuitReturnsRejectedPromiseAfterConnectionIsClosed() FILE: tests/NoResultQueryTest.php class NoResultQueryTest (line 10) | class NoResultQueryTest extends BaseTestCase method setUpDataTable (line 15) | public function setUpDataTable() method testUpdateSimpleNonExistentReportsNoAffectedRows (line 27) | public function testUpdateSimpleNonExistentReportsNoAffectedRows() method testInsertSimpleReportsFirstInsertId (line 39) | public function testInsertSimpleReportsFirstInsertId() method testUpdateSimpleReportsAffectedRow (line 52) | public function testUpdateSimpleReportsAffectedRow() method testCreateTableAgainWillAddWarning (line 65) | public function testCreateTableAgainWillAddWarning() method testPingMultipleWillBeExecutedInSameOrderTheyAreEnqueuedFromHandlers (line 88) | public function testPingMultipleWillBeExecutedInSameOrderTheyAreEnqueu... method testQuitWithAnyAuthWillQuitWithoutRunning (line 110) | public function testQuitWithAnyAuthWillQuitWithoutRunning() method testPingWithValidAuthWillRunUntilQuitAfterPing (line 122) | public function testPingWithValidAuthWillRunUntilQuitAfterPing() method testPingAndQuitWillFulfillPingBeforeQuitBeforeCloseEvent (line 138) | public function testPingAndQuitWillFulfillPingBeforeQuitBeforeCloseEve... method testPingWithValidAuthWillRunUntilIdleTimerAfterPingEvenWithoutQuit (line 160) | public function testPingWithValidAuthWillRunUntilIdleTimerAfterPingEve... method testPingWithInvalidAuthWillRejectPingButWillNotEmitErrorOrClose (line 172) | public function testPingWithInvalidAuthWillRejectPingButWillNotEmitErr... method testPingWithValidAuthWillPingBeforeQuitButNotAfter (line 185) | public function testPingWithValidAuthWillPingBeforeQuitButNotAfter() FILE: tests/ResultQueryTest.php class ResultQueryTest (line 11) | class ResultQueryTest extends BaseTestCase method testSelectStaticText (line 13) | public function testSelectStaticText() method provideValuesThatWillBeReturnedAsIs (line 27) | public function provideValuesThatWillBeReturnedAsIs() method testSelectStaticValueWillBeReturnedAsIs (line 49) | public function testSelectStaticValueWillBeReturnedAsIs($value) method testSelectStaticValueWillBeReturnedAsIsWithNoBackslashEscapesSqlMode (line 68) | public function testSelectStaticValueWillBeReturnedAsIsWithNoBackslash... method provideValuesThatWillBeConvertedToString (line 90) | public function provideValuesThatWillBeConvertedToString() method testSelectStaticValueWillBeConvertedToString (line 103) | public function testSelectStaticValueWillBeConvertedToString($value, $... method testSelectStaticTextWithQuestionMark (line 117) | public function testSelectStaticTextWithQuestionMark() method testSelectLongStaticTextHasTypeStringWithValidLength (line 131) | public function testSelectLongStaticTextHasTypeStringWithValidLength() method testSelectStaticTextWithEmptyLabel (line 148) | public function testSelectStaticTextWithEmptyLabel() method testSelectStaticNullHasTypeNull (line 166) | public function testSelectStaticNullHasTypeNull() method testSelectStaticTextTwoRows (line 183) | public function testSelectStaticTextTwoRows() method testSelectStaticTextTwoRowsWithNullHasTypeString (line 199) | public function testSelectStaticTextTwoRowsWithNullHasTypeString() method testSelectStaticIntegerTwoRowsWithNullHasTypeLongButReturnsIntAsString (line 218) | public function testSelectStaticIntegerTwoRowsWithNullHasTypeLongButRe... method testSelectStaticTextTwoRowsWithIntegerHasTypeString (line 237) | public function testSelectStaticTextTwoRowsWithIntegerHasTypeString() method testSelectStaticTextTwoRowsWithEmptyRow (line 256) | public function testSelectStaticTextTwoRowsWithEmptyRow() method testSelectStaticTextNoRows (line 272) | public function testSelectStaticTextNoRows() method testSelectStaticTextTwoColumns (line 287) | public function testSelectStaticTextTwoColumns() method testSelectStaticTextTwoColumnsWithOneEmptyColumn (line 303) | public function testSelectStaticTextTwoColumnsWithOneEmptyColumn() method testSelectStaticTextTwoColumnsWithBothEmpty (line 319) | public function testSelectStaticTextTwoColumnsWithBothEmpty() method testSelectStaticTextTwoColumnsWithSameNameOverwritesValue (line 337) | public function testSelectStaticTextTwoColumnsWithSameNameOverwritesVa... method testSelectCharsetDefaultsToUtf8 (line 356) | public function testSelectCharsetDefaultsToUtf8() method testSelectWithExplicitCharsetReturnsCharset (line 370) | public function testSelectWithExplicitCharsetReturnsCharset() method testSimpleSelect (line 385) | public function testSimpleSelect() method testSimpleSelectFromMysqlClientWithoutDatabaseNameReturnsSameData (line 406) | public function testSimpleSelectFromMysqlClientWithoutDatabaseNameRetu... method testInvalidSelectShouldFail (line 419) | public function testInvalidSelectShouldFail() method testInvalidMultiStatementsShouldFailToPreventSqlInjections (line 437) | public function testInvalidMultiStatementsShouldFailToPreventSqlInject... method testSelectAfterDelay (line 458) | public function testSelectAfterDelay() method testQueryStreamStaticEmptyEmitsSingleRow (line 480) | public function testQueryStreamStaticEmptyEmitsSingleRow() method testQueryStreamBoundVariableEmitsSingleRow (line 493) | public function testQueryStreamBoundVariableEmitsSingleRow() method testQueryStreamZeroRowsEmitsEndWithoutData (line 506) | public function testQueryStreamZeroRowsEmitsEndWithoutData() method testQueryStreamInvalidStatementEmitsError (line 519) | public function testQueryStreamInvalidStatementEmitsError() method testQueryStreamDropStatementEmitsEndWithoutData (line 533) | public function testQueryStreamDropStatementEmitsEndWithoutData() method testQueryStreamExplicitCloseEmitsCloseEventWithoutData (line 546) | public function testQueryStreamExplicitCloseEmitsCloseEventWithoutData() method testQueryStreamFromMysqlClientEmitsSingleRow (line 560) | public function testQueryStreamFromMysqlClientEmitsSingleRow() method testQueryStreamFromMysqlClientWillErrorWhenConnectionIsClosed (line 575) | public function testQueryStreamFromMysqlClientWillErrorWhenConnectionI...