Lines Matching refs:result

88   auto result = ExecuteBinary({"idmap2",  in TEST_F()  local
94 ASSERT_THAT(result, NotNull()); in TEST_F()
95 ASSERT_EQ(result->status, EXIT_SUCCESS) << result->stderr; in TEST_F()
114 auto result = ExecuteBinary({"idmap2", in TEST_F() local
120 ASSERT_THAT(result, NotNull()); in TEST_F()
121 ASSERT_EQ(result->status, EXIT_SUCCESS) << result->stderr; in TEST_F()
124 result = ExecuteBinary({"idmap2", in TEST_F()
128 ASSERT_THAT(result, NotNull()); in TEST_F()
129 ASSERT_EQ(result->status, EXIT_SUCCESS) << result->stderr; in TEST_F()
130 ASSERT_NE(result->stdout.find("0x7f010000 -> 0x7f010000 integer/int1"), std::string::npos); in TEST_F()
131 ASSERT_NE(result->stdout.find("0x7f02000c -> 0x7f020000 string/str1"), std::string::npos); in TEST_F()
132 ASSERT_NE(result->stdout.find("0x7f02000e -> 0x7f020001 string/str3"), std::string::npos); in TEST_F()
133 ASSERT_NE(result->stdout.find("0x7f02000f -> 0x7f020002 string/str4"), std::string::npos); in TEST_F()
136 result = ExecuteBinary({"idmap2", in TEST_F()
141 ASSERT_THAT(result, NotNull()); in TEST_F()
142 ASSERT_EQ(result->status, EXIT_SUCCESS) << result->stderr; in TEST_F()
143 ASSERT_NE(result->stdout.find("00000000: 504d4449 magic"), std::string::npos); in TEST_F()
144 ASSERT_NE(result->stdout.find("00000210: 007f target package id"), std::string::npos); in TEST_F()
147 result = ExecuteBinary({"idmap2", in TEST_F()
152 ASSERT_THAT(result, NotNull()); in TEST_F()
153 ASSERT_NE(result->status, EXIT_SUCCESS); in TEST_F()
174 auto result = ExecuteBinary({"idmap2", in TEST_F() local
183 ASSERT_THAT(result, NotNull()); in TEST_F()
184 ASSERT_EQ(result->status, EXIT_SUCCESS) << result->stderr; in TEST_F()
189 ASSERT_EQ(result->stdout, expected.str()); in TEST_F()
215 result = ExecuteBinary({"idmap2", in TEST_F()
224 ASSERT_THAT(result, NotNull()); in TEST_F()
225 ASSERT_EQ(result->status, EXIT_SUCCESS) << result->stderr; in TEST_F()
226 ASSERT_EQ(result->stdout, expected.str()); in TEST_F()
233 result = ExecuteBinary({"idmap2", in TEST_F()
243 ASSERT_THAT(result, NotNull()); in TEST_F()
244 ASSERT_EQ(result->status, EXIT_SUCCESS) << result->stderr; in TEST_F()
245 ASSERT_EQ(result->stdout, expected.str()); in TEST_F()
252 result = ExecuteBinary({"idmap2", in TEST_F()
260 ASSERT_THAT(result, NotNull()); in TEST_F()
261 ASSERT_EQ(result->status, EXIT_SUCCESS) << result->stderr; in TEST_F()
262 ASSERT_EQ(result->stdout, ""); in TEST_F()
266 result = ExecuteBinary({"idmap2", in TEST_F()
275 ASSERT_THAT(result, NotNull()); in TEST_F()
276 ASSERT_EQ(result->status, EXIT_SUCCESS) << result->stderr; in TEST_F()
277 ASSERT_EQ(result->stdout, expected.str()); in TEST_F()
287 auto result = ExecuteBinary({"idmap2", in TEST_F() local
293 ASSERT_THAT(result, NotNull()); in TEST_F()
294 ASSERT_EQ(result->status, EXIT_SUCCESS) << result->stderr; in TEST_F()
297 result = ExecuteBinary({"idmap2", in TEST_F()
303 ASSERT_THAT(result, NotNull()); in TEST_F()
304 ASSERT_EQ(result->status, EXIT_SUCCESS) << result->stderr; in TEST_F()
305 ASSERT_NE(result->stdout.find("overlay-1"), std::string::npos); in TEST_F()
306 ASSERT_EQ(result->stdout.find("overlay-1-sv"), std::string::npos); in TEST_F()
309 result = ExecuteBinary({"idmap2", in TEST_F()
315 ASSERT_THAT(result, NotNull()); in TEST_F()
316 ASSERT_EQ(result->status, EXIT_SUCCESS) << result->stderr; in TEST_F()
317 ASSERT_NE(result->stdout.find("overlay-1"), std::string::npos); in TEST_F()
318 ASSERT_EQ(result->stdout.find("overlay-1-sv"), std::string::npos); in TEST_F()
321 result = ExecuteBinary({"idmap2", in TEST_F()
327 ASSERT_THAT(result, NotNull()); in TEST_F()
328 ASSERT_EQ(result->status, EXIT_SUCCESS) << result->stderr; in TEST_F()
329 ASSERT_NE(result->stdout.find("overlay-1-sv"), std::string::npos); in TEST_F()
341 auto result = ExecuteBinary({"idmap2", in TEST_F() local
344 ASSERT_THAT(result, NotNull()); in TEST_F()
345 ASSERT_NE(result->status, EXIT_SUCCESS); in TEST_F()
349 result = ExecuteBinary({"idmap2", in TEST_F()
355 ASSERT_THAT(result, NotNull()); in TEST_F()
356 ASSERT_NE(result->status, EXIT_SUCCESS); in TEST_F()
360 result = ExecuteBinary({"idmap2", in TEST_F()
366 ASSERT_THAT(result, NotNull()); in TEST_F()
367 ASSERT_NE(result->status, EXIT_SUCCESS); in TEST_F()
371 result = ExecuteBinary({"idmap2", in TEST_F()
378 ASSERT_THAT(result, NotNull()); in TEST_F()
379 ASSERT_NE(result->status, EXIT_SUCCESS); in TEST_F()