|
|
@ -35,7 +35,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
$this->NextOutput = '';
|
|
|
|
$this->NextOutput = '';
|
|
|
|
|
|
|
|
|
|
|
|
$this->ReadInternal( $Buffer, $this->Sherlock );
|
|
|
|
$this->ReadInternal( $Buffer, [ $this, 'Sherlock' ] );
|
|
|
|
|
|
|
|
|
|
|
|
return $Buffer;
|
|
|
|
return $Buffer;
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -97,9 +97,9 @@
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* @expectedException xPaw\SourceQuery\Exception\InvalidPacketException
|
|
|
|
* @expectedException xPaw\SourceQuery\Exception\InvalidPacketException
|
|
|
|
* @dataProvider BadInfoProvider
|
|
|
|
* @dataProvider BadInfoProvider
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
public function testBadGetInfo( $Data )
|
|
|
|
public function testBadGetInfo( $Data )
|
|
|
|
{
|
|
|
|
{
|
|
|
|
$this->Socket->NextOutput = $Data;
|
|
|
|
$this->Socket->NextOutput = $Data;
|
|
|
|