MCPcopy
hub / github.com/dropbox/godropbox / TestSendRequest

Method TestSendRequest

memcache/raw_binary_client_test.go:142–153  ·  view source on GitHub ↗
(c *C)

Source from the content-addressed store, hash-verified

140}
141
142func (s *RawBinaryClientSuite) TestSendRequest(c *C) {
143 err := s.client.sendRequest(
144 opAdd,
145 testCas, // CAS
146 []byte(testKey), // key
147 testValue, // value
148 testFlags, // flags
149 testExpiry) // expiry
150
151 c.Assert(err, IsNil)
152 s.verifyRequestMessage(c, opAdd)
153}
154
155func (s *RawBinaryClientSuite) TestSendRequestKeyTooLong(c *C) {
156 var key [256]byte

Callers

nothing calls this directly

Calls 2

verifyRequestMessageMethod · 0.95
sendRequestMethod · 0.80

Tested by

no test coverage detected