Home
last modified time | relevance | path

Searched refs:suite (Results 1 - 25 of 181) sorted by relevance

12345678

/third_party/selinux/libsepol/cil/test/unit/
H A DCilTest.c158 CuSuite* suite = CuSuiteNew(); in CilTreeGetResolveSuite() local
161 SUITE_ADD_TEST(suite, test_cil_resolve_ast_curr_null_neg); in CilTreeGetResolveSuite()
162 SUITE_ADD_TEST(suite, test_cil_gen_perm_nodes_inval_perm_neg); in CilTreeGetResolveSuite()
164 SUITE_ADD_TEST(suite, test_cil_resolve_name); in CilTreeGetResolveSuite()
165 SUITE_ADD_TEST(suite, test_cil_resolve_name_invalid_type_neg); in CilTreeGetResolveSuite()
167 SUITE_ADD_TEST(suite, test_cil_resolve_typeattributeset_type_in_multiple_attrs); in CilTreeGetResolveSuite()
168 SUITE_ADD_TEST(suite, test_cil_resolve_typeattributeset_multiple_excludes_with_not); in CilTreeGetResolveSuite()
169 SUITE_ADD_TEST(suite, test_cil_resolve_typeattributeset_multiple_types_with_and); in CilTreeGetResolveSuite()
170 SUITE_ADD_TEST(suite, test_cil_resolve_typeattributeset_using_attr); in CilTreeGetResolveSuite()
171 SUITE_ADD_TEST(suite, test_cil_resolve_typeattributeset_name_ne in CilTreeGetResolveSuite()
660 CuSuite* suite = CuSuiteNew(); CilTreeGetBuildSuite() local
1735 CuSuite* suite = CuSuiteNew(); CilTreeGetSuite() local
1969 CuSuite* suite = CuSuiteNew(); CilTestFullCil() local
[all...]
H A DAllTests.c44 CuSuite* suite = CuSuiteNew(); in RunAllTests() local
49 CuSuiteAddSuite(suite, CilTreeGetSuite()); in RunAllTests()
54 CuSuiteRun(suite); in RunAllTests()
55 CuSuiteDetails(suite, output); in RunAllTests()
56 CuSuiteSummary(suite, output); in RunAllTests()
/third_party/python/Lib/unittest/test/
H A Dtest_suite.py51 suite = unittest.TestSuite()
53 self.assertEqual(suite.countTestCases(), 0)
55 suite.run(unittest.TestResult())
56 self.assertEqual(suite.countTestCases(), 0)
61 # or other test suites that will be used to build the suite initially"
64 # creation of an empty suite
66 suite = unittest.TestSuite([])
68 self.assertEqual(suite.countTestCases(), 0)
70 suite.run(unittest.TestResult())
71 self.assertEqual(suite
[all...]
H A Dtest_loader.py39 # "Return a suite of all test cases contained in the TestCase-derived
52 # "Return a suite of all test cases contained in the TestCase-derived
65 # "Return a suite of all test cases contained in the TestCase-derived
86 # "Return a suite of all test cases contained in the TestCase-derived
101 suite = loader.loadTestsFromTestCase(Foo)
102 self.assertIsInstance(suite, loader.suiteClass)
103 self.assertEqual(list(suite), [Foo('runTest')])
120 suite = loader.loadTestsFromModule(m)
121 self.assertIsInstance(suite, loader.suiteClass)
124 self.assertEqual(list(suite), expecte
[all...]
H A D__init__.py9 def suite(): function
10 suite = unittest.TestSuite()
19 suite.addTest(loader.loadTestsFromModule(module))
20 suite.addTest(loader.loadTestsFromName('unittest.test.testmock'))
21 return suite
25 unittest.main(defaultTest="suite")
/third_party/skia/third_party/externals/expat/expat/tests/
H A Dminicheck.c51 Suite *suite = (Suite *)calloc(1, sizeof(Suite)); in suite_create() local
52 if (suite != NULL) { in suite_create()
53 suite->name = name; in suite_create()
55 return suite; in suite_create()
68 suite_add_tcase(Suite *suite, TCase *tc) { in suite_add_tcase() argument
69 assert(suite != NULL); in suite_add_tcase()
73 tc->next_tcase = suite->tests; in suite_add_tcase()
74 suite->tests = tc; in suite_add_tcase()
111 suite_free(Suite *suite) { in suite_free() argument
112 if (! suite) { in suite_free()
125 srunner_create(Suite *suite) srunner_create() argument
164 Suite *suite; srunner_run_all() local
[all...]
/third_party/python/Lib/lib2to3/fixes/
H A Dfix_metaclass.py9 we normalize those into having a suite.
29 1) clsdef => suite => simple_stmt => expr_stmt => Leaf('__meta')
33 if node.type == syms.suite:
46 """ one-line classes don't get a suite in the parse tree so we add
50 if node.type == syms.suite:
54 # !%@#! one-liners have no suite node, we have to fake one up
59 raise ValueError("No class suite and no ':'!")
61 # move everything into a suite node
62 suite = Node(syms.suite, [])
[all...]
H A Dfix_tuple_params.py38 ['->' any] ':' suite=any+ >
51 suite = results["suite"]
54 # TODO(cwinter): suite-cleanup
55 if suite[0].children[1].type == token.INDENT:
57 indent = suite[0].children[1].value
93 line.parent = suite[0]
95 # TODO(cwinter) suite-cleanup
99 elif is_docstring(suite[0].children[start]):
104 line.parent = suite[
[all...]
/third_party/node/deps/v8/tools/testrunner/testproc/
H A Dcombiner.py31 # {suite name: instance of TestGroups}
34 # {suite name: instance of TestCombiner}
49 self._groups[test.suite.name].add_test(group_key, test)
53 combiner = self._get_combiner(test.suite)
56 test.suite.name)
82 suite, combiner = self._select_suite()
83 groups = self._groups[suite]
91 return combiner.combine('%s-%d' % (suite, self._current_num), sample)
94 """Returns pair (suite name, combiner)."""
96 for n, suite i
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/rsn_supp/
H A Dwpa_ie.c47 u32 suite; in wpa_gen_wpa_ie_wpa() local
59 suite = wpa_cipher_to_suite(WPA_PROTO_WPA, group_cipher); in wpa_gen_wpa_ie_wpa()
60 if (suite == 0) { in wpa_gen_wpa_ie_wpa()
65 RSN_SELECTOR_PUT(pos, suite); in wpa_gen_wpa_ie_wpa()
70 suite = wpa_cipher_to_suite(WPA_PROTO_WPA, pairwise_cipher); in wpa_gen_wpa_ie_wpa()
71 if (suite == 0 || in wpa_gen_wpa_ie_wpa()
78 RSN_SELECTOR_PUT(pos, suite); in wpa_gen_wpa_ie_wpa()
138 u32 suite; in wpa_gen_wpa_ie_rsn() local
153 suite = wpa_cipher_to_suite(WPA_PROTO_RSN, group_cipher); in wpa_gen_wpa_ie_rsn()
154 if (suite in wpa_gen_wpa_ie_rsn()
280 u32 suite; wpa_gen_wpa_ie_osen() local
[all...]
/third_party/libcoap/tests/
H A Dtest_uri.c586 CU_pSuite suite; in t_init_uri_tests() local
588 suite = CU_add_suite("uri parser", NULL, NULL); in t_init_uri_tests()
589 if (!suite) { /* signal error */ in t_init_uri_tests()
590 fprintf(stderr, "W: cannot add uri parser test suite (%s)\n", in t_init_uri_tests()
602 URI_TEST(suite, t_parse_uri1); in t_init_uri_tests()
603 URI_TEST(suite, t_parse_uri2); in t_init_uri_tests()
604 URI_TEST(suite, t_parse_uri3); in t_init_uri_tests()
605 URI_TEST(suite, t_parse_uri4); in t_init_uri_tests()
606 URI_TEST(suite, t_parse_uri5); in t_init_uri_tests()
607 URI_TEST(suite, t_parse_uri in t_init_uri_tests()
[all...]
H A Dtest_session.c200 CU_pSuite suite; in t_init_session_tests() local
202 suite = CU_add_suite("session", in t_init_session_tests()
204 if (!suite) { /* signal error */ in t_init_session_tests()
205 fprintf(stderr, "W: cannot add session test suite (%s)\n", in t_init_session_tests()
217 SESSION_TEST(suite, t_session1); in t_init_session_tests()
218 SESSION_TEST(suite, t_session2); in t_init_session_tests()
219 SESSION_TEST(suite, t_session3); in t_init_session_tests()
220 SESSION_TEST(suite, t_session4); in t_init_session_tests()
221 SESSION_TEST(suite, t_session5); in t_init_session_tests()
222 SESSION_TEST(suite, t_session in t_init_session_tests()
[all...]
H A Dtest_tls.c108 CU_pSuite suite; in t_init_tls_tests() local
110 suite = CU_add_suite("TLS", t_tls_tests_create, NULL); in t_init_tls_tests()
111 if (!suite) { /* signal error */ in t_init_tls_tests()
112 fprintf(stderr, "W: cannot add TLS test suite (%s)\n", in t_init_tls_tests()
124 TLS_TEST(suite, t_tls1); in t_init_tls_tests()
125 TLS_TEST(suite, t_tls2); in t_init_tls_tests()
127 return suite; in t_init_tls_tests()
/third_party/littlefs/scripts/
H A Dbench.py53 self.suite = config.pop('suite')
205 'suite': self.name,
246 for suite in suites:
247 if suite.name in seen:
248 print('%swarning:%s conflicting suite %r, %s and %s' % (
251 suite.name,
252 suite.path,
253 seen[suite.name].path),
255 seen[suite
[all...]
H A Dtest.py53 self.suite = config.pop('suite')
209 'suite': self.name,
254 for suite in suites:
255 if suite.name in seen:
256 print('%swarning:%s conflicting suite %r, %s and %s' % (
259 suite.name,
260 suite.path,
261 seen[suite.name].path),
263 seen[suite
[all...]
/third_party/node/deps/v8/tools/
H A Drun_perf.py11 The suite json format is expected to be:
15 "name": <optional suite name, file name is default>,
16 "archs": [<architecture name for which this suite is run>, ...],
20 "run_count": <how often will this suite run (optional)>,
21 "run_count_XXX": <how often will this suite run for arch XXX (optional)>,
43 The tests field can also nest other suites in arbitrary depth. A suite
44 with a "main" file is a leaf suite that can contain one more level of
47 A suite's results_regexp is expected to have one string place holder
48 "%s" for the trace name. A trace's results_regexp overwrites suite
51 A suite'
[all...]
/third_party/mbedtls/docs/architecture/psa-migration/
H A Doutcome-analysis.sh83 suite=${data%.data}
84 SUITES="$SUITES $suite"
92 suite=${extra%.sh}
93 SUITES="$SUITES $suite"
101 suite="$3"
103 pattern_suite=";$suite;"
111 name=${suite#test_suite_}
126 for suite in $SUITES; do
127 if compare_suite "$1" "$2" "$suite"; then :; else
128 failed="$failed $suite"
[all...]
/third_party/ffmpeg/tests/fate/
H A Ddca.mak26 fate-dca-$(1): CMD = framemd5 -i $(TARGET_SAMPLES)/dts/dcadec-suite/$(1).dtshd -c:a pcm_$(2) -af aresample
27 fate-dca-$(1)-dmix_2: CMD = framemd5 -request_channel_layout 0x3 -i $(TARGET_SAMPLES)/dts/dcadec-suite/$(1).dtshd -c:a pcm_$(2) -af aresample
28 fate-dca-$(1)-dmix_6: CMD = framemd5 -request_channel_layout 0x60f -i $(TARGET_SAMPLES)/dts/dcadec-suite/$(1).dtshd -c:a pcm_$(2) -af aresample
33 fate-dca-$(1): CMD = ffmpeg -i $(TARGET_SAMPLES)/dts/dcadec-suite/$(1).dtshd -f f32le -af aresample -
34 fate-dca-$(1): REF = $(SAMPLES)/dts/dcadec-suite/$(1).f32
43 fate-dca-core_51_24_48_768_1-dmix_2: CMD = ffmpeg -request_channel_layout 0x3 -i $(TARGET_SAMPLES)/dts/dcadec-suite/core_51_24_48_768_1.dtshd -f f32le -af aresample -
44 fate-dca-core_51_24_48_768_1-dmix_2: REF = $(SAMPLES)/dts/dcadec-suite/core_51_24_48_768_1-dmix_2.f32
47 fate-dca-x96_xxch_71_24_96_3840-dmix_2: CMD = ffmpeg -request_channel_layout 0x3 -i $(TARGET_SAMPLES)/dts/dcadec-suite/x96_xxch_71_24_96_3840.dtshd -f f32le -af aresample -
49 fate-dca-x96_xxch_71_24_96_3840-dmix_2: REF = $(SAMPLES)/dts/dcadec-suite/x96_xxch_71_24_96_3840-dmix_6.f32
53 fate-dca-x96_xxch_71_24_96_3840-dmix_6: CMD = ffmpeg -request_channel_layout "FL|FR|FC|LFE|SL|SR" -i $(TARGET_SAMPLES)/dts/dcadec-suite/x96_xxch_71_24_96_384
[all...]
H A Dqt.mak5 fate-qdm2: CMD = pcm -i $(TARGET_SAMPLES)/qt-surge-suite/surge-2-16-B-QDM2.mov
7 fate-qdm2: REF = $(SAMPLES)/qt-surge-suite/surge-2-16-B-QDM2.pcm
11 fate-qt-alaw-mono: CMD = md5 -i $(TARGET_SAMPLES)/qt-surge-suite/surge-1-16-B-alaw.mov -f s16le
14 fate-qt-alaw-stereo: CMD = md5 -i $(TARGET_SAMPLES)/qt-surge-suite/surge-2-16-B-alaw.mov -f s16le
17 fate-qt-ima4-mono: CMD = md5 -i $(TARGET_SAMPLES)/qt-surge-suite/surge-1-16-B-ima4.mov -f s16le -af aresample
20 fate-qt-ima4-stereo: CMD = md5 -i $(TARGET_SAMPLES)/qt-surge-suite/surge-2-16-B-ima4.mov -f s16le -af aresample
23 fate-qt-mac3-mono: CMD = md5 -i $(TARGET_SAMPLES)/qt-surge-suite/surge-1-8-MAC3.mov -f s16le -af aresample
26 fate-qt-mac3-stereo: CMD = md5 -i $(TARGET_SAMPLES)/qt-surge-suite/surge-2-8-MAC3.mov -f s16le -af aresample
29 fate-qt-mac6-mono: CMD = md5 -i $(TARGET_SAMPLES)/qt-surge-suite/surge-1-8-MAC6.mov -f s16le -af aresample
32 fate-qt-mac6-stereo: CMD = md5 -i $(TARGET_SAMPLES)/qt-surge-suite/surg
[all...]
/third_party/node/deps/v8/tools/testrunner/local/
H A Dtestsuite_test.py41 self.suite = TestSuite.Load(self.test_root, self.test_config,
45 self.assertEquals(self.suite.name, "fake_testsuite")
46 self.assertEquals(self.suite.test_config, self.test_config)
49 self.assertIsNone(self.suite.tests)
50 self.assertIsNone(self.suite.statusfile)
53 tests = self.suite.load_tests_from_disk(statusfile_variables={})
66 self.assertIsNotNone(self.suite.statusfile)
69 tests = self.suite.load_tests_from_disk(statusfile_variables={})
70 more_tests = self.suite.load_tests_from_disk(statusfile_variables={})
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/rsn_supp/
H A Dwpa_ie.c47 u32 suite; in wpa_gen_wpa_ie_wpa() local
59 suite = wpa_cipher_to_suite(WPA_PROTO_WPA, group_cipher); in wpa_gen_wpa_ie_wpa()
60 if (suite == 0) { in wpa_gen_wpa_ie_wpa()
65 RSN_SELECTOR_PUT(pos, suite); in wpa_gen_wpa_ie_wpa()
70 suite = wpa_cipher_to_suite(WPA_PROTO_WPA, pairwise_cipher); in wpa_gen_wpa_ie_wpa()
71 if (suite == 0 || in wpa_gen_wpa_ie_wpa()
78 RSN_SELECTOR_PUT(pos, suite); in wpa_gen_wpa_ie_wpa()
116 u32 suite; in wpa_gen_wpa_ie_rsn() local
131 suite = wpa_cipher_to_suite(WPA_PROTO_RSN, group_cipher); in wpa_gen_wpa_ie_rsn()
132 if (suite in wpa_gen_wpa_ie_rsn()
269 u32 suite; wpa_gen_wpa_ie_osen() local
[all...]
/third_party/littlefs/runners/
H A Dtest_runner.c123 const struct test_suite *suite,
307 // suite/perm updates
308 void test_define_suite(const struct test_suite *suite) { in test_define_suite() argument
310 suite->define_names, suite->define_count}; in test_define_suite()
313 if (lfs_max(suite->define_count, TEST_IMPLICIT_DEFINE_COUNT) in test_define_suite()
317 lfs_max(suite->define_count, TEST_IMPLICIT_DEFINE_COUNT)); in test_define_suite()
334 suite->define_count, in test_define_suite()
368 suite->define_count, in test_define_suite()
392 const struct test_suite *suite, in test_define_perm()
391 test_define_perm( const struct test_suite *suite, const struct test_case *case_, size_t perm) test_define_perm() argument
576 perm_printid( const struct test_suite *suite, const struct test_case *case_, const lfs_emubd_powercycles_t *cycles, size_t cycle_count) perm_printid() argument
617 test_seen_insert( test_seen_t *seen, const struct test_suite *suite, const struct test_case *case_) test_seen_insert() argument
679 case_forperm( const struct test_suite *suite, const struct test_case *case_, const test_define_t *defines, size_t define_count, const lfs_emubd_powercycles_t *cycles, size_t cycle_count, void (*cb)( void *data, const struct test_suite *suite, const struct test_case *case_, const test_powerloss_t *powerloss), void *data) case_forperm() argument
774 perm_count( void *data, const struct test_suite *suite, const struct test_case *case_, const test_powerloss_t *powerloss) perm_count() argument
1097 perm_list_defines( void *data, const struct test_suite *suite, const struct test_case *case_, const test_powerloss_t *powerloss) perm_list_defines() argument
1119 perm_list_permutation_defines( void *data, const struct test_suite *suite, const struct test_case *case_, const test_powerloss_t *powerloss) perm_list_permutation_defines() argument
1324 run_powerloss_none( const lfs_emubd_powercycles_t *cycles, size_t cycle_count, const struct test_suite *suite, const struct test_case *case_) run_powerloss_none() argument
1398 run_powerloss_linear( const lfs_emubd_powercycles_t *cycles, size_t cycle_count, const struct test_suite *suite, const struct test_case *case_) run_powerloss_linear() argument
1491 run_powerloss_log( const lfs_emubd_powercycles_t *cycles, size_t cycle_count, const struct test_suite *suite, const struct test_case *case_) run_powerloss_log() argument
1584 run_powerloss_cycles( const lfs_emubd_powercycles_t *cycles, size_t cycle_count, const struct test_suite *suite, const struct test_case *case_) run_powerloss_cycles() argument
1711 run_powerloss_exhaustive_layer( struct powerloss_exhaustive_cycles *cycles, const struct test_suite *suite, const struct test_case *case_, struct lfs_config *cfg, struct lfs_emubd_config *bdcfg, size_t depth) run_powerloss_exhaustive_layer() argument
1774 run_powerloss_exhaustive( const lfs_emubd_powercycles_t *cycles, size_t cycle_count, const struct test_suite *suite, const struct test_case *case_) run_powerloss_exhaustive() argument
1899 perm_run( void *data, const struct test_suite *suite, const struct test_case *case_, const test_powerloss_t *powerloss) perm_run() argument
[all...]
/third_party/rust/crates/rustix/benches/
H A Dmod.rs42 mod suite { modules
163 suite::simple_statat,
164 suite::simple_statat_libc,
165 suite::simple_statat_libc_cstr,
166 suite::simple_statat_cstr,
167 suite::simple_clock_gettime,
168 suite::simple_clock_gettime_libc,
169 suite::simple_getpid,
170 suite::simple_getpid_libc
/third_party/parse5/bench/perf/
H A Dindex.js58 function getHz(suite, testName) {
59 for (let i = 0; i < suite.length; i++) {
60 if (suite[i].name === testName) {
61 return suite[i].hz;
67 const suite = new Benchmark.Suite(name);
69 suite
75 const workingCopyHz = getHz(suite, 'Working copy');
76 const upstreamHz = getHz(suite, 'Upstream');
/third_party/icu/icu4c/source/python/icutools/databuilder/test/
H A D__main__.py9 suite = unittest.TestSuite()
10 suite.addTest(filtration_test.suite)
11 return suite

Completed in 16 milliseconds

12345678