Lines Matching full:it
29 it "should define the proper VERSION_1, VERSION_MASK AND TYPE_MASK" do
35 it "should make strict_read readable" do
39 it "should make strict_write readable" do
43 it "should write the message header" do
48 it "should write the message header without version when writes are not strict" do
54 it "should write the message header with a version when writes are strict" do
63 it "should write the field header" do
70 it "should write the STOP field" do
75 it "should write the map header" do
82 it "should write the list header" do
89 it "should write the set header" do
94 it "should write a bool" do
100 it "should treat a nil bool as false" do
105 it "should write a byte" do
113 it "should clip numbers out of signed range" do
120 it "errors out with a Bignum" do
124 it "should error gracefully when trying to write a nil byte" do
128 it "should write an i16" do
134 # and try something out of signed range, it should clip
143 it "should error gracefully when trying to write a nil i16" do
147 it "should write an i32" do
153 # try something out of signed range, it should clip
160 it "should error gracefully when trying to write a nil i32" do
164 it "should write an i64" do
170 # try something out of signed range, it should clip
183 it "should error gracefully when trying to write a nil i64" do
187 it "should write a double" do
196 it "should error gracefully when trying to write a nil double" do
201 it 'should write a string' do
209 it 'should write a string with unicode characters' do
218 it 'should write should write a string with unicode characters and transcoding' do
226 it 'should write a binary string' do
234 it 'should write a string' do
241 it 'should write a binary string' do
249 it "should error gracefully when trying to write a nil string" do
253 it "should write the message header without version when writes are not strict" do
259 it "should write the message header with a version when writes are strict" do
267 it "should read a field header" do
274 it "should read a stop field" do
279 it "should read a map header" do
286 it "should read a list header" do
293 it "should read a set header" do
300 it "should read a bool" do
306 it "should read a byte" do
313 it "should read an i16" do
321 it "should read an i32" do
329 it "should read an i64" do
337 it "should read a double" do
346 it 'should read a string' do
355 it 'should read a string containing unicode characters from UTF-8 encoded buffer' do
364 it 'should read a binary string' do
372 it 'should read a string' do
379 it 'should read a binary string' do
387 it "should perform a complete rpc with no args or return" do
394 it "should perform a complete rpc with a primitive return type" do
401 it "should perform a complete rpc with a struct return type" do