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

Method SetUpTest

memcache/sharded_client_test.go:45–48  ·  view source on GitHub ↗
(c *C)

Source from the content-addressed store, hash-verified

43var _ = Suite(&ShardedClientSuite{})
44
45func (s *ShardedClientSuite) SetUpTest(c *C) {
46 s.sm = &MockShardManager{C: c}
47 s.mc = NewShardedClient(s.sm, NewRawBinaryClient)
48}
49
50func (s *ShardedClientSuite) TestSetSentinels(c *C) {
51 keys := []string{"key"}

Callers

nothing calls this directly

Calls 1

NewShardedClientFunction · 0.85

Tested by

no test coverage detected