Home
last modified time | relevance | path

Searched refs:testCase (Results 1 – 4 of 4) sorted by relevance

/freebsd/contrib/expat/tests/
H A Dprops_tests.c244 struct TestCase *const testCase = cases + i; in START_TEST() local
245 set_subtest("property %d", (int)testCase->key); in START_TEST()
248 = (testCase->expectedType == TYPE_BOOL) ? XML_PROP_ERROR_NONE in START_TEST()
251 = (testCase->expectedType == TYPE_DOUBLE) ? XML_PROP_ERROR_NONE in START_TEST()
254 = (testCase->expectedType == TYPE_UINT64) ? XML_PROP_ERROR_NONE in START_TEST()
257 assert_true(XML_GetPropertyBool(parser, testCase->key, &dummyBool) in START_TEST()
259 assert_true(XML_GetPropertyDouble(parser, testCase->key, &dummyDouble) in START_TEST()
261 assert_true(XML_GetPropertyUInt64(parser, testCase->key, &dummyUInt64) in START_TEST()
333 struct TestCase *const testCase = cases + i; in START_TEST() local
334 set_subtest("property %d", (int)testCase->key); in START_TEST()
[all …]
H A Dmisc_tests.c759 const struct test_case testCase = cases[i]; in START_TEST() local
762 const char *const doc = testCase.doc; in START_TEST()
767 const enum XML_Status expectedStatus = testCase.expectedStatusNoGE; in START_TEST()
768 const enum XML_Error expectedError = testCase.expectedErrorNoGE; in START_TEST()
778 == testCase.expectedErrorLine); in START_TEST()
780 == testCase.expectedErrorColumn); in START_TEST()
H A Dhandlers.c1529 const struct AccountingTestCase *const testCase = XML_GetUserData(parser); in accounting_external_entity_ref_handler() local
1533 externalText = testCase->firstExternalText; in accounting_external_entity_ref_handler()
1535 externalText = testCase->secondExternalText; in accounting_external_entity_ref_handler()
/freebsd/contrib/bsnmp/tests/
H A Dcatch.hpp563 bool isThrowSafe( TestCase const& testCase, IConfig const& config );
564 bool matchTest( TestCase const& testCase, TestSpec const& testSpec, IConfig const& config );
4751 TestCase( ITestInvoker* testCase, TestCaseInfo&& info );
4766 TestCase makeTestCase( ITestInvoker* testCase,
5057 virtual bool matches( TestCaseInfo const& testCase ) const = 0;
5067 bool matches( TestCaseInfo const& testCase ) const override;
5075 bool matches( TestCaseInfo const& testCase ) const override;
5083 bool matches( TestCaseInfo const& testCase ) const override;
5091 bool matches( TestCaseInfo const& testCase ) const;
5104 bool matches( TestCaseInfo const& testCase ) const;
[all …]