Test cleanup.

This commit is contained in:
Teddy Grenman
2011-05-03 00:37:09 +03:00
parent de487fffa8
commit e60e02eaf9
13 changed files with 18 additions and 14 deletions

3
.gitignore vendored
View File

@@ -53,16 +53,19 @@ tests/*.out
tests/*.diff
tests/*.php
tests/*.exp
tests/*.sh
tests/*/*.log
tests/*/*.mem
tests/*/*.out
tests/*/*.diff
tests/*/*.php
tests/*/*.exp
tests/*/*.sh
tests/*/*/*.log
tests/*/*/*.mem
tests/*/*/*.out
tests/*/*/*.diff
tests/*/*/*.php
tests/*/*/*.exp
tests/*/*/*.sh
tmp-php.ini

View File

@@ -25,6 +25,6 @@ var_dump($m->get('foo'));
NULL
%s: cannot append/prepend with compression turned on
bool(false)
NULL
bool(false)
bool(true)
string(2) "ab"

View File

@@ -59,7 +59,7 @@ Exception in callback
Miss
string(3) "foo"
NULL
NULL
bool(false)
Miss
string(3) "foo"
NULL

View File

@@ -29,7 +29,7 @@ bool(true)
SUCCESS
bool(false)
NOT FOUND
NULL
bool(false)
bool(false)
A BAD KEY WAS PROVIDED/CHARACTERS OUT OF RANGE
bool(false)

View File

@@ -23,11 +23,11 @@ $m->delete('foo');
var_dump($m->get(' ä foo jkh a s åäö'));
echo $m->getResultMessage(), "\n";
--EXPECT--
NULL
bool(false)
NOT FOUND
NULL
bool(false)
A BAD KEY WAS PROVIDED/CHARACTERS OUT OF RANGE
string(4) "asdf"
SUCCESS
NULL
bool(false)
NOT FOUND

View File

@@ -30,5 +30,5 @@ int(1)
SUCCESS
string(4) "asdf"
SUCCESS
NULL
bool(false)
NOT FOUND

View File

@@ -58,10 +58,10 @@ SUCCESS
string(4) "asdf"
float(%d)
SUCCESS
NULL
bool(false)
NULL
NOT FOUND
NULL
bool(false)
NULL
A BAD KEY WAS PROVIDED/CHARACTERS OUT OF RANGE
called

View File

@@ -38,7 +38,7 @@ var_dump($m->get('foo'));
Not there
bool(false)
bool(false)
NULL
bool(false)
Normal
int(1)
int(2)

View File

@@ -26,3 +26,4 @@ memcached.serializer => %s => %s
memcached.sess_lock_wait => %d => %d
memcached.sess_locking => %d => %d
memcached.sess_prefix => %s => %s
memcached.use_sasl => %s => %s

View File

@@ -25,6 +25,6 @@ var_dump($m->get('foo'));
NULL
%s: cannot append/prepend with compression turned on
bool(false)
NULL
bool(false)
bool(true)
string(2) "ba"

View File

@@ -20,6 +20,6 @@ var_dump($m->get('foo'));
--EXPECTF--
bool(false)
NULL
bool(false)
bool(true)
string(3) "bar"

View File

@@ -22,6 +22,6 @@ var_dump($m->getByKey('kef', 'foo'));
bool(false)
%rNOT STORED|NOT FOUND%r
NULL
bool(false)
bool(true)
string(3) "bar"

View File

@@ -28,6 +28,6 @@ SUCCESS
array(0) {
}
SOME ERRORS WERE REPORTED
int(1)
int(2)
bool(true)
int(%d)