Home
last modified time | relevance | path

Searched refs:expect_ok (Results 1 – 15 of 15) sorted by relevance

/third_party/node/test/parallel/
Dtest-fs-utimes.js62 function expect_ok(syscall, resource, err, atime, mtime, statSync) { function
102 expect_ok('utimes', tmpdir.path, err, atime, mtime);
105 expect_ok('lutimes', lpath, err, atime, mtime, fs.lstatSync);
118 expect_ok('futimes', fd, err, atime, mtime);
133 expect_ok('utimesSync', tmpdir.path, undefined, atime, mtime);
136 expect_ok('lutimesSync', lpath, undefined, atime, mtime, fs.lstatSync);
142 expect_ok('futimesSync', fd, undefined, atime, mtime);
/third_party/grpc/test/cpp/cocoapods/generic/
Dgeneric.mm102 - (void)verify_ok:(grpc::CompletionQueue*)cq i:(int)i expect_ok:(bool)expect_ok {
106 XCTAssertEqual(expect_ok, ok);
111 [self verify_ok:srv_cq_.get() i:i expect_ok:true];
114 [self verify_ok:&cli_cq_ i:i expect_ok:true];
117 [self verify_ok:srv_cq_.get() i:i expect_ok:false];
120 [self verify_ok:&cli_cq_ i:i expect_ok:false];
197 [self verify_ok:srv_cq_.get() i:4 expect_ok:true];
/third_party/grpc/test/cpp/end2end/
Dinterceptors_util.h203 Verifier& Expect(int i, bool expect_ok) { in Expect() argument
204 return ExpectUnless(i, expect_ok, false); in Expect()
208 Verifier& ExpectUnless(int i, bool expect_ok, bool seen) { in ExpectUnless() argument
210 expectations_[tag(i)] = expect_ok; in ExpectUnless()
217 Verifier& ExpectMaybe(int i, bool expect_ok, bool* seen) { in ExpectMaybe() argument
219 maybe_expectations_[tag(i)] = MaybeExpect{expect_ok, seen}; in ExpectMaybe()
Dfilter_end2end_test.cc54 void verify_ok(CompletionQueue* cq, int i, bool expect_ok) { in verify_ok() argument
58 EXPECT_EQ(expect_ok, ok); in verify_ok()
Dgeneric_end2end_test.cc52 void verify_ok(CompletionQueue* cq, int i, bool expect_ok) { in verify_ok() argument
56 EXPECT_EQ(expect_ok, ok); in verify_ok()
Draw_end2end_test.cc61 Verifier& Expect(int i, bool expect_ok) { in Expect() argument
62 expectations_[tag(i)] = expect_ok; in Expect()
Dasync_end2end_test.cc69 Verifier& Expect(int i, bool expect_ok) { in Expect() argument
70 return ExpectUnless(i, expect_ok, false); in Expect()
74 Verifier& ExpectUnless(int i, bool expect_ok, bool seen) { in ExpectUnless() argument
76 expectations_[tag(i)] = expect_ok; in ExpectUnless()
83 Verifier& ExpectMaybe(int i, bool expect_ok, bool* seen) { in ExpectMaybe() argument
85 maybe_expectations_[tag(i)] = MaybeExpect{expect_ok, seen}; in ExpectMaybe()
Dhybrid_end2end_test.cc62 void Verify(CompletionQueue* cq, int i, bool expect_ok) { in Verify() argument
63 EXPECT_EQ(expect_ok, VerifyReturnSuccess(cq, i)); in Verify()
/third_party/grpc/test/core/end2end/
Ddualstack_socket_test.cc76 int expect_ok) { in test_connect() argument
145 expect_ok ? "success" : "failure"); in test_connect()
149 if (expect_ok) { in test_connect()
169 op->flags = expect_ok ? GRPC_INITIAL_METADATA_WAIT_FOR_READY : 0; in test_connect()
192 if (expect_ok) { in test_connect()
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/
Dnumbers_test_common.h64 bool expect_ok; member
112 bool expect_ok; member
/third_party/abseil-cpp/absl/strings/internal/
Dnumbers_test_common.h64 bool expect_ok; member
112 bool expect_ok; member
/third_party/abseil-cpp/absl/strings/
Dnumbers_test.cc733 EXPECT_EQ(e.expect_ok, safe_strtou32_base(e.str, &value, e.base)) in TEST()
735 if (e.expect_ok) { in TEST()
749 EXPECT_EQ(e.expect_ok, in TEST()
753 if (e.expect_ok) { in TEST()
764 EXPECT_EQ(e.expect_ok, safe_strtou64_base(e.str, &value, e.base)) in TEST()
766 if (e.expect_ok) { in TEST()
779 EXPECT_EQ(e.expect_ok, in TEST()
783 if (e.expect_ok) { in TEST()
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/
Dnumbers_test.cc827 EXPECT_EQ(e.expect_ok, safe_strtou32_base(e.str, &value, e.base)) in TEST()
829 if (e.expect_ok) { in TEST()
843 EXPECT_EQ(e.expect_ok, in TEST()
847 if (e.expect_ok) { in TEST()
858 EXPECT_EQ(e.expect_ok, safe_strtou64_base(e.str, &value, e.base)) in TEST()
860 if (e.expect_ok) { in TEST()
873 EXPECT_EQ(e.expect_ok, in TEST()
877 if (e.expect_ok) { in TEST()
/third_party/python/Lib/test/
Dtest_compile.py552 expect_ok = prefix + repeated * success_depth
553 compile(expect_ok, '<test>', mode)
/third_party/re2/re2/testing/
Dre2_test.cc190 bool expect_ok) { in TestCheckRewriteString() argument
194 EXPECT_EQ(expect_ok, actual_ok) << " for " << rewrite << " error: " << error; in TestCheckRewriteString()