Home
last modified time | relevance | path

Searched refs:suite (Results 1 – 25 of 758) sorted by relevance

12345678910>>...31

/third_party/selinux/libsepol/cil/test/unit/
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_neg); in CilTreeGetResolveSuite()
[all …]
/third_party/python/Lib/unittest/test/
Dtest_suite.py51 suite = unittest.TestSuite()
53 self.assertEqual(suite.countTestCases(), 0)
55 suite.run(unittest.TestResult())
56 self.assertEqual(suite.countTestCases(), 0)
66 suite = unittest.TestSuite([])
68 self.assertEqual(suite.countTestCases(), 0)
70 suite.run(unittest.TestResult())
71 self.assertEqual(suite.countTestCases(), 0)
114 suite = unittest.TestSuite(tests())
115 self.assertEqual(suite.countTestCases(), 2)
[all …]
Dtest_loader.py101 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), expected)
133 suite = loader.loadTestsFromModule(m)
134 self.assertIsInstance(suite, loader.suiteClass)
135 self.assertEqual(list(suite), [])
147 suite = loader.loadTestsFromModule(m)
[all …]
D__init__.py9 def suite(): function
10 suite = unittest.TestSuite()
16 suite.addTest(loader.loadTestsFromModule(module))
17 suite.addTest(loader.loadTestsFromName('unittest.test.testmock'))
18 return suite
/third_party/skia/third_party/externals/expat/expat/tests/
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()
[all …]
/third_party/python/Lib/lib2to3/fixes/
Dfix_metaclass.py33 if node.type == syms.suite:
50 if node.type == syms.suite:
62 suite = Node(syms.suite, [])
65 suite.append_child(move_node.clone())
67 cls_node.append_child(suite)
68 node = suite
103 if node.type == syms.suite:
123 def fixup_indent(suite): argument
127 kids = suite.children[::-1]
160 for suite, i, stmt in find_metas(node):
[all …]
Dfix_tuple_params.py51 suite = results["suite"]
55 if suite[0].children[1].type == token.INDENT:
57 indent = suite[0].children[1].value
93 line.parent = suite[0]
99 elif is_docstring(suite[0].children[start]):
104 line.parent = suite[0]
105 suite[0].children[after:after] = new_lines
107 suite[0].children[i].prefix = indent
108 suite[0].changed()
/third_party/libinput/doc/user/
Dtest-suite.rst1 .. _test-suite:
4 libinput test suite
7 libinput's primary test suite can be invoked with
11 $ sudo ./builddir/libinput-test-suite
13 When developing libinput, the ``libinput-test-suite`` should always be
18 the full suite when development is done finished.
20 .. note:: The test suite relies on udev and the kernel, specifically uinput.
22 interfere with your running session. The test suite is not suitable
27 ``meson test -C builddir`` (or ``ninja test``). The ``libinput-test-suite`` is
30 The upstream CI runs all these tests but not the ``libinput-test-suite``.
[all …]
/third_party/python/Lib/test/
Dtest_sqlite.py18 return unittest.TestSuite([dbapi.suite(), types.suite(),
19 userfunctions.suite(),
20 factory.suite(), transactions.suite(),
21 hooks.suite(), regression.suite(),
22 dump.suite(),
23 backup.suite()])
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/rsn_supp/
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()
132 u32 suite; in wpa_gen_wpa_ie_rsn() local
147 suite = wpa_cipher_to_suite(WPA_PROTO_RSN, group_cipher); in wpa_gen_wpa_ie_rsn()
148 if (suite == 0) { in wpa_gen_wpa_ie_rsn()
[all …]
/third_party/typescript/src/testRunner/parallel/
Dworker.ts113 const suite = new Suite(title, suites[0].ctx); constant
114 suites[0].addSuite(suite);
115 suite.pending = !fn;
116 suites.unshift(suite);
118 fn.call(suite);
121 return suite;
150 for (const suite of unitTestSuite.suites) { constant
151 unitTestSuiteMap.set(suite.title, suite);
165 let suite = unitTestSuiteMap.get(task.file);
167 if (!suite && !test) {
[all …]
/third_party/libcoap/tests/
Dtest_uri.c580 CU_pSuite suite; in t_init_uri_tests() local
582 suite = CU_add_suite("uri parser", NULL, NULL); in t_init_uri_tests()
583 if (!suite) { /* signal error */ in t_init_uri_tests()
596 URI_TEST(suite, t_parse_uri1); in t_init_uri_tests()
597 URI_TEST(suite, t_parse_uri2); in t_init_uri_tests()
598 URI_TEST(suite, t_parse_uri3); in t_init_uri_tests()
599 URI_TEST(suite, t_parse_uri4); in t_init_uri_tests()
600 URI_TEST(suite, t_parse_uri5); in t_init_uri_tests()
601 URI_TEST(suite, t_parse_uri6); in t_init_uri_tests()
602 URI_TEST(suite, t_parse_uri7); in t_init_uri_tests()
[all …]
Dtest_pdu.c1257 CU_pSuite suite[2]; in t_init_pdu_tests() local
1259 suite[0] = CU_add_suite("pdu parser", t_pdu_tests_create, t_pdu_tests_remove); in t_init_pdu_tests()
1260 if (!suite[0]) { /* signal error */ in t_init_pdu_tests()
1273 PDU_TEST(suite[0], t_parse_pdu1); in t_init_pdu_tests()
1274 PDU_TEST(suite[0], t_parse_pdu2); in t_init_pdu_tests()
1275 PDU_TEST(suite[0], t_parse_pdu3); in t_init_pdu_tests()
1276 PDU_TEST(suite[0], t_parse_pdu4); in t_init_pdu_tests()
1277 PDU_TEST(suite[0], t_parse_pdu5); in t_init_pdu_tests()
1278 PDU_TEST(suite[0], t_parse_pdu6); in t_init_pdu_tests()
1279 PDU_TEST(suite[0], t_parse_pdu7); in t_init_pdu_tests()
[all …]
Dtest_session.c199 CU_pSuite suite; in t_init_session_tests() local
201 suite = CU_add_suite("session", in t_init_session_tests()
203 if (!suite) { /* signal error */ in t_init_session_tests()
216 SESSION_TEST(suite, t_session1); in t_init_session_tests()
217 SESSION_TEST(suite, t_session2); in t_init_session_tests()
218 SESSION_TEST(suite, t_session3); in t_init_session_tests()
219 SESSION_TEST(suite, t_session4); in t_init_session_tests()
220 SESSION_TEST(suite, t_session5); in t_init_session_tests()
221 SESSION_TEST(suite, t_session6); in t_init_session_tests()
223 return suite; in t_init_session_tests()
/third_party/mbedtls/tests/scripts/
Drun-test-suites.pl88 for my $suite (@suites)
90 print "$suite ", "." x ( 72 - length($suite) - 2 - 4 ), " ";
91 if( $suite =~ /$skip_re/o ) {
97 my $command = "$prefix$suite";
110 pad_print_center( 72, '-', "Begin $suite" );
112 pad_print_center( 72, '-', "End $suite" );
118 pad_print_center( 72, '-', "Begin $suite" );
120 pad_print_center( 72, '-', "End $suite" );
/third_party/node/deps/npm/node_modules/ansi-styles/
Dindex.js136 const suite = colorConvert[key];
142 if ('ansi16' in suite) {
143 styles.color.ansi[key] = wrapAnsi16(suite.ansi16, 0);
144 styles.bgColor.ansi[key] = wrapAnsi16(suite.ansi16, 10);
147 if ('ansi256' in suite) {
148 styles.color.ansi256[key] = wrapAnsi256(suite.ansi256, 0);
149 styles.bgColor.ansi256[key] = wrapAnsi256(suite.ansi256, 10);
152 if ('rgb' in suite) {
153 styles.color.ansi16m[key] = wrapAnsi16m(suite.rgb, 0);
154 styles.bgColor.ansi16m[key] = wrapAnsi16m(suite.rgb, 10);
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/rsn_supp/
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 == 0) { in wpa_gen_wpa_ie_rsn()
[all …]
/third_party/littlefs/scripts/
Dtest.py140 suite=None, caseno=None, lineno=None, **_): argument
143 self.suite = suite
159 self.suite.name, self.caseno, self.permno, ', '.join(
164 self.suite.name, self.caseno, self.permno)
167 self.suite.name, self.caseno)
182 if k not in self.suite.defines:
193 f.write(4*' '+'#line %d "%s"\n' % (self.code_lineno, self.suite.path))
203 if k not in self.suite.defines:
238 cmd = exec + ['./%s.test' % self.suite.path,
244 disk = self.suite.path + '.disk'
[all …]
/third_party/ffmpeg/tests/fate/
Ddca.mak26 fate-dca-$(1): CMD = framemd5 -i $(TARGET_SAMPLES)/dts/dcadec-suite/$(1).dtshd -c:a pcm_$(2) -af ar…
27 … = framemd5 -request_channel_layout 0x3 -i $(TARGET_SAMPLES)/dts/dcadec-suite/$(1).dtshd -c:a pc…
28 … = framemd5 -request_channel_layout 0x60f -i $(TARGET_SAMPLES)/dts/dcadec-suite/$(1).dtshd -c:a pc…
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 … CMD = ffmpeg -request_channel_layout 0x3 -i $(TARGET_SAMPLES)/dts/dcadec-suite/core_51_24_48_768_…
44 fate-dca-core_51_24_48_768_1-dmix_2: REF = $(SAMPLES)/dts/dcadec-suite/core_51_24_48_768_1-dmix_2.f…
47 … CMD = ffmpeg -request_channel_layout 0x3 -i $(TARGET_SAMPLES)/dts/dcadec-suite/x96_xxch_71_24_96_…
49 fate-dca-x96_xxch_71_24_96_3840-dmix_2: REF = $(SAMPLES)/dts/dcadec-suite/x96_xxch_71_24_96_3840-dm…
52 …MD = ffmpeg -request_channel_layout 0x60f -i $(TARGET_SAMPLES)/dts/dcadec-suite/x96_xxch_71_24_96_…
[all …]
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…
20 fate-qt-ima4-stereo: CMD = md5 -i $(TARGET_SAMPLES)/qt-surge-suite/surge-2-16-B-ima4.mov -f s16le -…
23 fate-qt-mac3-mono: CMD = md5 -i $(TARGET_SAMPLES)/qt-surge-suite/surge-1-8-MAC3.mov -f s16le -af ar…
26 fate-qt-mac3-stereo: CMD = md5 -i $(TARGET_SAMPLES)/qt-surge-suite/surge-2-8-MAC3.mov -f s16le -af …
29 fate-qt-mac6-mono: CMD = md5 -i $(TARGET_SAMPLES)/qt-surge-suite/surge-1-8-MAC6.mov -f s16le -af ar…
32 fate-qt-mac6-stereo: CMD = md5 -i $(TARGET_SAMPLES)/qt-surge-suite/surge-2-8-MAC6.mov -f s16le -af …
[all …]
/third_party/rust/crates/rustix/benches/
Dmod.rs42 mod suite { module
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/ltp/tools/sparse/sparse-src/Documentation/release-notes/
Dv0.4.rst10suite, invoked via 'make check'. Thanks to Damien Lespiau for the initial 'test-suite' script. Als…
105 * test-suite: a tiny test automation script
106 * test-suite documentation
107 * Sample test-suite test cases
159 * Move test-suite output files to validation/.gitignore
161 * validation: Update comments for current Sparse behavior and test-suite.
162 * Add test-suite comments to all the obvious preprocessor tests
164 * Add test-suite comment to preprocessor21.
165 * Add test-suite comment to address_space.c
168 * Add test-suite comment to label-asm.c
[all …]
/third_party/gstreamer/gstreamer/libs/gst/check/libcheck/
Dcheck.h.in98 * through a suite
113 * Type for a test suite
118 * Creates a test suite with the given name.
120 * Create a suite, which will contain test cases. Once
122 * When finished, create a suite runner from the
123 * suite using srunner_create()
125 * @param name name of the suite
127 * @return suite
134 * Determines whether a given test suite contains a case named after a
137 * @param s suite to check
[all …]
/third_party/python/Lib/lib2to3/
DGrammar.txt19 funcdef: 'def' NAME parameters ['->' test] ':' suite
110 if_stmt: 'if' namedexpr_test ':' suite ('elif' namedexpr_test ':' suite)* ['else' ':' suite]
111 while_stmt: 'while' namedexpr_test ':' suite ['else' ':' suite]
112 for_stmt: 'for' exprlist 'in' testlist ':' suite ['else' ':' suite]
113 try_stmt: ('try' ':' suite
114 ((except_clause ':' suite)+
115 ['else' ':' suite]
116 ['finally' ':' suite] |
117 'finally' ':' suite))
118 with_stmt: 'with' with_item (',' with_item)* ':' suite
[all …]
/third_party/parse5/bench/perf/
Dindex.js58 function getHz(suite, testName) { argument
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');

12345678910>>...31