Lines Matching refs:result
89 auto result = ExecuteBinary({"idmap2", in TEST_F() local
95 ASSERT_THAT(result, NotNull()); in TEST_F()
96 ASSERT_EQ(result->status, EXIT_SUCCESS) << result->stderr; in TEST_F()
115 auto result = ExecuteBinary({"idmap2", in TEST_F() local
121 ASSERT_THAT(result, NotNull()); in TEST_F()
122 ASSERT_EQ(result->status, EXIT_SUCCESS) << result->stderr; in TEST_F()
125 result = ExecuteBinary({"idmap2", in TEST_F()
129 ASSERT_THAT(result, NotNull()); in TEST_F()
130 ASSERT_EQ(result->status, EXIT_SUCCESS) << result->stderr; in TEST_F()
131 ASSERT_NE(result->stdout.find(R::target::integer::literal::int1 + " -> 0x7f010000 integer/int1"), in TEST_F()
133 ASSERT_NE(result->stdout.find(R::target::string::literal::str1 + " -> 0x7f020000 string/str1"), in TEST_F()
135 ASSERT_NE(result->stdout.find(R::target::string::literal::str3 + " -> 0x7f020001 string/str3"), in TEST_F()
137 ASSERT_NE(result->stdout.find(R::target::string::literal::str4 + " -> 0x7f020002 string/str4"), in TEST_F()
141 result = ExecuteBinary({"idmap2", in TEST_F()
146 ASSERT_THAT(result, NotNull()); in TEST_F()
147 ASSERT_EQ(result->status, EXIT_SUCCESS) << result->stderr; in TEST_F()
148 ASSERT_NE(result->stdout.find("00000000: 504d4449 magic"), std::string::npos); in TEST_F()
151 result = ExecuteBinary({"idmap2", in TEST_F()
156 ASSERT_THAT(result, NotNull()); in TEST_F()
157 ASSERT_NE(result->status, EXIT_SUCCESS); in TEST_F()
178 auto result = ExecuteBinary({"idmap2", in TEST_F() local
187 ASSERT_THAT(result, NotNull()); in TEST_F()
188 ASSERT_EQ(result->status, EXIT_SUCCESS) << result->stderr; in TEST_F()
193 ASSERT_EQ(result->stdout, expected.str()); in TEST_F()
219 result = ExecuteBinary({"idmap2", in TEST_F()
228 ASSERT_THAT(result, NotNull()); in TEST_F()
229 ASSERT_EQ(result->status, EXIT_SUCCESS) << result->stderr; in TEST_F()
230 ASSERT_EQ(result->stdout, expected.str()); in TEST_F()
237 result = ExecuteBinary({"idmap2", in TEST_F()
247 ASSERT_THAT(result, NotNull()); in TEST_F()
248 ASSERT_EQ(result->status, EXIT_SUCCESS) << result->stderr; in TEST_F()
249 ASSERT_EQ(result->stdout, expected.str()); in TEST_F()
256 result = ExecuteBinary({"idmap2", in TEST_F()
264 ASSERT_THAT(result, NotNull()); in TEST_F()
265 ASSERT_EQ(result->status, EXIT_SUCCESS) << result->stderr; in TEST_F()
266 ASSERT_EQ(result->stdout, ""); in TEST_F()
270 result = ExecuteBinary({"idmap2", in TEST_F()
279 ASSERT_THAT(result, NotNull()); in TEST_F()
280 ASSERT_EQ(result->status, EXIT_SUCCESS) << result->stderr; in TEST_F()
281 ASSERT_EQ(result->stdout, expected.str()); in TEST_F()
291 auto result = ExecuteBinary({"idmap2", in TEST_F() local
297 ASSERT_THAT(result, NotNull()); in TEST_F()
298 ASSERT_EQ(result->status, EXIT_SUCCESS) << result->stderr; in TEST_F()
301 result = ExecuteBinary({"idmap2", in TEST_F()
307 ASSERT_THAT(result, NotNull()); in TEST_F()
308 ASSERT_EQ(result->status, EXIT_SUCCESS) << result->stderr; in TEST_F()
309 ASSERT_NE(result->stdout.find("overlay-1"), std::string::npos); in TEST_F()
310 ASSERT_EQ(result->stdout.find("overlay-1-sv"), std::string::npos); in TEST_F()
313 result = ExecuteBinary({"idmap2", in TEST_F()
319 ASSERT_THAT(result, NotNull()); in TEST_F()
320 ASSERT_EQ(result->status, EXIT_SUCCESS) << result->stderr; in TEST_F()
321 ASSERT_NE(result->stdout.find("overlay-1"), std::string::npos); in TEST_F()
322 ASSERT_EQ(result->stdout.find("overlay-1-sv"), std::string::npos); in TEST_F()
325 result = ExecuteBinary({"idmap2", in TEST_F()
331 ASSERT_THAT(result, NotNull()); in TEST_F()
332 ASSERT_EQ(result->status, EXIT_SUCCESS) << result->stderr; in TEST_F()
333 ASSERT_NE(result->stdout.find("overlay-1-sv"), std::string::npos); in TEST_F()
345 auto result = ExecuteBinary({"idmap2", in TEST_F() local
348 ASSERT_THAT(result, NotNull()); in TEST_F()
349 ASSERT_NE(result->status, EXIT_SUCCESS); in TEST_F()
353 result = ExecuteBinary({"idmap2", in TEST_F()
359 ASSERT_THAT(result, NotNull()); in TEST_F()
360 ASSERT_NE(result->status, EXIT_SUCCESS); in TEST_F()
364 result = ExecuteBinary({"idmap2", in TEST_F()
370 ASSERT_THAT(result, NotNull()); in TEST_F()
371 ASSERT_NE(result->status, EXIT_SUCCESS); in TEST_F()
375 result = ExecuteBinary({"idmap2", in TEST_F()
382 ASSERT_THAT(result, NotNull()); in TEST_F()
383 ASSERT_NE(result->status, EXIT_SUCCESS); in TEST_F()