Home
last modified time | relevance | path

Searched refs:out_stream_ (Results 1 – 2 of 2) sorted by relevance

/external/protobuf/src/google/protobuf/util/internal/
Djson_objectwriter_test.cc49 out_stream_(new CodedOutputStream(str_stream_)), in JsonObjectWriterTest()
54 delete out_stream_; in ~JsonObjectWriterTest()
60 CodedOutputStream* const out_stream_; member in google::protobuf::util::converter::JsonObjectWriterTest
65 ow_ = new JsonObjectWriter("", out_stream_); in TEST_F()
67 EXPECT_EQ("{}", output_.substr(0, out_stream_->ByteCount())); in TEST_F()
71 ow_ = new JsonObjectWriter("", out_stream_); in TEST_F()
78 output_.substr(0, out_stream_->ByteCount())); in TEST_F()
82 ow_ = new JsonObjectWriter("", out_stream_); in TEST_F()
84 EXPECT_EQ("[]", output_.substr(0, out_stream_->ByteCount())); in TEST_F()
88 ow_ = new JsonObjectWriter("", out_stream_); in TEST_F()
[all …]
/external/libbrillo/brillo/streams/
Dstream_utils_unittest.cc159 out_stream_.reset(new StrictMock<MockStream>{}); in SetUp()
164 std::unique_ptr<StrictMock<MockStream>> out_stream_; member in brillo::CopyStreamDataTest
200 EXPECT_CALL(*out_stream_, WriteAllAsync(_, 100, _, _, _)) in TEST_F()
204 std::move(in_stream_), std::move(out_stream_), 100, 4096, in TEST_F()
216 EXPECT_CALL(*out_stream_, WriteAllAsync(_, 60, _, _, _)) in TEST_F()
220 EXPECT_CALL(*out_stream_, WriteAllAsync(_, 40, _, _, _)) in TEST_F()
224 std::move(in_stream_), std::move(out_stream_), 100, 4096, in TEST_F()
236 EXPECT_CALL(*out_stream_, WriteAllAsync(_, 60, _, _, _)) in TEST_F()
242 std::move(in_stream_), std::move(out_stream_), 100, 4096, in TEST_F()
254 EXPECT_CALL(*out_stream_, WriteAllAsync(_, 60, _, _, _)) in TEST_F()
[all …]