Strip empty strings

Change-Id: I505febe11ea668df05eefd6a0ce9978dd2f488cf
Reviewed-on: http://review.couchbase.org/20516
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>
Remove mock-unit-tests.h

It's not needed outside the mock-unit-tests.cc and keeping it
there makes it easier to add helper functions

Change-Id: I522b1e79c958ce0fdaaa59c7d1c3c852597e9d4b
Reviewed-on: http://review.couchbase.org/20517
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>
Add a helper function to set a key

Change-Id: I9f695acbab50eebbf6b30ac9e6a3040f3f2c7cb2
Reviewed-on: http://review.couchbase.org/20518
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>
Add a test case for get (success)

Change-Id: Id44f250edc88bb8fa2217f80da6f7bed6b658b6f
Reviewed-on: http://review.couchbase.org/20520
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>
Add testcase for remove

Change-Id: I1a81e271d34d0c20effd1573989150da5934414d
Reviewed-on: http://review.couchbase.org/20521
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>
Revert "Fix breakage on older automakes"

This reverts commit 6a49564de083dc86dcc0198d8a9043a7486feb84.

Change-Id: Iecece9a112183b9b3cd97db0f2319ce456b98abb
Reviewed-on: http://review.couchbase.org/20524
Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Add testcase for Append/Prepend

Change-Id: I1983f8e385318135b7a5fffd770283b41bca5ece
Reviewed-on: http://review.couchbase.org/20522
Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Add replace test

Change-Id: Icf314a43d4b6ed5b0ce63a21d5d6bea8973e2e17
Reviewed-on: http://review.couchbase.org/20523
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Add cas replace test

Change-Id: I541a4a123696f3d6ac626a47145114349e378b2c
Reviewed-on: http://review.couchbase.org/20525
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Fix locking keys in multi-get mode

Change-Id: Ibd15abaab49ac5ad5a31523edbf94bd026f38e5b
Reviewed-on: http://review.couchbase.org/20531
Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Added test for touch

Change-Id: Ice9401b2d7e5a0232d80cfda23661dd268cbd0b6
Reviewed-on: http://review.couchbase.org/20537
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>
Create test for server_stat

Change-Id: Ieb96412c7dd738373db781e4e18ea7bcab7cc8a0
Reviewed-on: http://review.couchbase.org/20539
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>
Add server version test

Change-Id: Ibed55afc5179bdace6a93836236ce4a85e5234fe
Reviewed-on: http://review.couchbase.org/20540
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>
Add flush test

Change-Id: Ied4553c197c0d331a7e636528deb3e8cae9cb174
Reviewed-on: http://review.couchbase.org/20541
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>