Home
last modified time | relevance | path

Searched refs:assertIn (Results 1 – 25 of 624) sorted by relevance

12345678910>>...25

/external/v8/tools/unittests/
Drun_tests_test.py177 self.assertIn('Running 2 base tests', result.stdout, result)
178 self.assertIn('Done running sweet/bananas: pass', result.stdout, result)
199 self.assertIn('Running 1 base tests', result.stdout, result)
200 self.assertIn('2 tests ran', result.stdout, result)
202 self.assertIn('Done running sweet/bananas', result.stdout, result)
204 self.assertIn('Done running sweet/raspberries', result.stdout, result)
223 self.assertIn('Running 2 tests', result.stdout, result)
224 self.assertIn('Done running sweet/bananas', result.stdout, result)
225 self.assertIn('Done running sweet/raspberries', result.stdout, result)
243 self.assertIn('Running 2 tests', result.stdout, result)
[all …]
/external/python/cpython2/Lib/test/
Dtest_contains.py23 self.assertIn(1, b)
25 self.assertIn(1, c)
31 self.assertIn('c', 'abc')
34 self.assertIn('', '')
35 self.assertIn('', 'abc')
41 self.assertIn('c', unicode('abc'))
44 self.assertIn('', unicode(''))
45 self.assertIn(unicode(''), '')
46 self.assertIn(unicode(''), unicode(''))
47 self.assertIn('', unicode('abc'))
[all …]
Dtest_peepholer.py29 self.assertIn('POP_JUMP_IF_TRUE', asm)
39 self.assertIn(elem, asm)
50 self.assertIn(elem, asm)
54 self.assertIn('LOAD_CONST', disassemble(f))
67 self.assertIn(elem, asm)
76 self.assertIn(elem, asm)
89 self.assertIn(elem, asm)
128 self.assertIn(elem, asm, asm)
133 self.assertIn('(2)', asm)
134 self.assertIn("('b')", asm)
[all …]
Dtest_inspect.py126 self.assertIn('a', members)
583 self.assertIn(('s', 'static method', A), attrs, 'missing static method')
584 self.assertIn(('c', 'class method', A), attrs, 'missing class method')
585 self.assertIn(('p', 'property', A), attrs, 'missing property')
586 self.assertIn(('m', 'method', A), attrs, 'missing plain method')
587 self.assertIn(('m1', 'method', A), attrs, 'missing plain method')
588 self.assertIn(('datablob', 'data', A), attrs, 'missing data')
589 self.assertIn(('md', 'method', A), attrs, 'missing method descriptor')
590 self.assertIn(('dd', 'data', A), attrs, 'missing data descriptor')
596 self.assertIn(('s', 'static method', A), attrs, 'missing static method')
[all …]
Dtest_calendar.py300 self.assertIn(len(days), (35, 42))
504 self.assertIn(b'Usage:', stderr)
509 self.assertIn(b'Usage:', stdout)
510 self.assertIn(b'calendar.py', stdout)
511 self.assertIn(b'--help', stdout)
522 self.assertIn((' %s' % year).encode(), stdout)
523 self.assertIn(b'January', stdout)
524 self.assertIn(b'Mo Tu We Th Fr Sa Su', stdout)
556 self.assertIn('2004'.encode(enc), stdout)
563 self.assertIn(b'Mon Tue Wed Thu Fri Sat Sun', stdout)
[all …]
Dtest_cmd_line_script.py87 self.assertIn(printed_file, data)
88 self.assertIn(printed_package, data)
89 self.assertIn(printed_argv0, data)
99 self.assertIn(expected_msg, data)
233 self.assertIn(b'ValueError', err)
261 self.assertIn(exception.encode('ascii'), err)
262 self.assertIn(b'Exception in __init__.py', err)
263 self.assertIn(b'Traceback', err)
271 self.assertIn(b'ImportError', err)
272 self.assertIn(b'Exception in __main__ module', err)
[all …]
/external/python/cpython3/Lib/test/test_tools/
Dtest_i18n.py77 self.assertIn("Project-Id-Version", header)
78 self.assertIn("POT-Creation-Date", header)
79 self.assertIn("PO-Revision-Date", header)
80 self.assertIn("Last-Translator", header)
81 self.assertIn("Language-Team", header)
82 self.assertIn("MIME-Version", header)
83 self.assertIn("Content-Type", header)
84 self.assertIn("Content-Transfer-Encoding", header)
85 self.assertIn("Generated-By", header)
119 self.assertIn('doc', msgids)
[all …]
/external/tensorflow/tensorflow/tools/compatibility/
Dast_edits_test.py188 self.assertIn("Using member a.b.c", errors[0])
189 self.assertIn("1:0", errors[0])
190 self.assertIn("Using member a.b.c", errors[0])
191 self.assertIn("1:6", errors[1])
226 self.assertIn(new_text, acceptable_outputs)
241 self.assertIn(new_text, acceptable_outputs)
251 self.assertIn(new_text, acceptable_outputs)
262 self.assertIn(new_text, acceptable_outputs)
272 self.assertIn(new_text, acceptable_outputs)
283 self.assertIn(new_text, acceptable_outputs)
[all …]
Dtf_upgrade_v2_test.py226 self.assertIn(
294 self.assertIn(new_function_name.replace("tf.compat.v2.", "tf."),
301 self.assertIn(
313 self.assertIn(
417 self.assertIn("switch to the schedules in "
533 self.assertIn(
559 self.assertIn(
694 self.assertIn("tf.nn.dropout called without arguments", errors[0])
787 self.assertIn("tf.gradients no longer takes", report)
804 self.assertIn("Optimizer.minimize no longer takes", report)
[all …]
/external/python/cpython3/Lib/test/
Dtest_cgitb.py28 self.assertIn("ValueError", html)
29 self.assertIn(str(err), html)
36 self.assertIn("ValueError", text)
37 self.assertIn("Hello World", text)
46 self.assertIn("ValueError", out)
47 self.assertIn("Hello World", out)
48 self.assertIn("<strong>&lt;module&gt;</strong>", out)
50 self.assertIn('<p>', out)
51 self.assertIn('</p>', out)
61 self.assertIn("ValueError", out)
[all …]
Dtest_contains.py22 self.assertIn(1, b)
24 self.assertIn(1, c)
30 self.assertIn('c', 'abc')
33 self.assertIn('', '')
34 self.assertIn('', 'abc')
42 self.assertIn(i, a)
48 self.assertIn(i, a)
83 self.assertIn(elem, container)
Dtest_range.py62 self.assertIn(a, seq)
67 self.assertIn(b, seq)
72 self.assertIn(-a, seq)
129 self.assertIn(a, seq)
136 self.assertIn(b, seq)
143 self.assertIn(-a, seq)
164 self.assertIn(a, x)
182 self.assertIn(a, x)
201 self.assertIn(a, x)
220 self.assertIn(a, x)
[all …]
Dtest_cmd_line_script.py113 self.assertIn(printed_loader.encode('utf-8'), data)
114 self.assertIn(printed_file.encode('utf-8'), data)
115 self.assertIn(printed_package.encode('utf-8'), data)
116 self.assertIn(printed_argv0.encode('utf-8'), data)
117 self.assertIn(printed_path0.encode('utf-8'), data)
118 self.assertIn(printed_cwd.encode('utf-8'), data)
149 self.assertIn(expected_msg.encode('utf-8'), err)
154 self.assertIn(expected, out)
167 self.assertIn(expected, out)
200 self.assertIn(b'Traceback ', stderr.readline())
[all …]
Dtest_calendar.py583 self.assertIn(len(days), (35, 42))
798 self.assertIn(b'usage:', stderr)
803 self.assertIn(b'usage:', stdout)
804 self.assertIn(b'calendar.py', stdout)
805 self.assertIn(b'--help', stdout)
816 self.assertIn((' %s' % year).encode(), stdout)
817 self.assertIn(b'January', stdout)
818 self.assertIn(b'Mo Tu We Th Fr Sa Su', stdout)
850 self.assertIn('2004'.encode(enc), stdout)
857 self.assertIn(b'Mon Tue Wed Thu Fri Sat Sun', stdout)
[all …]
/external/tensorflow/tensorflow/python/util/
Dtf_should_use_test.py52 self.assertIn('Object was never used', msg)
53 self.assertIn('blah0:0', msg)
54 self.assertIn('in_this_function', msg)
66 self.assertIn('Object was never used', msg)
67 self.assertIn('blah0:0', msg)
68 self.assertIn('in_this_function', msg)
104 self.assertIn('Object was never used', msg)
105 self.assertIn('blah2:0', msg)
106 self.assertIn('return_const', msg)
123 self.assertIn('Object was never used', msg)
[all …]
/external/tensorflow/tensorflow/python/framework/
Derror_interpolation_test.py77 self.assertIn("nodename", summary)
78 self.assertIn("tf.device(/cpu:0)", summary)
79 self.assertIn("<hope.py:24>", summary)
80 self.assertIn("tf.device(/gpu:2)", summary)
81 self.assertIn("<please.py:42>", summary)
87 self.assertIn("nodename", summary)
88 self.assertIn("No device assignments", summary)
104 self.assertIn("node_name", summary)
105 self.assertIn("colocate_with(test_node_1)", summary)
106 self.assertIn("<test_1.py:27>", summary)
[all …]
/external/u-boot/tools/binman/
Dftest.py345 self.assertIn("Must provide a board to process (use -b <board>)",
364 self.assertIn("FATAL ERROR: Unable to parse input tree",
371 self.assertIn("does not have a 'binman' node", str(e.exception))
385 self.assertIn("Unknown entry type 'not-a-valid-type' in node "
427 self.assertIn("Node '/binman/u-boot': Alignment 23 must be a power "
434 self.assertIn('image', control.images)
440 self.assertIn('u-boot', entries)
446 self.assertIn('u-boot-align', entries)
452 self.assertIn('u-boot-size', entries)
459 self.assertIn('u-boot-next', entries)
[all …]
/external/tensorflow/tensorflow/python/debug/lib/
Dsource_utils_test.py139 self.assertIn(self.u_init.op.name,
141 self.assertIn(self.u.op.name, source_annotation[self.u_line_number])
142 self.assertIn(self.v_init.op.name,
144 self.assertIn(self.v.op.name, source_annotation[self.v_line_number])
145 self.assertIn(self.w.op.name, source_annotation[self.w_line_number])
149 self.assertIn(self.u_init.op.name,
151 self.assertIn(self.u.op.name, source_annotation[self.helper_line_number])
152 self.assertIn(self.v_init.op.name,
154 self.assertIn(self.v.op.name, source_annotation[self.helper_line_number])
155 self.assertIn(self.w.op.name, source_annotation[self.helper_line_number])
[all …]
Dsource_remote_test.py97 self.assertIn((self._curr_file_path, a_lineno, this_func_name), tb)
99 self.assertIn((self._curr_file_path, b_lineno, this_func_name), tb)
101 self.assertIn((self._curr_file_path, x_lineno, this_func_name), tb)
103 self.assertIn(
139 self.assertIn((self._curr_file_path, a_lineno, this_func_name), tb)
141 self.assertIn((self._curr_file_path, b_lineno, this_func_name), tb)
143 self.assertIn((self._curr_file_path, x_lineno, this_func_name), tb)
145 self.assertIn(
189 self.assertIn((self._curr_file_path, a_lineno, this_func_name), tb)
191 self.assertIn((self._curr_file_path, b_lineno, this_func_name), tb)
[all …]
/external/toolchain-utils/crosperf/
Dresults_report_unittest.py161 self.assertIn(str(success_keyvals['a_float']), text_report)
162 self.assertIn(success_keyvals['machine'], text_report)
163 self.assertIn(MockCrosMachine.CPUINFO_STRING, text_report)
218 self.assertIn('no result', output.summary_table)
219 self.assertIn('no result', output.full_table)
231 self.assertIn('a_float', output.summary_table)
232 self.assertIn(str(success_keyvals['a_float']), output.summary_table)
233 self.assertIn('a_float', output.full_table)
235 self.assertIn('afloat', output.charts)
246 self.assertIn('no result', output.summary_table)
[all …]
Dschedv2_unittest.py88 self.assertIn('chromeos-daisy1.cros', self.exp.remote)
89 self.assertIn('chromeos-daisy2.cros', self.exp.remote)
90 self.assertIn('chromeos-daisy3.cros', self.exp.remote)
91 self.assertIn('chromeos-daisy4.cros', self.exp.remote)
92 self.assertIn('chromeos-daisy5.cros', self.exp.remote)
104 self.assertIn('chromeos-daisy1.cros', self.exp.remote)
105 self.assertIn('chromeos-daisy2.cros', self.exp.remote)
107 self.assertIn('chromeos-daisy4.cros', self.exp.remote)
113 self.assertIn('chromeos-daisy4.cros', l.remote)
/external/tensorflow/tensorflow/python/autograph/converters/
Dfunction_scopes_test.py42 self.assertIn('test_fn/', result_op.op.name)
60 self.assertIn('test_fn/', result_op.op.name)
61 self.assertIn('First sentence.', result.test_fn.__doc__)
62 self.assertIn('Second sentence.', result.test_fn.__doc__)
77 self.assertIn('test_fn/', first.op.name)
79 self.assertIn('test_fn/inner_fn/', second.op.name)
100 self.assertIn('TestClass/test_fn/', first.op.name)
102 self.assertIn('TestClass/test_fn/inner_fn/', second.op.name)
/external/tensorflow/tensorflow/contrib/layers/python/layers/
Dsummaries_test.py52 self.assertIn(u'SummaryTest/activation', names)
63 self.assertIn(u'SummaryTest/zeros', names)
64 self.assertIn(u'SummaryTest/activation', names)
75 self.assertIn(u'SummaryTest/zeros', names)
76 self.assertIn(u'SummaryTest/sixes', names)
77 self.assertIn(u'SummaryTest/activation', names)
89 self.assertIn(u'Test2_summary', names)
90 self.assertIn(u'Test3_summary', names)
/external/v8/tools/mb/
Dmb_unittest.py322 self.assertIn('Writing """', mbw.out)
323 self.assertIn('/fake_src/buildtools/linux64/gn gen //out/Default --check',
333 self.assertIn('c:\\fake_src\\buildtools\\win\\gn.exe gen //out/Debug '
382 self.assertIn('/fake_src/out/Default/base_unittests.isolate',
384 self.assertIn('/fake_src/out/Default/base_unittests.isolated.gen.json',
409 self.assertIn('c:\\fake_src\\out\\Default\\cc_perftests.isolate',
411 self.assertIn('c:\\fake_src\\out\\Default\\cc_perftests.isolated.gen.json',
445 self.assertIn('c:\\fake_src\\out\\Default\\cc_perftests.isolate',
447 self.assertIn('c:\\fake_src\\out\\Default\\cc_perftests.isolated.gen.json',
579 self.assertIn('Must specify a build --phase', mbw.out)
[all …]
/external/yapf/yapftests/
Dpytree_visitor_test.py103 self.assertIn('file_input [3 children]', dump_output)
104 self.assertIn("NAME(Leaf(NAME, 'foo'))", dump_output)
105 self.assertIn("EQUAL(Leaf(EQUAL, '='))", dump_output)
114 self.assertIn('file_input [3 children]', dump_output)
115 self.assertIn("NAME(Leaf(NAME, 'foo'))", dump_output)
116 self.assertIn("EQUAL(Leaf(EQUAL, '='))", dump_output)

12345678910>>...25