]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
TestEncoding: add templated encode-then-decode fn
authorColin Patrick McCabe <cmccabe@alumni.cmu.edu>
Wed, 3 Nov 2010 19:14:21 +0000 (12:14 -0700)
committerColin Patrick McCabe <cmccabe@alumni.cmu.edu>
Wed, 3 Nov 2010 19:19:03 +0000 (12:19 -0700)
commitc98b0268fd38f804c4d695f3152ec575aed1fc2c
treed6419fbc1e612abe340fd8063faa61622b71d6b2
parent84e2da8dd4a9f876809db718af1cb2c65e05cfb5
TestEncoding: add templated encode-then-decode fn

TestEncoding: add a templated encode-then-decode fn that can be used to
test encoding followed by decoding of any type. Test encoding and
decoding of a std::multimap.

Signed-off-by: Colin McCabe <colinm@hq.newdream.net>
src/test/TestEncoding.cc