Home
last modified time | relevance | path

Searched refs:FIXTURE (Results 1 – 3 of 3) sorted by relevance

/third_party/libuv/test/
Dtest-fs-poll.c27 #define FIXTURE "testfile" macro
59 ASSERT((fp = fopen(FIXTURE, "w+"))); in touch_file()
79 touch_file(FIXTURE); in timer_cb()
116 touch_file(FIXTURE); in poll_cb()
137 remove(FIXTURE); in poll_cb()
156 remove(FIXTURE); in TEST_IMPL()
160 ASSERT(0 == uv_fs_poll_start(&poll_handle, poll_cb, FIXTURE, 100)); in TEST_IMPL()
177 remove(FIXTURE); in TEST_IMPL()
182 ASSERT(0 == uv_fs_poll_start(&poll_handle, poll_cb_fail, FIXTURE, 100)); in TEST_IMPL()
187 ASSERT(0 == memcmp(buf, FIXTURE, len)); in TEST_IMPL()
[all …]
/third_party/protobuf/src/google/protobuf/io/
Dtokenizer_unittest.cc78 #define TEST_1D(FIXTURE, NAME, CASES) \ argument
79 class FIXTURE##_##NAME##_DD : public FIXTURE { \
85 TEST_F(FIXTURE##_##NAME##_DD, NAME) { \
94 void FIXTURE##_##NAME##_DD::DoSingleCase(const CaseType& CASES##_case)
96 #define TEST_2D(FIXTURE, NAME, CASES1, CASES2) \ argument
97 class FIXTURE##_##NAME##_DD : public FIXTURE { \
104 TEST_F(FIXTURE##_##NAME##_DD, NAME) { \
116 void FIXTURE##_##NAME##_DD::DoSingleCase(const CaseType1& CASES1##_case, \
Dcoded_stream_unittest.cc89 #define TEST_1D(FIXTURE, NAME, CASES) \ argument
90 class FIXTURE##_##NAME##_DD : public FIXTURE { \
96 TEST_F(FIXTURE##_##NAME##_DD, NAME) { \
105 void FIXTURE##_##NAME##_DD::DoSingleCase(const CaseType& CASES##_case)
107 #define TEST_2D(FIXTURE, NAME, CASES1, CASES2) \ argument
108 class FIXTURE##_##NAME##_DD : public FIXTURE { \
115 TEST_F(FIXTURE##_##NAME##_DD, NAME) { \
127 void FIXTURE##_##NAME##_DD::DoSingleCase(const CaseType1& CASES1##_case, \