/external/python/cpython3/Lib/unittest/test/testmock/ |
D | testhelpers.py | 7 call, _Call, create_autospec, MagicMock, 78 kall = _Call() 79 self.assertEqual(kall, _Call()) 80 self.assertEqual(kall, _Call(('',))) 81 self.assertEqual(kall, _Call(((),))) 82 self.assertEqual(kall, _Call(({},))) 83 self.assertEqual(kall, _Call(('', ()))) 84 self.assertEqual(kall, _Call(('', {}))) 85 self.assertEqual(kall, _Call(('', (), {}))) 86 self.assertEqual(kall, _Call(('foo',))) [all …]
|
D | testmock.py | 11 NonCallableMagicMock, _Call, _CallList, 1791 self.assertEqual(type(call.name), _Call) 1792 self.assertEqual(type(call.name().name), _Call) 1798 self.assertEqual(type(call.parent), _Call) 1799 self.assertEqual(type(call.parent().parent), _Call)
|
/external/python/mock/mock/tests/ |
D | testhelpers.py | 12 from mock.mock import _Call, _CallList 80 kall = _Call() 81 self.assertEqual(kall, _Call()) 82 self.assertEqual(kall, _Call(('',))) 83 self.assertEqual(kall, _Call(((),))) 84 self.assertEqual(kall, _Call(({},))) 85 self.assertEqual(kall, _Call(('', ()))) 86 self.assertEqual(kall, _Call(('', {}))) 87 self.assertEqual(kall, _Call(('', (), {}))) 88 self.assertEqual(kall, _Call(('foo',))) [all …]
|
/external/v8/tools/dev/ |
D | gm.py | 151 def _Call(cmd, silent=False): function 197 _Call("notify-send '{}' '{}'".format(summary, body), silent=True) 241 code = _Call("gn gen %s" % path) 247 return _Call("autoninja -C %s %s" % (path, targets)) 257 _Call("gdb -args %(path)s/mksnapshot " 270 return _Call("tools/run-tests.py --arch=%s --mode=%s %s" % 370 _Call("ps -e | grep compiler_proxy > /dev/null", silent=True) != 0): 371 _Call("%s/goma_ctl.py ensure_start" % GOMADIR)
|
D | gen-tags.py | 30 def _Call(cmd, silent=False): function 85 _Call("ctags --fields=+l -L " + gtags_filename)
|
/external/python/cpython2/Lib/lib2to3/tests/ |
D | test_util.py | 82 def _Call(self, name, args=None, prefix=None): member in Test_Call 100 self.assertStr(self._Call("A"), "A()") 101 self.assertStr(self._Call("b", kids[1]), "b(1,2,3)") 102 self.assertStr(self._Call("a.b().c", kids[2]), "a.b().c(1,3,2,4)") 103 self.assertStr(self._Call("d", kids[3], prefix=" "), " d(b, j)")
|
/external/python/cpython3/Lib/lib2to3/tests/ |
D | test_util.py | 79 def _Call(self, name, args=None, prefix=None): member in Test_Call 97 self.assertStr(self._Call("A"), "A()") 98 self.assertStr(self._Call("b", kids[1]), "b(1,2,3)") 99 self.assertStr(self._Call("a.b().c", kids[2]), "a.b().c(1,3,2,4)") 100 self.assertStr(self._Call("d", kids[3], prefix=" "), " d(b, j)")
|
/external/v8/src/js/ |
D | intl.js | 178 new GlobalRegExp('^(' + %_Call(ArrayJoin, ObjectKeys(AVAILABLE_LOCALES), '|') + ')$'); 315 locale = %_Call(StringSubstring, locale, 0, pos); 543 return %StringToUpperCaseIntl(%_Call(StringSubstr, word, 0, 1)) + 544 %StringToLowerCaseIntl(%_Call(StringSubstr, word, 1)); 561 var separator = %_Call(StringSubstring, match[2], 0, 1); 587 %_Call(ArrayPush, seen, %CanonicalizeLanguageTag(locales)); 601 %_Call(ArrayPush, seen, tag);
|
D | macros.py | 70 macro HAS_OWN_PROPERTY(obj, key) = (%_Call(ObjectHasOwnProperty, obj, key));
|
D | array.js | 357 return %_Call(ObjectToString, array); 359 return %_Call(func, array);
|
/external/pdfium/third_party/pymock/ |
D | mock.py | 962 self.call_args = _Call((args, kwargs), two=True) 963 self.call_args_list.append(_Call((args, kwargs), two=True)) 967 self.mock_calls.append(_Call(('', args, kwargs))) 974 this_mock_call = _Call((_new_name, args, kwargs)) 990 this_method_call = _Call((name, args, kwargs)) 1969 class _Call(tuple): class 2084 return _Call(('', args, kwargs), name='()') 2087 return _Call((self.name, args, kwargs), name=name, parent=self) 2092 return _Call(name=attr, from_kall=False) 2094 return _Call(name=name, parent=self, from_kall=False) [all …]
|
/external/python/cpython2/Lib/test/ |
D | _mock_backport.py | 920 _call = _Call((args, kwargs), two=True) 923 self.mock_calls.append(_Call(('', args, kwargs))) 930 this_mock_call = _Call((_new_name, args, kwargs)) 946 this_method_call = _Call((name, args, kwargs)) 1910 class _Call(tuple): class 2028 return _Call(('', args, kwargs), name='()') 2031 return _Call((self.name, args, kwargs), name=name, parent=self) 2036 return _Call(name=attr, from_kall=False) 2038 return _Call(name=name, parent=self, from_kall=False) 2081 call = _Call(from_kall=False)
|
/external/python/cpython3/Lib/unittest/ |
D | mock.py | 969 _call = _Call((args, kwargs), two=True) 982 self.mock_calls.append(_Call(('', args, kwargs))) 990 _new_parent.method_calls.append(_Call((method_call_name, args, kwargs))) 996 this_mock_call = _Call((mock_call_name, args, kwargs)) 1974 class _Call(tuple): class 2092 return _Call(('', args, kwargs), name='()') 2095 return _Call((self._mock_name, args, kwargs), name=name, parent=self) 2100 return _Call(name=attr, from_kall=False) 2102 return _Call(name=name, parent=self, from_kall=False) 2145 call = _Call(from_kall=False)
|
/external/python/mock/mock/ |
D | mock.py | 1072 _call = _Call((args, kwargs), two=True) 1075 self.mock_calls.append(_Call(('', args, kwargs))) 1082 this_mock_call = _Call((_new_name, args, kwargs)) 1098 this_method_call = _Call((name, args, kwargs)) 2091 class _Call(tuple): class 2208 return _Call(('', args, kwargs), name='()') 2211 return _Call((self.name, args, kwargs), name=name, parent=self) 2216 return _Call(name=attr, from_kall=False) 2218 return _Call(name=name, parent=self, from_kall=False) 2261 call = _Call(from_kall=False)
|
/external/grpc-grpc/src/python/grpcio_testing/grpc_testing/_channel/ |
D | _invocation.py | 60 class _Call(grpc.Call): class 277 return read.response, _Call(handler)
|
/external/python/cpython2/Demo/parser/ |
D | unparse.py | 477 def _Call(self, t): member in Unparser
|
/external/python/cpython3/Tools/parser/ |
D | unparse.py | 548 def _Call(self, t): member in Unparser
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.6.1rc1.rst | 458 Fix unittest.mock._Call helper: don't ignore the name parameter anymore.
|
D | 3.7.2rc1.rst | 50 Internal attributes' names of unittest.mock._Call and
|
D | 3.5.4rc1.rst | 798 Fix unittest.mock._Call helper: don't ignore the name parameter anymore.
|
D | 3.5.2rc1.rst | 875 Fix a regression in mock.MagicMock. _Call is a subclass of tuple (changeset
|
D | 3.6.0a1.rst | 1393 Fix a regression in mock.MagicMock. _Call is a subclass of tuple (changeset
|
D | 3.7.0a1.rst | 3689 Fix unittest.mock._Call helper: don't ignore the name parameter anymore.
|