Lines Matching refs:testing
36 class DEATHTEST : public testing::Test {
63 ::testing::FLAGS_gtest_death_test_style = "threadsafe"; in TEST_F()
67 testing::KilledBySignal(SIGABRT), ""); in TEST_F()
75 ::testing::FLAGS_gtest_death_test_style = "threadsafe"; in TEST_F()
80 testing::KilledBySignal(SIGABRT), ""); in TEST_F()
88 ::testing::FLAGS_gtest_death_test_style = "threadsafe"; in TEST_F()
92 testing::KilledBySignal(SIGABRT), ""); in TEST_F()
100 ::testing::FLAGS_gtest_death_test_style = "threadsafe"; in TEST_F()
105 testing::KilledBySignal(SIGABRT), ""); in TEST_F()
113 ::testing::FLAGS_gtest_death_test_style = "threadsafe"; in TEST_F()
118 testing::KilledBySignal(SIGABRT), ""); in TEST_F()
126 ::testing::FLAGS_gtest_death_test_style = "threadsafe"; in TEST_F()
129 testing::KilledBySignal(SIGABRT), ""); in TEST_F()
148 ::testing::FLAGS_gtest_death_test_style = "threadsafe"; in TEST_F()
149 ASSERT_EXIT(vsprintf_helper2("%s", "0123456789"), testing::KilledBySignal(SIGABRT), ""); in TEST_F()
153 ::testing::FLAGS_gtest_death_test_style = "threadsafe"; in TEST_F()
154 ASSERT_EXIT(vsprintf_helper2("0123456789"), testing::KilledBySignal(SIGABRT), ""); in TEST_F()
174 ::testing::FLAGS_gtest_death_test_style = "threadsafe"; in TEST_F()
175 ASSERT_EXIT(vsnprintf_helper2("%s", "0123456789"), testing::KilledBySignal(SIGABRT), ""); in TEST_F()
179 ::testing::FLAGS_gtest_death_test_style = "threadsafe"; in TEST_F()
180 ASSERT_EXIT(vsnprintf_helper2("0123456789"), testing::KilledBySignal(SIGABRT), ""); in TEST_F()
190 ::testing::FLAGS_gtest_death_test_style = "threadsafe"; in TEST_F()
194 testing::KilledBySignal(SIGABRT), ""); in TEST_F()
208 ::testing::FLAGS_gtest_death_test_style = "threadsafe"; in TEST_F()
212 testing::KilledBySignal(SIGABRT), ""); in TEST_F()
226 ::testing::FLAGS_gtest_death_test_style = "threadsafe"; in TEST_F()
230 testing::KilledBySignal(SIGABRT), ""); in TEST_F()
244 ::testing::FLAGS_gtest_death_test_style = "threadsafe"; in TEST_F()
248 testing::KilledBySignal(SIGABRT), ""); in TEST_F()
261 ::testing::FLAGS_gtest_death_test_style = "threadsafe"; in TEST_F()
266 testing::KilledBySignal(SIGABRT), ""); in TEST_F()
278 ::testing::FLAGS_gtest_death_test_style = "threadsafe"; in TEST_F()
283 testing::KilledBySignal(SIGABRT), ""); in TEST_F()
295 ::testing::FLAGS_gtest_death_test_style = "threadsafe"; in TEST_F()
300 testing::KilledBySignal(SIGABRT), ""); in TEST_F()
312 ::testing::FLAGS_gtest_death_test_style = "threadsafe"; in TEST_F()
318 testing::KilledBySignal(SIGABRT), ""); in TEST_F()
329 ::testing::FLAGS_gtest_death_test_style = "threadsafe"; in TEST_F()
333 ASSERT_EXIT(strncat(myfoo.a, "9", n), testing::KilledBySignal(SIGABRT), ""); in TEST_F()
341 ::testing::FLAGS_gtest_death_test_style = "threadsafe"; in TEST_F()
345 ASSERT_EXIT(strncat(myfoo.a, "0123456789", n), testing::KilledBySignal(SIGABRT), ""); in TEST_F()
350 ::testing::FLAGS_gtest_death_test_style = "threadsafe"; in TEST_F()
355 ASSERT_EXIT(strncat(myfoo.b, myfoo.a, n), testing::KilledBySignal(SIGABRT), ""); in TEST_F()
362 ::testing::FLAGS_gtest_death_test_style = "threadsafe"; in TEST_F()
367 ASSERT_EXIT(strcat(myfoo.a, src), testing::KilledBySignal(SIGABRT), ""); in TEST_F()
372 ::testing::FLAGS_gtest_death_test_style = "threadsafe"; in TEST_F()
376 ASSERT_EXIT(strcat(myfoo.b, myfoo.a), testing::KilledBySignal(SIGABRT), ""); in TEST_F()
380 ::testing::FLAGS_gtest_death_test_style = "threadsafe"; in TEST_F()
384 ASSERT_EXIT(snprintf(myfoo.b, n, "a%s", myfoo.a), testing::KilledBySignal(SIGABRT), ""); in TEST_F()
388 ::testing::FLAGS_gtest_death_test_style = "threadsafe"; in TEST_F()
392 ASSERT_EXIT(bzero(myfoo.b, n), testing::KilledBySignal(SIGABRT), ""); in TEST_F()
400 ::testing::FLAGS_gtest_death_test_style = "threadsafe"; in TEST_F()
403 ASSERT_EXIT(strcpy(buf, orig), testing::KilledBySignal(SIGABRT), ""); in TEST_F()
413 ::testing::FLAGS_gtest_death_test_style = "threadsafe"; in TEST_F()
416 ASSERT_EXIT(strcpy(buf, orig), testing::KilledBySignal(SIGABRT), ""); in TEST_F()
426 ::testing::FLAGS_gtest_death_test_style = "threadsafe"; in TEST_F()
429 ASSERT_EXIT(strcpy(buf, orig), testing::KilledBySignal(SIGABRT), ""); in TEST_F()
439 ::testing::FLAGS_gtest_death_test_style = "threadsafe"; in TEST_F()
442 ASSERT_EXIT(strcpy(buf, orig), testing::KilledBySignal(SIGABRT), ""); in TEST_F()
451 ::testing::FLAGS_gtest_death_test_style = "threadsafe"; in TEST_F()
454 ASSERT_EXIT(printf("%zd", strlen(buf)), testing::KilledBySignal(SIGABRT), ""); in TEST_F()
462 ::testing::FLAGS_gtest_death_test_style = "threadsafe"; in TEST_F()
465 ASSERT_EXIT(printf("%s", strchr(buf, 'a')), testing::KilledBySignal(SIGABRT), ""); in TEST_F()
473 ::testing::FLAGS_gtest_death_test_style = "threadsafe"; in TEST_F()
476 ASSERT_EXIT(printf("%s", strrchr(buf, 'a')), testing::KilledBySignal(SIGABRT), ""); in TEST_F()
484 ::testing::FLAGS_gtest_death_test_style = "threadsafe"; in TEST_F()
489 ASSERT_EXIT(strlcpy(bufb, bufa, n), testing::KilledBySignal(SIGABRT), ""); in TEST_F()
497 ::testing::FLAGS_gtest_death_test_style = "threadsafe"; in TEST_F()
503 ASSERT_EXIT(strlcat(bufb, bufa, n), testing::KilledBySignal(SIGABRT), ""); in TEST_F()
510 ::testing::FLAGS_gtest_death_test_style = "threadsafe"; in TEST_F()
514 ASSERT_EXIT(sprintf(buf, "%s", source_buf), testing::KilledBySignal(SIGABRT), ""); in TEST_F()
521 ::testing::FLAGS_gtest_death_test_style = "threadsafe"; in TEST_F()
525 ASSERT_EXIT(sprintf(buf, "%s", source_buf), testing::KilledBySignal(SIGABRT), ""); in TEST_F()
531 ::testing::FLAGS_gtest_death_test_style = "threadsafe"; in TEST_F()
533 ASSERT_EXIT(sprintf(buf, "aaaaa"), testing::KilledBySignal(SIGABRT), ""); in TEST_F()
548 ::testing::FLAGS_gtest_death_test_style = "threadsafe"; in TEST_F()
549 ASSERT_EXIT(vsprintf_helper("%s", "0123456789"), testing::KilledBySignal(SIGABRT), ""); in TEST_F()
553 ::testing::FLAGS_gtest_death_test_style = "threadsafe"; in TEST_F()
554 ASSERT_EXIT(vsprintf_helper("0123456789"), testing::KilledBySignal(SIGABRT), ""); in TEST_F()
570 ::testing::FLAGS_gtest_death_test_style = "threadsafe"; in TEST_F()
571 ASSERT_EXIT(vsnprintf_helper("%s", "0123456789"), testing::KilledBySignal(SIGABRT), ""); in TEST_F()
575 ::testing::FLAGS_gtest_death_test_style = "threadsafe"; in TEST_F()
576 ASSERT_EXIT(vsnprintf_helper("0123456789"), testing::KilledBySignal(SIGABRT), ""); in TEST_F()
580 ::testing::FLAGS_gtest_death_test_style = "threadsafe"; in TEST_F()
584 ASSERT_EXIT(strncat(buf, "9", n), testing::KilledBySignal(SIGABRT), ""); in TEST_F()
588 ::testing::FLAGS_gtest_death_test_style = "threadsafe"; in TEST_F()
592 ASSERT_EXIT(strncat(buf, "0123456789", n), testing::KilledBySignal(SIGABRT), ""); in TEST_F()
596 ::testing::FLAGS_gtest_death_test_style = "threadsafe"; in TEST_F()
601 ASSERT_EXIT(strcat(buf, src), testing::KilledBySignal(SIGABRT), ""); in TEST_F()
605 ::testing::FLAGS_gtest_death_test_style = "threadsafe"; in TEST_F()
609 ASSERT_EXIT(memmove(buf + 11, buf, n), testing::KilledBySignal(SIGABRT), ""); in TEST_F()
613 ::testing::FLAGS_gtest_death_test_style = "threadsafe"; in TEST_F()
618 ASSERT_EXIT(memcpy(bufb, bufa, n), testing::KilledBySignal(SIGABRT), ""); in TEST_F()
622 ::testing::FLAGS_gtest_death_test_style = "threadsafe"; in TEST_F()
627 ASSERT_EXIT(stpncpy(bufb, bufa, n), testing::KilledBySignal(SIGABRT), ""); in TEST_F()
631 ::testing::FLAGS_gtest_death_test_style = "threadsafe"; in TEST_F()
635 ASSERT_EXIT(stpncpy(dest, src, sizeof(dest)), testing::KilledBySignal(SIGABRT), ""); in TEST_F()
639 ::testing::FLAGS_gtest_death_test_style = "threadsafe"; in TEST_F()
644 ASSERT_EXIT(strncpy(bufb, bufa, n), testing::KilledBySignal(SIGABRT), ""); in TEST_F()
649 ::testing::FLAGS_gtest_death_test_style = "threadsafe"; in TEST_F()
653 ASSERT_EXIT(strncpy(dest, src, sizeof(dest)), testing::KilledBySignal(SIGABRT), ""); in TEST_F()
657 ::testing::FLAGS_gtest_death_test_style = "threadsafe"; in TEST_F()
662 ASSERT_EXIT(snprintf(bufb, n, "%s", bufa), testing::KilledBySignal(SIGABRT), ""); in TEST_F()
666 ::testing::FLAGS_gtest_death_test_style = "threadsafe"; in TEST_F()
670 ASSERT_EXIT(bzero(buf, n), testing::KilledBySignal(SIGABRT), ""); in TEST_F()
674 ::testing::FLAGS_gtest_death_test_style = "threadsafe"; in TEST_F()
676 ASSERT_EXIT(umask(mask), testing::KilledBySignal(SIGABRT), ""); in TEST_F()
680 ::testing::FLAGS_gtest_death_test_style = "threadsafe"; in TEST_F()
683 ASSERT_EXIT(recv(0, buf, data_len, 0), testing::KilledBySignal(SIGABRT), ""); in TEST_F()
688 ::testing::FLAGS_gtest_death_test_style = "threadsafe"; in TEST_F()
691 ASSERT_EXIT(FD_ISSET(-1, &set), testing::KilledBySignal(SIGABRT), ""); in TEST_F()
696 ::testing::FLAGS_gtest_death_test_style = "threadsafe"; in TEST_F()
699 ASSERT_EXIT(FD_ISSET(0, set), testing::KilledBySignal(SIGABRT), ""); in TEST_F()
706 ::testing::FLAGS_gtest_death_test_style = "threadsafe"; in TEST_F()
709 ASSERT_EXIT(FD_ZERO_function(set), testing::KilledBySignal(SIGABRT), ""); in TEST_F()
713 ::testing::FLAGS_gtest_death_test_style = "threadsafe"; in TEST_F()
717 ASSERT_EXIT(read(fd, buf, ct), testing::KilledBySignal(SIGABRT), ""); in TEST_F()