Lines Matching full:it
25 it "should make type accessible" do
33 it "should read the specified size" do
41 it "should stub out the rest of the methods" do
48 it "should alias << to write" do
52 it "should provide a reasonable to_s" do
58 it "should stub out its methods" do
66 it "should return the transport it's given" do
71 it "should provide a reasonable to_s" do
77 it "should provide a to_s that describes the encapsulation" do
83 it "should pass through everything but write/flush/read" do
95 it "should buffer reads in chunks of #{Thrift::BufferedTransport::DEFAULT_BUFFER}" do
105 it "should buffer writes and send them on flush" do
116 it "should only send buffered data once" do
129 it "should flush on close" do
137 it "should not write to socket if there's no data" do
146 it "should wrap the given transport in a BufferedTransport" do
153 it "should provide a reasonable to_s" do
163 it "should provide a to_s that describes the encapsulation" do
169 it "should pass through open?/open/close" do
179 it "should pass through read when read is turned off" do
185 it "should pass through write/flush when write is turned off" do
193 it "should return a full frame if asked for >= the frame's length" do
200 it "should return slices of the frame when asked for < the frame's length" do
210 it "should return nothing if asked for <= 0" do
214 it "should pull a new frame when the first is exhausted" do
228 it "should buffer writes" do
236 it "should write slices of the buffer" do
245 it "should flush frames with a 4-byte header" do
256 it "should not flush the same buffered data twice" do
269 it "should wrap the given transport in a FramedTransport" do
275 it "should provide a reasonable to_s" do
285 it "should provide a reasonable to_s" do
289 it "should accept a buffer on input and use it directly" do
297 it "should always remain open" do
303 it "should respond to peek and available" do
315 it "should be able to reset the buffer" do
324 it "should copy the given string when resetting the buffer" do
333 it "should return from read what was given in write" do
342 it "should throw an EOFError when there isn't enough data in the buffer" do
358 it "should provide a reasonable to_s" do
364 it "should be open as long as both input or output are open" do
375 it "should pass through read/write to input/output" do
382 it "should close both input and output when closed" do