28 [
'rawdeflate,S8vPT0osAgA=',
true ],
29 [
'abcdefghijklmnopqrstuvwxyz',
false ],
38 $this->assertSame( $expected, $actual );
43 [
'rawdeflate,S8vPT0osAgA=',
true,
'foobar' ],
45 [
'rawdeflate,🌻',
false,
'easydeflate-invaliddeflate' ],
47 [
'rawdeflate,S8vPT0dfdAgB=',
false,
'easydeflate-invaliddeflate' ],
57 $this->assertTrue( $actual->isOK() );
58 $this->assertSame(
$value, $actual->getValue() );
60 $this->assertFalse( $actual->isOK() );
61 $this->assertTrue( $actual->hasMessage(
$value ) );
Copyright (C) 2018 Kunal Mehta legoktm@member.fsf.org
testIsDeflated( $data, $expected)
provideIsDeflated
testInflate( $data, $ok, $value)
provideInflate
static inflate( $data)
For content that has been compressed with deflate in the client, try to uncompress it with inflate.
static isDeflated( $data)
Whether the content is deflated.
null means default in associative array with keys and values unescaped Should be merged with default with a value of false meaning to suppress the attribute in associative array with keys and values unescaped noclasses just before the function returns a value If you return true
processing should stop and the error should be shown to the user * false