Home
last modified time | relevance | path

Searched refs:assertRegexpMatches (Results 1 – 25 of 40) sorted by relevance

12

/external/llvm-project/lldb/test/API/tools/lldb-server/
DTestGdbRemoteModuleInfo.py32 self.assertRegexpMatches(spec, '"file_path":".*"')
33 self.assertRegexpMatches(spec, '"file_offset":\d+')
34 self.assertRegexpMatches(spec, '"file_size":\d+')
35 self.assertRegexpMatches(spec, '"triple":"\w*-\w*-.*"')
36 self.assertRegexpMatches(spec, '"uuid":"[A-Fa-f0-9]+"')
/external/llvm-project/lldb/test/API/functionalities/darwin_log/filter/regex/message/
DTestDarwinLogFilterRegexMessage.py48 self.assertRegexpMatches(log_entries[0]["message"], r"sub2-cat2",
67 self.assertRegexpMatches(log_entries[0]["message"], r"sub2-cat2",
85 self.assertRegexpMatches(log_entries[0]["message"], r"sub2-cat2",
104 self.assertRegexpMatches(log_entries[0]["message"], r"sub2-cat2",
125 self.assertRegexpMatches(log_entries[0]["message"], r"sub2-cat2",
/external/python/cpython2/Lib/test/
Dtest_site.py137 self.assertRegexpMatches(err_out.getvalue(), "line 1")
138 self.assertRegexpMatches(err_out.getvalue(),
143 self.assertRegexpMatches(err_out.getvalue(), 'Traceback')
144 self.assertRegexpMatches(err_out.getvalue(), r'import bad\)syntax')
145 self.assertRegexpMatches(err_out.getvalue(), 'SyntaxError')
152 self.assertRegexpMatches(err_out.getvalue(), "line 2")
153 self.assertRegexpMatches(err_out.getvalue(),
156 self.assertRegexpMatches(err_out.getvalue(), 'Traceback')
157 self.assertRegexpMatches(err_out.getvalue(), 'ImportError')
166 self.assertRegexpMatches(err_out.getvalue(), "line 1")
[all …]
Dtest_cookielib.py28 self.assertRegexpMatches(text,
49 self.assertRegexpMatches(
1042 self.assertRegexpMatches(h, "\$Port([^=]|$)",
1318 self.assertRegexpMatches(req.get_header("Cookie"),
1376 self.assertRegexpMatches(cookie,
1400 self.assertRegexpMatches(cookie, r'^\$Version="?1"?;')
1401 self.assertRegexpMatches(cookie,
1403 self.assertRegexpMatches(cookie,
1425 self.assertRegexpMatches(cookie,
1476 self.assertRegexpMatches(cookie,
[all …]
Dtest_repr.py188 self.assertRegexpMatches(repr(x), r'<cell at 0x[0-9A-Fa-f]+: '
190 self.assertRegexpMatches(r(x), r'<cell at.*\.\.\..*>')
Dtest_threading.py96 self.assertRegexpMatches(repr(t), r'^<TestThread\(.*, initial\)>$')
106 self.assertRegexpMatches(repr(t), r'^<TestThread\(.*, \w+ -?\d+\)>$')
Dtest_tokenize.py570 self.assertRegexpMatches(str(eval(s)), '-3.21716034272e-0+7')
Dtest_cmd_line_script.py249 self.assertRegexpMatches(err, regex)
Dtest_exceptions.py675 self.assertRegexpMatches(report, "Exception.* ignored")
Dtest_gdb.py892 self.assertRegexpMatches(gdb_output,
/external/llvm-project/lldb/test/API/functionalities/wrong_commands/
DTestWrongCommands.py23 self.assertRegexpMatches(result.GetError(), "Ambiguous command 'g'. Possible matches:")
24 self.assertRegexpMatches(result.GetError(), "gui")
25 self.assertRegexpMatches(result.GetError(), "gdb-remote")
/external/llvm-project/lldb/test/API/functionalities/memory-region/
DTestMemoryRegion.py43 self.assertRegexpMatches(result.GetError(), "Usage: memory region ADDR")
54 self.assertRegexpMatches(result.GetOutput(), "\\[0x0+-")
65 self.assertRegexpMatches(result.GetError(), "Usage: memory region ADDR")
/external/autotest/server/cros/device_health_profile/
Ddevice_health_profile_unittest.py107 self.assertRegexpMatches(cached_time, r'\d{4}[-/]\d{2}[-/]\d{2}')
124 self.assertRegexpMatches(cached_time, r'\d{4}[-/]\d{2}[-/]\d{2}')
179 self.assertRegexpMatches(cached_time, r'\d{4}[-/]\d{2}[-/]\d{2}')
196 self.assertRegexpMatches(cached_time, r'\d{4}[-/]\d{2}[-/]\d{2}')
213 self.assertRegexpMatches(cached_time, r'\d{4}[-/]\d{2}[-/]\d{2}')
/external/python/futures/
Dtest_futures.py242 self.assertRegexpMatches(t.name, r'^SpecialPool_[0-4]$')
255 self.assertRegexpMatches(t.name, r'ThreadPoolExecutor-\d+_[0-4]$')
630 self.assertRegexpMatches(repr(PENDING_FUTURE),
632 self.assertRegexpMatches(repr(RUNNING_FUTURE),
634 self.assertRegexpMatches(repr(CANCELLED_FUTURE),
636 self.assertRegexpMatches(repr(CANCELLED_AND_NOTIFIED_FUTURE),
638 self.assertRegexpMatches(
641 self.assertRegexpMatches(
/external/python/cpython2/Lib/lib2to3/fixes/
Dfix_asserts.py14 assertRegexpMatches="assertRegex",
/external/python/cpython3/Lib/lib2to3/fixes/
Dfix_asserts.py14 assertRegexpMatches="assertRegex",
/external/python/cpython2/Lib/ctypes/test/
Dtest_macholib.py59 self.assertRegexpMatches(result, r".*/lib/libz\..*.*\.dylib")
/external/chromium-trace/catapult/common/py_utils/py_utils/
Dexc_util_unittest.py58 self.assertRegexpMatches(
/external/llvm-project/lldb/test/API/functionalities/darwin_log/format/
DTestDarwinLogMessageFormat.py91 self.assertRegexpMatches(fields[0],
/external/python/asn1crypto/tests/
D_unittest_compat.py36 unittest.TestCase.assertRegex = unittest.TestCase.assertRegexpMatches
/external/python/cpython2/Lib/lib2to3/tests/
Dtest_main.py109 self.assertRegexpMatches(
Dtest_refactor.py234 self.assertRegexpMatches(message, message_regex)
/external/python/cpython2/Lib/lib-tk/test/test_tkinter/
Dtest_variables.py24 self.assertRegexpMatches(str(v), r"^PY_VAR(\d+)$")
/external/llvm-project/lldb/third_party/Python/module/unittest2/unittest2/test/
Dtest_case.py1168 self.assertRegexpMatches('asdfabasdf', r'ab+')
1169 self.assertRaises(self.failureException, self.assertRegexpMatches,
/external/python/cpython2/Lib/unittest/test/
Dtest_case.py953 self.assertRegexpMatches('asdfabasdf', r'ab+')
954 self.assertRaises(self.failureException, self.assertRegexpMatches,

12