Lines Matching refs:REQUIRE
40 REQUIRE(ctx.num_probes() >= 1);
44 REQUIRE(probe);
46 REQUIRE(probe->in_shared_object(probe->bin_path()) == false);
47 REQUIRE(probe->name() == "sample_probe_1");
48 REQUIRE(probe->provider() == "libbcc_test");
49 REQUIRE(probe->bin_path().find("/test_libbcc") != std::string::npos);
51 REQUIRE(probe->num_locations() == 1);
52 REQUIRE(probe->num_arguments() == 2);
53 REQUIRE(probe->need_enable() == false);
55 REQUIRE(a_probed_function() != 0);
64 REQUIRE(res.code() == 0);
67 REQUIRE(res.code() == 0);
70 REQUIRE(res.code() == 0);
78 REQUIRE(res.code() == 0);
81 REQUIRE(res.code() == 0);
84 REQUIRE(res.code() == 0);
156 REQUIRE(ctx.num_probes() > 10);
162 REQUIRE(probe);
164 REQUIRE(probe->in_shared_object(probe->bin_path()) == true);
165 REQUIRE(probe->name() == name);
166 REQUIRE(probe->provider() == "ruby");
172 REQUIRE(bin_path_match);
177 REQUIRE(probe->num_locations() == exp_locations);
178 REQUIRE(probe->num_arguments() == exp_arguments);
179 REQUIRE(probe->need_enable() == true);
185 REQUIRE(probe);
187 REQUIRE(probe->in_shared_object(probe->bin_path()) == true);
188 REQUIRE(probe->name() == name);
189 REQUIRE(probe->provider() == "ruby");
195 REQUIRE(bin_path_match);
200 REQUIRE(probe->num_locations() == exp_locations);
201 REQUIRE(probe->num_arguments() == exp_arguments);
202 REQUIRE(probe->need_enable() == true);
208 REQUIRE(probe);
209 REQUIRE(probe->name() == name);
215 REQUIRE(probe->num_locations() == exp_locations);
216 REQUIRE(probe->num_arguments() == exp_arguments);
217 REQUIRE(probe->need_enable() == true);
230 REQUIRE(ctx.num_probes() >= mri_probe_count);
235 REQUIRE(probe);
237 REQUIRE(probe->in_shared_object(probe->bin_path()) == true);
238 REQUIRE(probe->name() == name);
239 REQUIRE(probe->provider() == "ruby");
245 REQUIRE(bin_path_match);
250 REQUIRE(probe->num_locations() == exp_locations);
251 REQUIRE(probe->num_arguments() == exp_arguments);
252 REQUIRE(probe->need_enable() == true);