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

Method TestShortBasic

database/binlog/numeric_fields_test.go:45–49  ·  view source on GitHub ↗
(c *C)

Source from the content-addressed store, hash-verified

43}
44
45func (s *NumericFieldsSuite) TestShortBasic(c *C) {
46 t := NewShortFieldDescriptor(false)
47 c.Check(t.IsNullable(), IsFalse)
48 c.Check(t.Type(), Equals, mysql_proto.FieldType_SHORT)
49}
50
51func (s *NumericFieldsSuite) TestShortParseValue(c *C) {
52 t := NewShortFieldDescriptor(true)

Callers

nothing calls this directly

Calls 4

NewShortFieldDescriptorFunction · 0.85
IsNullableMethod · 0.65
TypeMethod · 0.65
CheckMethod · 0.45

Tested by

no test coverage detected