Home
last modified time | relevance | path

Searched refs:finder (Results 1 – 25 of 193) sorted by relevance

12345678

/external/testng/src/main/java/org/testng/internal/annotations/
DAnnotationHelper.java31 public static ITestAnnotation findTest(IAnnotationFinder finder, Class<?> cls) { in findTest() argument
32 return finder.findAnnotation(cls, ITestAnnotation.class); in findTest()
35 public static ITestAnnotation findTest(IAnnotationFinder finder, Method m) { in findTest() argument
36 return finder.findAnnotation(m, ITestAnnotation.class); in findTest()
39 public static ITestAnnotation findTest(IAnnotationFinder finder, ITestNGMethod m) { in findTest() argument
40 return finder.findAnnotation(m, ITestAnnotation.class); in findTest()
43 public static IFactoryAnnotation findFactory(IAnnotationFinder finder, Method m) { in findFactory() argument
44 return finder.findAnnotation(m, IFactoryAnnotation.class); in findFactory()
47 public static IFactoryAnnotation findFactory(IAnnotationFinder finder, Constructor c) { in findFactory() argument
48 return finder.findAnnotation(c, IFactoryAnnotation.class); in findFactory()
[all …]
/external/python/cpython2/Lib/plat-mac/
Dfindertools.py47 finder = _getfinder()
49 return finder.open(fss)
53 finder = _getfinder()
55 return finder._print(fss)
59 finder = _getfinder()
67 return finder.duplicate(src_fss, to=dst_fss)
71 finder = _getfinder()
79 return finder.move(src_fss, to=dst_fss)
83 finder = _getfinder()
84 finder.sleep()
[all …]
/external/droiddriver/src/io/appium/droiddriver/base/
DAbstractDroidDriver.java36 public boolean has(Finder finder) { in has() argument
39 find(finder); in has()
47 public boolean has(Finder finder, long timeoutMillis) { in has() argument
49 getPoller().pollFor(this, finder, Poller.EXISTS, timeoutMillis); in has()
57 public UiElement on(Finder finder) { in on() argument
58 Logs.call(this, "on", finder); in on()
59 return getPoller().pollFor(this, finder, Poller.EXISTS); in on()
63 public void checkExists(Finder finder) { in checkExists() argument
64 Logs.call(this, "checkExists", finder); in checkExists()
65 getPoller().pollFor(this, finder, Poller.EXISTS); in checkExists()
[all …]
DDefaultPoller.java60 public <T> T pollFor(DroidDriver driver, Finder finder, ConditionChecker<T> checker) { in pollFor() argument
61 return pollFor(driver, finder, checker, timeoutMillis); in pollFor()
65 public <T> T pollFor(DroidDriver driver, Finder finder, ConditionChecker<T> checker, in pollFor() argument
78 return checker.check(driver, finder); in pollFor()
84 pollingListener.onPolling(driver, finder); in pollFor()
90 timeoutListener.onTimeout(driver, finder); in pollFor()
93 "Timed out after %d milliseconds waiting for %s %s", timeoutMillis, finder, checker)); in pollFor()
/external/python/cpython3/Lib/test/test_importlib/source/
Dtest_finder.py49 finder = self.get_finder(root)
50 return self._find(finder, module, loader_only=True)
128 finder = self.machinery.FileFinder('', (self.machinery.SourceFileLoader,
133 loader = self._find(finder, 'mod', loader_only=True)
140 finder = self.machinery.FileFinder('', (self.machinery.SourceFileLoader,
142 finder._path_mtime = 42
143 finder.invalidate_caches()
144 self.assertEqual(finder._path_mtime, -1)
150 finder = self.get_finder(mapping['.root'])
151 found = self._find(finder, 'mod', loader_only=True)
[all …]
Dtest_case_sensitivity.py22 def finder(self, path): member in CaseSensitivityTest
37 sensitive_finder = self.finder(sensitive_path)
38 insensitive_finder = self.finder(insensitive_path)
62 def find(self, finder): argument
63 return finder.find_module(self.name)
73 def find(self, finder): argument
74 found = finder.find_spec(self.name)
/external/mockito/src/test/java/org/mockitousage/internal/junit/
DUnusedStubbingsFinderTest.java30 UnusedStubbingsFinder finder = new UnusedStubbingsFinder(); field in UnusedStubbingsFinderTest
37 assertEquals(0, finder.getUnusedStubbings((List) asList(mock1, mock2)).size()); in no_interactions()
38 assertEquals(0, finder.getUnusedStubbingsByLocation((List) asList(mock1, mock2)).size()); in no_interactions()
47 assertEquals(0, finder.getUnusedStubbings((List) asList(mock1, mock2)).size()); in no_stubbings()
48 assertEquals(0, finder.getUnusedStubbingsByLocation((List) asList(mock1, mock2)).size()); in no_stubbings()
58 assertEquals(0, finder.getUnusedStubbings((List) asList(mock1, mock2)).size()); in no_unused_stubbings()
59 assertEquals(0, finder.getUnusedStubbingsByLocation((List) asList(mock1, mock2)).size()); in no_unused_stubbings()
68 assertEquals(1, finder.getUnusedStubbings((List) asList(mock1, mock2)).size()); in unused_stubbings()
69 assertEquals(1, finder.getUnusedStubbingsByLocation((List) asList(mock1, mock2)).size()); in unused_stubbings()
81 UnusedStubbings stubbings = finder.getUnusedStubbings((List) asList(mock1, mock2)); in some_unused_stubbings()
[all …]
/external/fonttools/Tests/varLib/
Dinterpolate_layout_test.py121 finder = lambda s: s.replace(ufo_dir, self.tempdir).replace('.ufo', suffix) function
122 instfont = interpolate_layout(ds_path, {'weight': 500}, finder)
145 finder = lambda s: s.replace(ufo_dir, self.tempdir).replace('.ufo', suffix) function
146 instfont = interpolate_layout(ds_path, {'weight': 500}, finder)
185 finder = lambda s: s.replace(ufo_dir, self.tempdir).replace('.ufo', suffix) function
186 instfont = interpolate_layout(ds_path, {'weight': 500}, finder)
214 finder = lambda s: s.replace(ufo_dir, self.tempdir).replace('.ufo', suffix) function
215 instfont = interpolate_layout(ds_path, {'weight': 500}, finder)
248 finder = lambda s: s.replace(ufo_dir, self.tempdir).replace('.ufo', suffix) function
249 instfont = interpolate_layout(ds_path, {'weight': 500}, finder)
[all …]
/external/droiddriver/src/io/appium/droiddriver/
DPoller.java34 void onTimeout(DroidDriver driver, Finder finder); in onTimeout() argument
44 void onPolling(DroidDriver driver, Finder finder); in onPolling() argument
76 T check(DroidDriver driver, Finder finder) throws UnsatisfiedConditionException; in check() argument
89 public UiElement check(DroidDriver driver, Finder finder) throws UnsatisfiedConditionException {
91 return driver.find(finder);
108 public Void check(DroidDriver driver, Finder finder) throws UnsatisfiedConditionException {
111 driver.find(finder);
130 <T> T pollFor(DroidDriver driver, Finder finder, ConditionChecker<T> checker); in pollFor() argument
138 <T> T pollFor(DroidDriver driver, Finder finder, ConditionChecker<T> checker, long timeoutMillis); in pollFor() argument
DDroidDriver.java31 boolean has(Finder finder); in has() argument
56 boolean has(Finder finder, long timeoutMillis); in has() argument
67 UiElement on(Finder finder); in on() argument
79 UiElement find(Finder finder); in find() argument
96 void checkExists(Finder finder); in checkExists() argument
106 void checkGone(Finder finder); in checkGone() argument
/external/python/cpython2/Doc/library/
Dmacostools.rst29 some finder information (creator, type, flags) and optionally the creation,
50 Create a finder alias *dst* pointing to *src*.
60 Tell the finder that some bits of finder-information such as creator or type for
62 call should tell the finder to redraw the files icon.
72 Note that the process of creating finder aliases is not specified in the Apple
77 :mod:`findertools` --- The :program:`finder`'s Apple Events interface
82 :synopsis: Wrappers around the finder's Apple Events interface.
88 functionality provided by the finder. They are implemented as wrappers around
89 the AppleEvent interface to the finder.
99 Tell the finder to launch *file*. What launching means depends on the file:
[all …]
/external/testng/src/main/java/org/testng/internal/
DParameters.java50 IAnnotationFinder finder, in createInstantiationParameters() argument
55 finder.findOptionalValues(ctor), methodAnnotation, finder, parameterNames, in createInstantiationParameters()
72 IAnnotationFinder finder, in createConfigurationParameters() argument
89 finder, xmlSuite, IConfigurationAnnotation.class, "@Configuration"); in createConfigurationParameters()
120 IAnnotationFinder finder, in createParameters() argument
250 … IAnnotationFinder finder, ITestContext context) { in findDataProvider() argument
253 IDataProvidable dp = findDataProviderInfo(clazz, m, finder); in findDataProvider()
259 … result = findDataProvider(instance, clazz, finder, dataProviderName, dataProviderClass, context); in findDataProvider()
277 IAnnotationFinder finder) { in findDataProviderInfo() argument
284 result = AnnotationHelper.findTest(finder, m.getMethod()); in findDataProviderInfo()
[all …]
DExpectedExceptionsHolder.java14 protected final IAnnotationFinder finder; field in ExpectedExceptionsHolder
19 …protected ExpectedExceptionsHolder(IAnnotationFinder finder, ITestNGMethod method, IExpectedExcept… in ExpectedExceptionsHolder() argument
20 this.finder = finder; in ExpectedExceptionsHolder()
22 expectedClasses = findExpectedClasses(finder, method); in ExpectedExceptionsHolder()
26 private static Class<?>[] findExpectedClasses(IAnnotationFinder finder, ITestNGMethod method) { in findExpectedClasses() argument
28 finder.findAnnotation(method, IExpectedExceptionsAnnotation.class); in findExpectedClasses()
35 ITestAnnotation testAnnotation = finder.findAnnotation(method, ITestAnnotation.class); in findExpectedClasses()
DRegexpExpectedExceptionsHolder.java18 private final IAnnotationFinder finder; field in RegexpExpectedExceptionsHolder
21 public RegexpExpectedExceptionsHolder(IAnnotationFinder finder, ITestNGMethod method) { in RegexpExpectedExceptionsHolder() argument
22 this.finder = finder; in RegexpExpectedExceptionsHolder()
51 finder.findAnnotation(method, IExpectedExceptionsAnnotation.class); in getRegExp()
58 ITestAnnotation testAnnotation = finder.findAnnotation(method, ITestAnnotation.class); in getRegExp()
DConfiguration.java25 public Configuration(IAnnotationFinder finder) { in Configuration() argument
26 init(finder); in Configuration()
29 private void init(IAnnotationFinder finder) { in init() argument
30 m_annotationFinder = finder; in init()
39 public void setAnnotationFinder(IAnnotationFinder finder) { in setAnnotationFinder() argument
40 m_annotationFinder = finder; in setAnnotationFinder()
/external/mockito/src/test/java/org/mockito/internal/junit/
DArgMismatchFinderTest.java18 ArgMismatchFinder finder = new ArgMismatchFinder(); field in ArgMismatchFinderTest
25 StubbingArgMismatches mismatches = finder.getStubbingArgMismatches(asList(mock1, mock2)); in no_interactions()
38 StubbingArgMismatches mismatches = finder.getStubbingArgMismatches(asList(mock1, mock2)); in no_mismatch_when_mock_different()
51 StubbingArgMismatches mismatches = finder.getStubbingArgMismatches(asList(mock1, mock2)); in no_mismatch_when_method_different()
65 StubbingArgMismatches mismatches = finder.getStubbingArgMismatches(asList(mock1, mock2)); in no_mismatch_when_stubbing_used()
78 StubbingArgMismatches mismatches = finder.getStubbingArgMismatches(asList(mock1, mock2)); in stubbing_mismatch()
92 StubbingArgMismatches mismatches = finder.getStubbingArgMismatches(asList(mock1, mock2)); in single_mismatch_with_multiple_invocations()
107 StubbingArgMismatches mismatches = finder.getStubbingArgMismatches(asList(mock1, mock2)); in single_invocation_with_multiple_stubs()
124 StubbingArgMismatches mismatches = finder.getStubbingArgMismatches(asList(mock1, mock2)); in mismatch_reports_only_unstubbed_invocations()
/external/droiddriver/src/io/appium/droiddriver/exceptions/
DElementNotFoundException.java26 public ElementNotFoundException(Finder finder) { in ElementNotFoundException() argument
27 super(failMessage(finder)); in ElementNotFoundException()
30 public ElementNotFoundException(Finder finder, Throwable cause) { in ElementNotFoundException() argument
31 super(failMessage(finder), cause); in ElementNotFoundException()
42 protected static String failMessage(Finder finder) { in failMessage() argument
43 return "Could not find any element matching " + finder; in failMessage()
/external/python/cpython3/Lib/test/
Dtest_threaded_import.py145 finder = Finder()
146 sys.meta_path.insert(0, finder)
149 self.assertGreater(finder.numcalls, 0)
150 self.assertEqual(finder.x, finder.numcalls)
152 sys.meta_path.remove(finder)
157 finder = Finder()
163 finder.find_spec('')
171 self.assertGreater(finder.numcalls, 0)
172 self.assertEqual(finder.x, finder.numcalls)
/external/mockito/src/test/java/org/mockito/internal/configuration/plugins/
DPluginFinderTest.java30 @InjectMocks PluginFinder finder; field in PluginFinderTest
34 assertNull(finder.findPluginClass(Collections.<URL>emptyList())); in empty_resources()
44 assertNull(finder.findPluginClass(asList(f.toURI().toURL()))); in no_valid_impl()
55 assertEquals("foo.Foo", finder.findPluginClass(asList(f.toURI().toURL()))); in single_implementation()
66 assertEquals(null, finder.findPluginClass(asList(f.toURI().toURL()))); in single_implementation_disabled()
78 assertEquals("Bar", finder.findPluginClass(asList(f1.toURI().toURL(), f2.toURI().toURL()))); in multiple_implementations_only_one_enabled()
90 assertEquals("X", finder.findPluginClass(asList(f1.toURI().toURL(), f2.toURI().toURL()))); in multiple_implementations_only_one_useful()
102 assertEquals(null, finder.findPluginClass(asList(f1.toURI().toURL(), f2.toURI().toURL()))); in multiple_empty_implementations()
110 finder.findPluginClass(asList(new File("xxx").toURI().toURL())); in problems_loading_impl()
/external/v8/tools/clang/blink_gc_plugin/
DCheckTraceVisitor.cpp150 FindFieldVisitor finder; in CheckCXXDependentScopeMemberExpr() local
151 finder.TraverseStmt(call->getArg(0)); in CheckCXXDependentScopeMemberExpr()
152 if (finder.field()) in CheckCXXDependentScopeMemberExpr()
153 FoundField(finder.field()); in CheckCXXDependentScopeMemberExpr()
180 FindFieldVisitor finder; in CheckCXXDependentScopeMemberExpr() local
181 finder.TraverseStmt(call->getArg(1)); in CheckCXXDependentScopeMemberExpr()
182 if (finder.field()) in CheckCXXDependentScopeMemberExpr()
183 FoundField(finder.field()); in CheckCXXDependentScopeMemberExpr()
309 FindFieldVisitor finder; in CheckTraceFieldCall() local
310 finder.TraverseStmt(arg); in CheckTraceFieldCall()
[all …]
/external/mockito/src/main/java/org/mockito/internal/debugging/
DWarningsPrinterImpl.java15 private final WarningsFinder finder; field in WarningsPrinterImpl
21 WarningsPrinterImpl(boolean warnAboutUnstubbed, WarningsFinder finder) { in WarningsPrinterImpl() argument
23 this.finder = finder; in WarningsPrinterImpl()
28 finder.find(listener); in print()
/external/mockito/src/test/java/org/mockito/internal/debugging/
DWarningsFinderTest.java32 …WarningsFinder finder = new WarningsFinder(asList(unusedStub), Arrays.<InvocationMatcher>asList()); in shouldPrintUnusedStub() local
33 finder.find(listener); in shouldPrintUnusedStub()
45 …WarningsFinder finder = new WarningsFinder(Arrays.<Invocation>asList(), Arrays.<InvocationMatcher>… in shouldPrintUnstubbedInvocation() local
46 finder.find(listener); in shouldPrintUnstubbedInvocation()
59 …WarningsFinder finder = new WarningsFinder(Arrays.<Invocation> asList(stub), Arrays.<InvocationMat… in shouldPrintStubWasUsedWithDifferentArgs() local
60 finder.find(listener); in shouldPrintStubWasUsedWithDifferentArgs()
/external/guice/extensions/persist/src/com/google/inject/persist/finder/
DDynamicFinder.java17 package com.google.inject.persist.finder;
28 private final Finder finder; field in DynamicFinder
32 this.finder = method.getAnnotation(Finder.class); in DynamicFinder()
45 return finder; in metadata()
/external/pdfium/testing/tools/
Dsuppressor.py11 def __init__(self, finder, feature_string): argument
15 self.suppression_set = self._LoadSuppressedSet('SUPPRESSIONS', finder)
18 finder)
20 def _LoadSuppressedSet(self, suppressions_filename, finder): argument
23 with open(os.path.join(finder.TestingDir(), suppressions_filename)) as f:
/external/guice/extensions/persist/src/com/google/inject/persist/jpa/
DJpaPersistModule.java27 import com.google.inject.persist.finder.DynamicFinder;
28 import com.google.inject.persist.finder.Finder;
73 for (Class<?> finder : dynamicFinders) { in configurePersistence()
74 bindFinder(finder); in configurePersistence()
184 DynamicFinder finder = DynamicFinder.from(method); in isDynamicFinderValid() local
185 if (null == finder) { in isDynamicFinderValid()

12345678