• Home
  • Raw
  • Download

Lines Matching refs:pfw

60             CAPTURE(pfwGetLastError(pfw));  in REQUIRE_FAILURE()
62 CHECK(not empty(pfwGetLastError(pfw))); in REQUIRE_FAILURE()
70 CAPTURE(pfwGetLastError(pfw)); in REQUIRE_SUCCESS()
72 CHECK(empty(pfwGetLastError(pfw))); in REQUIRE_SUCCESS()
111 PfwHandler *pfw; member
150 pfw = pfwCreate();
151 REQUIRE(pfw != NULL);
154 CHECK(empty(pfwGetLastError(pfw)));
158 REQUIRE_FAILURE(pfwStart(pfw, "/doNotExist", criteria, criterionNb, &logger));
165 REQUIRE_FAILURE(pfwStart(pfw, config, duplicatedCriteria, 2, &logger));
172 REQUIRE_FAILURE(pfwStart(pfw, config, duplicatedCriteria, 1, &logger));
176 REQUIRE_FAILURE(pfwStart(pfw, config, duplicatedCriteria, 1, NULL));
181 REQUIRE_FAILURE(pfwStart(pfw, config, duplicatedCriteria, 1, &logger));
185 REQUIRE_FAILURE(pfwStart(pfw, config, duplicatedCriteria, 1, &logger));
225 REQUIRE_FAILURE(pfwStart(pfw, config, duplicatedCriteria, 1, &logger));
229 REQUIRE_SUCCESS(pfwStart(pfw, config, duplicatedCriteria, 1, &logger));
234 REQUIRE_SUCCESS(pfwStart(pfw, config, criteria, 0, &logger));
238 REQUIRE_SUCCESS(pfwStart(pfw, config, criteria, criterionNb, &logger));
239 REQUIRE_FAILURE(pfwStart(pfw, config, criteria, criterionNb, &logger));
244 REQUIRE_SUCCESS(pfwStart(pfw, config, criteria, criterionNb, &noLog));
247 REQUIRE_SUCCESS(pfwStart(pfw, config, criteria, criterionNb, NULL));
252 REQUIRE_FAILURE(pfwGetCriterion(pfw, criteria[0].name, &value));
255 REQUIRE_FAILURE(pfwSetCriterion(pfw, criteria[0].name, 1));
258 REQUIRE_FAILURE(pfwApplyConfigurations(pfw));
262 REQUIRE(pfwBindParameter(pfw, intParameterPath) == NULL);
266 REQUIRE_SUCCESS(pfwStart(pfw, config, criteria, criterionNb, &logger));
270 REQUIRE_FAILURE(pfwGetCriterion(pfw, "Do not exist", &value));
276 REQUIRE_SUCCESS(pfwGetCriterion(pfw, criterionName, &value));
282 REQUIRE_FAILURE(pfwSetCriterion(pfw, "Do not exist", 3));
288 REQUIRE_SUCCESS(pfwSetCriterion(pfw, criterionName, 3));
294 REQUIRE_SUCCESS(pfwGetCriterion(pfw, criterionName, &value));
300 REQUIRE_SUCCESS(pfwSetCriterion(pfw, criterionName, 0));
311 REQUIRE_SUCCESS(pfwApplyConfigurations(pfw));
314 REQUIRE_FAILURE(pfwBindParameter(pfw, "do/not/exist") != NULL);
318 PfwParameterHandler *param = pfwBindParameter(pfw, intParameterPath);
337 PfwParameterHandler *param = pfwBindParameter(pfw, stringParameterPath);
358 pfwDestroy(pfw);