Home
last modified time | relevance | path

Searched refs:Klass (Results 1 – 6 of 6) sorted by relevance

/third_party/node/src/
Dmemory_tracker.h25 #define SET_MEMORY_INFO_NAME(Klass) \ argument
26 inline const char* MemoryInfoName() const override { return #Klass; }
30 #define SET_SELF_SIZE(Klass) \ argument
31 inline size_t SelfSize() const override { return sizeof(Klass); }
/third_party/python/Lib/unittest/test/testmock/
Dtestmock.py1319 for Klass in Mock, MagicMock:
1321 m = Klass(side_effect=iterable)
1755 for Klass in list(klasses):
1756 klasses.append(lambda K=Klass: K(spec=Anything))
1757 klasses.append(lambda K=Klass: K(spec_set=Anything))
1759 for Klass in klasses:
1761 mock = Klass()
1798 for Klass in MagicMock, NonCallableMagicMock:
1799 mock = Klass()
1805 mock = Klass()
[all …]
Dtestcallable.py110 for Klass in CallableX, Sub, Multi:
111 with patch('%s.X' % __name__, **{arg: Klass}) as mock:
Dtestpatch.py1163 for Klass in MockClasses:
1166 p = patch(foo_name, new_callable=Klass, **kwargs)
/third_party/python/Lib/unittest/
Dmock.py1461 Klass = AsyncMock
1463 Klass = MagicMock
1466 Klass = new_callable
1476 Klass = AsyncMock
1478 Klass = NonCallableMagicMock
1486 if (isinstance(Klass, type) and
1487 issubclass(Klass, NonCallableMock) and self.attribute):
1491 new = Klass(**_kwargs)
1501 Klass = NonCallableMagicMock
1504 new.return_value = Klass(_new_parent=new, _new_name='()',
[all …]
/third_party/icu/tools/unicodetools/com/ibm/rbm/resources/
DRBManager_sv.properties687 import_java_title=Java\ ListResourceBundle\ Klass\ importering