/external/androidplot/AndroidPlot-Core/src/test/java/com/androidplot/mock/ |
D | MockContext.java | 43 * Useful for when methods are going to actually be called on a Context instance. 52 … return null; //To change body of implemented methods use File | Settings | File Templates. in getAssets() 60 … return null; //To change body of implemented methods use File | Settings | File Templates. in getPackageManager() 65 … return null; //To change body of implemented methods use File | Settings | File Templates. in getContentResolver() 70 … return null; //To change body of implemented methods use File | Settings | File Templates. in getMainLooper() 75 … return null; //To change body of implemented methods use File | Settings | File Templates. in getApplicationContext() 80 //To change body of implemented methods use File | Settings | File Templates. in setTheme() 85 … return null; //To change body of implemented methods use File | Settings | File Templates. in getTheme() 90 … return null; //To change body of implemented methods use File | Settings | File Templates. in getClassLoader() 95 … return null; //To change body of implemented methods use File | Settings | File Templates. in getPackageName() [all …]
|
/external/testng/src/main/java/org/testng/ |
D | ITestClass.java | 8 * <li> The test methods 9 * <li>The configuration methods (test and method) 13 * Note that the methods returned by instances of this class 24 * Returns all the instances the methods will be invoked upon. 30 * @return All the instances the methods will be invoked upon. 54 * Returns all the applicable test methods. 55 * @return All the applicable test methods. 60 * Returns all the methods that should be invoked 62 * @return All the methods that should be invoked 68 * Returns all the methods that should be invoked [all …]
|
D | ITestMethodFinder.java | 10 * to find its test methods. At the time of this writing, TestNG 12 * locate these methods) and JUnit (setUp()/tearDown() and all 13 * methods that start with "test" or have a suite() method). 21 * @return All the applicable test methods. 26 * @return All the methods that should be invoked 32 * @return All the methods that should be invoked 38 * @return All the methods that should be invoked 40 * any of its test methods is invoked. 45 * @return All the methods that should be invoked 47 * all its test methods have completed. [all …]
|
/external/testng/src/main/java/org/testng/internal/ |
D | MethodInheritance.java | 42 * Fix the methodsDependedUpon to make sure that @Configuration methods 43 * respect inheritance (before methods are invoked in the order Base first 44 * and after methods are invoked in the order Child first) 46 * @param methods the list of methods 47 * @param before true if we are handling a before method (meaning, the methods 49 * methods first, base classes last). 51 public static void fixMethodInheritance(ITestNGMethod[] methods, boolean before) { in fixMethodInheritance() argument 52 // Map of classes -> List of methods that belong to this class or same hierarchy in fixMethodInheritance() 56 // Put the list of methods in their hierarchy buckets in fixMethodInheritance() 58 for (ITestNGMethod method : methods) { in fixMethodInheritance() [all …]
|
D | MethodHelper.java | 25 * Collection of helper methods to help sort and arrange methods. 38 * Collects and orders test or configuration methods 39 * @param methods methods to be worked on 40 * @param forTests true for test methods, false for configuration methods 43 * @param unique true for unique methods, false otherwise 45 * @return list of ordered methods 47 public static ITestNGMethod[] collectAndOrderMethods(List<ITestNGMethod> methods, in collectAndOrderMethods() argument 52 MethodGroupsHelper.collectMethodsByGroup(methods.toArray(new ITestNGMethod[methods.size()]), in collectAndOrderMethods() 64 * Finds TestNG methods that the specified TestNG method depends upon 66 * @param methods list of methods to search for depended upon methods [all …]
|
D | MethodGroupsHelper.java | 22 * Collections of helper methods to help deal with test methods 35 * Collect all the methods that belong to the included groups and exclude all 36 * the methods that belong to an excluded group. 38 static void collectMethodsByGroup(ITestNGMethod[] methods, in collectMethodsByGroup() argument 45 for (ITestNGMethod tm : methods) { in collectMethodsByGroup() 126 * Extracts the map of groups and their corresponding methods from the <code>classes</code>. 131 ITestNGMethod[] methods = before ? cls.getBeforeGroupsMethods() : cls.getAfterGroupsMethods(); in findGroupsMethods() local 132 for (ITestNGMethod method : methods) { in findGroupsMethods() 140 // BeforeGroups/AfterGroups methods should only be invoked once. in findGroupsMethods() 177 // Adds all included methods to runningMethods in findGroupTransitiveClosure() [all …]
|
/external/mockito/src/test/java/org/mockitousage/junitrule/ |
D | VerificationCollectorImplTest.java | 26 IMethods methods = mock(IMethods.class); in should_not_throw_any_exceptions_when_verifications_are_successful() local 27 methods.simpleMethod(); in should_not_throw_any_exceptions_when_verifications_are_successful() 29 verify(methods).simpleMethod(); in should_not_throw_any_exceptions_when_verifications_are_successful() 37 IMethods methods = mock(IMethods.class); in should_collect_verification_failures() local 39 verify(methods).simpleMethod(); in should_collect_verification_failures() 47 IMethods methods = mock(IMethods.class); in should_collect_multiple_verification_failures() local 49 verify(methods).simpleMethod(); in should_collect_multiple_verification_failures() 50 verify(methods).byteReturningMethod(); in should_collect_multiple_verification_failures() 64 IMethods methods = mock(IMethods.class); in should_only_collect_failures_ignore_successful_verifications() local 66 verify(methods, never()).simpleMethod(); in should_only_collect_failures_ignore_successful_verifications() [all …]
|
/external/grpc-grpc-java/core/src/main/java/io/grpc/ |
D | ServiceDescriptor.java | 40 private final Collection<MethodDescriptor<?, ?>> methods; field in ServiceDescriptor 48 * @param methods The methods that are part of the service 51 public ServiceDescriptor(String name, MethodDescriptor<?, ?>... methods) { in ServiceDescriptor() argument 52 this(name, Arrays.asList(methods)); in ServiceDescriptor() 60 * @param methods The methods that are part of the service 63 public ServiceDescriptor(String name, Collection<MethodDescriptor<?, ?>> methods) { in ServiceDescriptor() argument 64 this(newBuilder(name).addAllMethods(checkNotNull(methods, "methods"))); in ServiceDescriptor() 69 validateMethodNames(name, b.methods); in ServiceDescriptor() 70 this.methods = Collections.unmodifiableList(new ArrayList<MethodDescriptor<?, ?>>(b.methods)); in ServiceDescriptor() 84 * A collection of {@link MethodDescriptor} instances describing the methods exposed by the [all …]
|
/external/deqp/external/openglcts/modules/gl/ |
D | gl4cShaderDrawParametersTests.hpp | 78 /* Public methods */ 92 /* Public methods */ 100 /* Private methods */ 114 /* Protected methods */ 123 /* Public methods */ 131 /* Private methods */ 140 /* Public methods */ 148 /* Private methods */ 157 /* Public methods */ 165 /* Private methods */ [all …]
|
D | gl4cShadingLanguage420PackTests.hpp | 372 /* Public static methods */ 451 /* Public methods */ 457 /* Public methods inherited from TestCase */ 461 /* Methods to be implemented by child class */ 471 /* Methods available to child classes */ 483 /* Private methods */ 491 /* Public methods */ 499 /* Protected methods inherited from TestBase */ 503 /* Protected methods to be implemented by child class */ 514 /* Public methods */ [all …]
|
D | gl4cMultiBindTests.hpp | 52 /* Public methods */ 59 /* Public methods inherited from TestCase */ 73 /* Public methods */ 80 /* Public methods inherited from TestCase */ 94 /* Public methods */ 101 /* Public methods inherited from TestCase */ 119 /* Public methods */ 126 /* Public methods inherited from TestCase */ 141 /* Public methods */ 148 /* Public methods inherited from TestCase */ [all …]
|
/external/auto/common/src/main/java/com/google/auto/common/ |
D | MoreElements.java | 51 * Static utility methods pertaining to {@link Element} instances. 249 * <p>Here is an example how one could get a List of static methods of a class: 264 * <p>Here is an example how one could get a List of methods with certain modifiers of a class: 281 * Returns the set of all non-private, non-static methods from {@code type}, including methods 282 * that it inherits from its ancestors. Inherited methods that are overridden are not included in 287 * {@code type} inherits those methods from different ancestors. For example, if it 292 * <p>The order of the returned set is deterministic: within a class or interface, methods are in 293 * the order they appear in the source code; methods in ancestors come before methods in 294 * descendants; methods in interfaces come before methods in classes; and in a class or interface 298 * @param type the type whose own and inherited methods are to be returned [all …]
|
/external/testng/src/test/java/org/testng/internal/ |
D | MethodInstanceTest.java | 35 List<MethodInstance> methods = new ArrayList<>(); in sortByIndexSatisfiesContract() local 36 methods.add(buildMethodInstance("unittests", "StateTest", 1, "aCategorization")); in sortByIndexSatisfiesContract() 37 methods.add(buildMethodInstance("unittests", "StateTest", 1, "bCategorization")); in sortByIndexSatisfiesContract() 38 methods.add(buildMethodInstance("unittests", "StateTest", 1, "cCategorization")); in sortByIndexSatisfiesContract() 39 methods.add(buildMethodInstance("unittests", "StateTest", 1, "dCategorization")); in sortByIndexSatisfiesContract() 40 methods.add(buildMethodInstance("unittests", "StateTest", 1, "eCategorization")); in sortByIndexSatisfiesContract() 41 methods.add(buildMethodInstance("unittests", "StateTest", 1, "fCategorization")); in sortByIndexSatisfiesContract() 42 methods.add(buildMethodInstance("unittests", "StatusTest", 2, "aStatus")); in sortByIndexSatisfiesContract() 43 methods.add(buildTestNgFactoryMethodInstance("unittests")); in sortByIndexSatisfiesContract() 44 methods.add(buildTestNgFactoryMethodInstance("unittests")); in sortByIndexSatisfiesContract() [all …]
|
/external/libexif/libexif/ |
D | exif-mnote-data.c | 61 if (d->methods.free) d->methods.free (d); in exif_mnote_data_free() 83 if (!d || !d->methods.load) return; in exif_mnote_data_load() 84 d->methods.load (d, buf, buf_size); in exif_mnote_data_load() 91 if (!d || !d->methods.save) return; in exif_mnote_data_save() 92 d->methods.save (d, buf, buf_size); in exif_mnote_data_save() 98 if (!d || !d->methods.set_byte_order) return; in exif_mnote_data_set_byte_order() 99 d->methods.set_byte_order (d, o); in exif_mnote_data_set_byte_order() 105 if (!d || !d->methods.set_offset) return; in exif_mnote_data_set_offset() 106 d->methods.set_offset (d, o); in exif_mnote_data_set_offset() 112 if (!d || !d->methods.count) return 0; in exif_mnote_data_count() [all …]
|
/external/deqp/external/openglcts/modules/gles31/ |
D | es31cArrayOfArraysTests.hpp | 131 /* Public methods */ 141 /* Public methods */ 273 /* Protected methods */ 315 /* Public methods */ 330 /* Protected methods */ 338 /* Public methods */ 354 /* Protected methods */ 362 /* Public methods */ 380 /* Protected methods */ 388 /* Public methods */ [all …]
|
D | es31cTextureStorageMultisampleDependenciesTests.hpp | 43 /* Public methods */ 62 /* Public methods */ 83 /* Public methods */ 106 /* Public methods */ 128 /* Public methods */ 148 /* Public methods */ 155 /* Private methods */ 169 /* Public methods */ 176 /* Private methods */ 190 /* Public methods */ [all …]
|
/external/deqp/external/openglcts/modules/glesext/tessellation_shader/ |
D | esextcTessellationShaderErrors.hpp | 38 /* Public methods */ 49 /* Public methods */ 93 /* Protected methods */ 104 /* Private methods */ 124 /* Public methods */ 132 /* Protected methods */ 149 /* Public methods */ 157 /* Protected methods */ 173 /* Public methods */ 181 /* Protected methods */ [all …]
|
/external/grpc-grpc/src/python/grpcio_tests/tests/protoc_plugin/ |
D | beta_python_plugin_test.py | 232 """Provides a servicer backend that fails to implement methods and its stub. 289 methods and does not exist for response-streaming methods. 372 self._service_pb2) as (methods, stub): 375 expected_response = methods.UnaryCall(request, 'not a real context!') 382 self._service_pb2) as (methods, stub): 385 with methods.pause(): 389 expected_response = methods.UnaryCall(request, 'not a real RpcContext!') 396 self._service_pb2) as (methods, stub): 398 with methods.pause(): 408 self._service_pb2) as (methods, stub): [all …]
|
/external/javassist/src/main/javassist/bytecode/ |
D | BootstrapMethodsAttribute.java | 50 * @param methods the contents. 52 public BootstrapMethodsAttribute(ConstPool cp, BootstrapMethod[] methods) { in BootstrapMethodsAttribute() argument 55 for (int i = 0; i < methods.length; i++) in BootstrapMethodsAttribute() 56 size += 4 + methods[i].arguments.length * 2; in BootstrapMethodsAttribute() 59 ByteArray.write16bit(methods.length, data, 0); // num_bootstrap_methods in BootstrapMethodsAttribute() 61 for (int i = 0; i < methods.length; i++) { in BootstrapMethodsAttribute() 62 ByteArray.write16bit(methods[i].methodRef, data, pos); in BootstrapMethodsAttribute() 63 ByteArray.write16bit(methods[i].arguments.length, data, pos + 2); in BootstrapMethodsAttribute() 64 int[] args = methods[i].arguments; in BootstrapMethodsAttribute() 85 BootstrapMethod[] methods = new BootstrapMethod[num]; in getMethods() local [all …]
|
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/introspect/ |
D | AnnotatedMethodCollector.java | 46 Map<MemberKey,MethodBuilder> methods = new LinkedHashMap<>(); in collect() local 48 // first: methods from the class itself in collect() 49 _addMemberMethods(tc, mainType.getRawClass(), methods, primaryMixIn); in collect() 56 type.getRawClass(), methods, mixin); in collect() 63 _addMethodMixIns(tc, mainType.getRawClass(), methods, mixin); //, mixins); in collect() 72 if (checkJavaLangObject && (_intr != null) && !methods.isEmpty()) { in collect() 74 for (Map.Entry<MemberKey,MethodBuilder> entry : methods.entrySet()) { in collect() 93 if (methods.isEmpty()) { in collect() 96 Map<MemberKey,AnnotatedMethod> actual = new LinkedHashMap<>(methods.size()); in collect() 97 for (Map.Entry<MemberKey,MethodBuilder> entry : methods.entrySet()) { in collect() [all …]
|
/external/grpc-grpc/src/python/grpcio_tests/tests/interop/ |
D | _intraop_test_case.py | 16 from tests.interop import methods 20 """Unit test methods. 23 setUp and tearDown methods that manage a stub attribute. 27 methods.TestCase.EMPTY_UNARY.test_interoperability(self.stub, None) 30 methods.TestCase.LARGE_UNARY.test_interoperability(self.stub, None) 33 methods.TestCase.SERVER_STREAMING.test_interoperability(self.stub, None) 36 methods.TestCase.CLIENT_STREAMING.test_interoperability(self.stub, None) 39 methods.TestCase.PING_PONG.test_interoperability(self.stub, None) 42 methods.TestCase.CANCEL_AFTER_BEGIN.test_interoperability( 46 methods.TestCase.CANCEL_AFTER_FIRST_RESPONSE.test_interoperability( [all …]
|
/external/escapevelocity/src/main/java/com/google/escapevelocity/ |
D | MethodFinder.java | 31 * Finds public methods in a class. For each one, it determines the public class or interface in 37 * <p>Because looking for these methods is relatively expensive, an instance of this class will keep 38 * a cache of methods it previously discovered. 43 * For a given class and name, returns all public methods of that name in the class, as previously 44 * determined by {@link #publicMethodsWithName}. The set of methods for a given class and name is 48 * be to add all the methods for a given class at once. With the current scheme, we may end up 49 * calling {@link Class#getMethods()} several times for the same class, if methods of the 51 * computing and storing information about a bunch of methods that will never be called. Because 58 * Returns the set of public methods with the given name in the given class. Here, "public 59 * methods" means public methods in public classes or interfaces. If {@code startClass} is not [all …]
|
/external/proguard/src/proguard/classfile/editor/ |
D | ClassEditor.java | 193 Method[] methods = targetClass.methods; in addMethod() local 196 if (methods.length <= methodsCount) in addMethod() 198 targetClass.methods = new ProgramMethod[methodsCount+1]; in addMethod() 199 System.arraycopy(methods, 0, in addMethod() 200 targetClass.methods, 0, in addMethod() 202 methods = targetClass.methods; in addMethod() 211 methods[targetClass.u2methodsCount++] = method; in addMethod() 222 Method[] methods = targetClass.methods; in removeMethod() local 227 System.arraycopy(methods, methodIndex+1, in removeMethod() 228 methods, methodIndex, in removeMethod() [all …]
|
/external/mockito/src/test/java/org/mockitousage/basicapi/ |
D | ResetInvocationsTest.java | 19 IMethods methods; field in ResetInvocationsTest 26 when(methods.simpleMethod()).thenReturn("return"); in reset_invocations_should_reset_only_invocations() 28 methods.simpleMethod(); in reset_invocations_should_reset_only_invocations() 29 verify(methods).simpleMethod(); in reset_invocations_should_reset_only_invocations() 31 clearInvocations(methods); in reset_invocations_should_reset_only_invocations() 33 verifyNoMoreInteractions(methods); in reset_invocations_should_reset_only_invocations() 34 assertEquals("return", methods.simpleMethod()); in reset_invocations_should_reset_only_invocations() 39 methods.simpleMethod(); in should_reset_invocations_on_multiple_mocks() 42 clearInvocations(methods, moarMethods); in should_reset_invocations_on_multiple_mocks() 44 verifyNoMoreInteractions(methods, moarMethods); in should_reset_invocations_on_multiple_mocks()
|
/external/vogar/src/vogar/target/junit/ |
D | VogarBlockJUnit4ClassRunner.java | 36 * <li>Defers validation of test methods, 39 * <li>Selects either explicitly requested methods, or all methods.</li> 64 // Overridden to handle requested methods. in getChildren() 67 List<FrameworkMethod> methods = super.getChildren(); in getChildren() local 69 // If specific methods have been requested then select them from all the methods that were in getChildren() 73 // Store all the methods in a map by name. That should be safe as test methods do not in getChildren() 76 for (FrameworkMethod method : methods) { in getChildren() 80 methods = new ArrayList<>(); in getChildren() 86 methods.add(new MissingFrameworkMethod(name)); in getChildren() 88 methods.add(method); in getChildren() [all …]
|