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

Method TestTinyBasic

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

Source from the content-addressed store, hash-verified

16var _ = Suite(&NumericFieldsSuite{})
17
18func (s *NumericFieldsSuite) TestTinyBasic(c *C) {
19 t := NewTinyFieldDescriptor(true)
20 c.Check(t.IsNullable(), IsTrue)
21 c.Check(t.Type(), Equals, mysql_proto.FieldType_TINY)
22}
23
24func (s *NumericFieldsSuite) TestTinyParseValue(c *C) {
25 t := NewTinyFieldDescriptor(true)

Callers

nothing calls this directly

Calls 4

NewTinyFieldDescriptorFunction · 0.85
IsNullableMethod · 0.65
TypeMethod · 0.65
CheckMethod · 0.45

Tested by

no test coverage detected