Lines Matching full:it
25 it "should return nil value in unset union" do
31 it "should set a field and be accessible through get_value and the named field accessor" do
39 it "should work correctly when instantiated with static field constructors" do
45 it "should raise for wrong set field" do
51 it "should raise for wrong set field when hash initialized and type checking is off" do
57 it "should not be equal to nil" do
62 it "should not be equal with an empty String" do
67 it "should not equate two different unions, i32 vs. string" do
73 it "should properly reset setfield and setvalue" do
82 it "should not equate two different unions with different values" do
88 it "should not equate two different unions with different fields" do
94 it "should inspect properly" do
99 it "should not allow setting with instance_variable_set" do
107 it "should serialize to binary correctly" do
119 it "should serialize to json correctly" do
131 it "should raise when validating unset union" do
139 it "should validate an enum field properly" do
148 it "should properly serialize and match structs with a union" do
166 it "should support old style constructor" do
172 it "should not throw an error when inspected and unset" do
176 it "should print enum value name when inspected" do
182 it "should offer field? methods" do
189 it "should pretty print binary fields" do
193 it "should be comparable" do