Home
last modified time | relevance | path

Searched refs:methodName (Results 1 - 25 of 45) sorted by relevance

12

/third_party/protobuf/php/tests/
H A DGeneratedServiceTest.php60 foreach ($this->methodNames as $methodName) {
61 $this->assertTrue($this->serviceClass->hasMethod($methodName));
67 foreach ($this->methodNames as $methodName) {
68 $docComment = $this->serviceClass->getMethod($methodName)->getDocComment();
69 $this->assertContains($methodName, $docComment);
77 foreach ($this->methodNames as $methodName) {
78 $docComment = $this->namespacedServiceClass->getMethod($methodName)->getDocComment();
79 $this->assertContains($methodName, $docComment);
87 foreach ($this->methodNames as $methodName) {
88 $method = $this->serviceClass->getMethod($methodName);
[all...]
/third_party/icu/icu4j/main/tests/localespi/src/com/ibm/icu/dev/test/localespi/
H A DNumberFormatTest.java73 private NumberFormat getJDKInstance(int type, Locale loc, String[] methodName) { in getJDKInstance() argument
99 if (methodName != null) { in getJDKInstance()
100 methodName[0] = method; in getJDKInstance()
105 private com.ibm.icu.text.NumberFormat getICUInstance(int type, Locale loc, String[] methodName) { in getICUInstance() argument
131 if (methodName != null) { in getICUInstance()
132 methodName[0] = method; in getICUInstance()
171 String[] methodName = new String[1]; in TestICUEquivalent()
175 NumberFormat nf = getJDKInstance(type, iculoc, methodName); in TestICUEquivalent()
187 + methodName[0] + ") in locale " + loc + " - JDK:" + s1 + " ICU:" + s2); in TestICUEquivalent()
205 + " NumberFormat(" + methodName[ in TestICUEquivalent()
[all...]
H A DDateFormatTest.java64 private DateFormat getJDKInstance(int dstyle, int tstyle, Locale loc, String[] methodName) { in getJDKInstance() argument
77 if (methodName != null) { in getJDKInstance()
78 methodName[0] = method; in getJDKInstance()
83 private com.ibm.icu.text.DateFormat getICUInstance(int dstyle, int tstyle, Locale loc, String[] methodName) { in getICUInstance() argument
96 if (methodName != null) { in getICUInstance()
97 methodName[0] = method; in getICUInstance()
/third_party/typescript/tests/baselines/reference/
H A DcomputedPropertyNamesOnOverloads_ES6.js2 var methodName = "method"; variable
5 [methodName](v: string);
6 [methodName]();
7 [methodName](v?: string) { }
11 var methodName = "method"; variable
14 [methodName](v) { }
H A DcomputedPropertyNamesOnOverloads_ES5.js2 var methodName = "method"; variable
5 [methodName](v: string);
6 [methodName]();
7 [methodName](v?: string) { }
11 var methodName = "method"; variable
16 C.prototype[methodName] = function (v) { };
H A DcomputedPropertyNames2_ES6.js2 var methodName = "method"; variable
5 [methodName]() { }
6 static [methodName]() { }
14 var methodName = "method"; variable
17 [methodName]() { }
18 static [methodName]() { }
H A DcomputedPropertyNames2_ES5.js2 var methodName = "method"; variable
5 [methodName]() { }
6 static [methodName]() { }
14 var methodName = "method"; variable
19 C.prototype[methodName] = function () { };
20 C[methodName] = function () { };
H A DspyComparisonChecking.js20 for (const methodName of methodNames) {
21 spyObj[methodName].and.returnValue(1);
30 var methodName = methodNames_1[_i];
31 spyObj[methodName].and.returnValue(1);
/third_party/node/lib/internal/test_runner/mock/
H A Dmock.js90 const { descriptor, object, original, methodName } = this.#restore;
92 if (typeof methodName === 'string') {
94 ObjectDefineProperty(object, methodName, descriptor);
186 * @param {string} methodName - The name of the method to be tracked.
196 methodName,
200 validateStringOrSymbol(methodName, 'methodName');
228 const descriptor = findMethodOnPrototypeChain(objectOrFunction, methodName);
242 'methodName', original, 'must be a method',
246 const restore = { __proto__: null, descriptor, object: objectOrFunction, methodName };
[all...]
/third_party/node/test/parallel/
H A Dtest-whatwg-url-properties.js62 { name: Symbol.iterator, methodName: 'entries' },
64 ].forEach(({ name, methodName }) => {
65 testMethod(URLSearchParams.prototype, name, methodName);
95 function testMethod(target, name, methodName = stringifyName(name)) {
102 assert.strictEqual(value.name, methodName);
114 const methodName = stringifyName(name);
117 assert.strictEqual(get.name, `get ${methodName}`);
127 assert.strictEqual(set.name, `set ${methodName}`);
/third_party/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/
H A DDebugWriter.java128 private String plainMethodName(String methodName) { in plainMethodName() argument
129 if (methodName.startsWith("lambda$")) { in plainMethodName()
130 methodName = methodName.substring("lambda$".length()); in plainMethodName()
132 if (SEPARATORS.matchesAnyOf(methodName)) { in plainMethodName()
133 methodName = methodName.substring(0, SEPARATORS.indexIn(methodName)); in plainMethodName()
135 return methodName; in plainMethodName()
/third_party/protobuf/src/google/protobuf/compiler/objectivec/
H A Dmethod_dump.sh58 NSString *methodName =
61 [reservedNames addObject:methodName];
63 if (argCount == 3 && [methodName hasPrefix:@"set"] && methodName.length > 4) {
64 NSString *firstLetter = [methodName substringWithRange:NSMakeRange(3,1)];
73 [methodName substringWithRange:NSMakeRange(4, methodName.length - 5)];
74 methodName = [lowerFirstLetter stringByAppendingString:restOfString];
75 [reservedNames addObject:methodName];
/third_party/node/benchmark/child_process/
H A Dchild-process-params.js13 methodName: [
23 function main({ n, methodName, params }) {
24 const method = cp[methodName];
26 switch (methodName) {
/third_party/icu/icu4j/tools/build/src/com/ibm/icu/dev/tool/docs/
H A DAPIStatusConsistencyChecker.java93 String methodName = api.getName(); in checkConsistency()
97 if (method[0].equals(methodName) && method[1].equals(methodSig)) { in checkConsistency()
119 pw.println("## Error ## " + methodName + " in " + fullClassName); in checkConsistency()
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
H A DExtensionRegistryFactory.java81 private static final ExtensionRegistryLite invokeSubclassFactory(String methodName) { in invokeSubclassFactory() argument
88 EXTENSION_REGISTRY_CLASS.getDeclaredMethod(methodName).invoke(null); in invokeSubclassFactory()
/third_party/node/benchmark/napi/function_args/
H A Dindex.js85 const methodName = 'callWith' + type;
86 const fn = bindings[methodName];
/third_party/skia/src/sksl/ir/
H A DSkSLFieldAccess.cpp24 String methodName = String("$") + field; in Convert() local
25 const Symbol* result = symbolTable[methodName]; in Convert()
/third_party/python/Lib/unittest/test/
H A Dtest_assertions.py185 def assertMessages(self, methodName, args, errors):
187 Check that methodName(*args) raises the correct error messages.
200 return getattr(test, methodName)
351 def assertMessagesCM(self, methodName, args, func, errors):
365 method = getattr(cls, methodName)
/third_party/python/Lib/test/
H A Dtest_socket.py403 def __init__(self, methodName='runTest'):
404 SocketTCPTest.__init__(self, methodName=methodName)
417 def __init__(self, methodName='runTest'):
418 SocketUDPTest.__init__(self, methodName=methodName)
433 def __init__(self, methodName='runTest'):
434 SocketUDPLITETest.__init__(self, methodName=methodName)
447 def __init__(self, methodName
[all...]
/third_party/python/Lib/unittest/
H A Dasync_case.py35 def __init__(self, methodName='runTest'):
36 super().__init__(methodName)
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/shaping/
H A DArabicShapingRegTest.java207 private boolean getStaticCharacterHelperFunctionValue(String methodName, char testValue) throws Exception { in getStaticCharacterHelperFunctionValue() argument
208 Method m = ArabicShaping.class.getDeclaredMethod(methodName, Character.TYPE); in getStaticCharacterHelperFunctionValue()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/shaping/
H A DArabicShapingRegTest.java204 private boolean getStaticCharacterHelperFunctionValue(String methodName, char testValue) throws Exception { in getStaticCharacterHelperFunctionValue() argument
205 Method m = ArabicShaping.class.getDeclaredMethod(methodName, Character.TYPE); in getStaticCharacterHelperFunctionValue()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/
H A DTestFmwk.java692 String methodName = st.getMethodName(); in sourceLocation()
693 if (methodName != null && in sourceLocation()
694 (methodName.startsWith("Test") || methodName.startsWith("test") || methodName.equals("main"))) { in sourceLocation()
/third_party/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/test/
H A DTestFmwk.java667 String methodName = st.getMethodName(); in sourceLocation()
668 if (methodName != null && in sourceLocation()
669 (methodName.startsWith("Test") || methodName.startsWith("test") || methodName.equals("main"))) { in sourceLocation()
/third_party/lzma/CPP/7zip/Archive/7z/
H A D7zHandler.cpp533 AString methodName; in SetMethodToProp() local
534 FindMethod(EXTERNAL_CODECS_VARS id64, methodName); in SetMethodToProp()
537 if (methodName.IsEmpty()) in SetMethodToProp()
541 const unsigned len = methodName.Len(); in SetMethodToProp()
546 temp[pos + i] = methodName[i]; in SetMethodToProp()

Completed in 23 milliseconds

12