Searched refs:output_stream (Results 1 – 6 of 6) sorted by relevance
84 output_stream = mock.Mock()86 transformer.set_output_stream(output_stream)94 self.assertTrue(output_stream.initialize.called)107 output_stream = mock.Mock()108 source_transformer.transform(output_stream)110 self.assertFalse(output_stream.add_indexed_buffer.called)114 output_stream = mock.Mock()115 source_transformer.set_output_stream(output_stream)125 output_stream.add_indexed_buffer.call_args[ARGS][0].buffer)129 output_stream = mock.Mock()[all …]
216 builder.build(output_stream=given_output_stream)219 assembly_line_generator.call_args[0][0][-1].output_stream,231 assembly_line_generator.call_args[0][0][-1].output_stream,
34 self.output_stream = DevNullBufferStream(None)36 def set_output_stream(self, output_stream): argument38 self.output_stream = output_stream52 self.output_stream.initialize()97 self.output_stream.end_stream()138 self.output_stream.add_indexed_buffer(indexed_buffer)141 self.output_stream.end_stream()184 self.output_stream.add_indexed_buffer(new_buffer)205 self.output_stream.add_indexed_buffer(indexed_buffer)
55 def output_stream(self): member in AssemblyLine.Node56 return self.transformer.output_stream58 @output_stream.setter59 def output_stream(self, value): member in AssemblyLine.Node60 self.transformer.output_stream = value196 def build(self, output_stream=None): argument207 if output_stream is None:208 output_stream = DevNullBufferStream()209 self.nodes[-1].output_stream = output_stream
55 .build(output_stream=self.output_stream)150 .build(output_stream=self.output_stream)
67 .build(output_stream=self.output_stream).run())172 .build(output_stream=self.output_stream).run())