Searched refs:EXPECT_WRITE (Results 1 – 7 of 7) sorted by relevance
/external/fmtlib/test/ |
D | color-test.cc | 17 EXPECT_WRITE(stdout, fmt::print(fg(fmt::rgb(255, 20, 30)), "rgb(255,20,30)"), in TEST() 19 EXPECT_WRITE(stdout, fmt::print(fg(fmt::color::blue), "blue"), in TEST() 21 EXPECT_WRITE( in TEST() 25 EXPECT_WRITE(stdout, fmt::print(fmt::emphasis::bold, "bold"), in TEST() 27 EXPECT_WRITE(stdout, fmt::print(fmt::emphasis::italic, "italic"), in TEST() 29 EXPECT_WRITE(stdout, fmt::print(fmt::emphasis::underline, "underline"), in TEST() 31 EXPECT_WRITE(stdout, in TEST() 34 EXPECT_WRITE( in TEST() 38 EXPECT_WRITE(stderr, fmt::print(stderr, fmt::emphasis::bold, "bold error"), in TEST() 40 EXPECT_WRITE(stderr, fmt::print(stderr, fg(fmt::color::blue), "blue log"), in TEST() [all …]
|
D | gtest-extra-test.cc | 163 EXPECT_NONFATAL_FAILURE(EXPECT_WRITE(stdout, std::printf("test"), p_++), in TEST_F() 171 EXPECT_WRITE( in TEST_F() 182 EXPECT_NONFATAL_FAILURE(EXPECT_WRITE( in TEST_F() 195 TEST(ExpectTest, EXPECT_WRITE) { in TEST() argument 196 EXPECT_WRITE(stdout, do_nothing(), ""); in TEST() 197 EXPECT_WRITE(stdout, std::printf("test"), "test"); in TEST() 198 EXPECT_WRITE(stderr, std::fprintf(stderr, "test"), "test"); in TEST() 199 EXPECT_NONFATAL_FAILURE(EXPECT_WRITE(stdout, std::printf("that"), "this"), in TEST() 204 TEST(StreamingAssertionsTest, EXPECT_WRITE) { in TEST() argument 205 EXPECT_WRITE(stdout, std::printf("test"), "test") << "unexpected failure"; in TEST() [all …]
|
D | gtest-extra.h | 102 # define EXPECT_WRITE(file, statement, expected_output) \ macro 148 # define EXPECT_WRITE(file, statement, expected_output) \ macro
|
D | printf-test.cc | 528 EXPECT_WRITE(stdout, fmt::printf("%1$s, %3$d %2$s", weekday, month, day), in TEST() 557 EXPECT_WRITE(stdout, fmt::vprintf("%d", args), "42"); in TEST() 558 EXPECT_WRITE(stdout, fmt::vfprintf(stdout, "%d", args), "42"); in TEST() 559 EXPECT_WRITE(stdout, fmt::vfprintf(std::cout, "%d", args), "42"); in TEST()
|
D | os-test.cc | 132 EXPECT_WRITE(stderr, in TEST() 241 EXPECT_WRITE( in TEST() 405 EXPECT_WRITE( in TEST()
|
D | posix-mock-test.cc | 235 EXPECT_WRITE( in TEST() 407 EXPECT_WRITE( in TEST()
|
D | format-test.cc | 422 EXPECT_WRITE(stderr, fmt::report_system_error(EDOM, "test error"), in TEST() 1632 EXPECT_WRITE( in TEST() 1657 EXPECT_WRITE(stdout, fmt::print("Don't {}!", "panic"), "Don't panic!"); in TEST() 1658 EXPECT_WRITE(stderr, fmt::print(stderr, "Don't {}!", "panic"), in TEST()
|