Home
last modified time | relevance | path

Searched refs:finder (Results 1 – 25 of 191) 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/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/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/angle/third_party/spirv-tools/src/test/reduce/
Dremove_unreferenced_instruction_test.cpp32 RemoveUnreferencedInstructionReductionOpportunityFinder finder(true); in TEST() local
75 auto ops = finder.GetAvailableOpportunities(context.get()); in TEST()
111 ops = finder.GetAvailableOpportunities(context.get()); in TEST()
140 ops = finder.GetAvailableOpportunities(context.get()); in TEST()
168 ops = finder.GetAvailableOpportunities(context.get()); in TEST()
195 ops = finder.GetAvailableOpportunities(context.get()); in TEST()
221 ops = finder.GetAvailableOpportunities(context.get()); in TEST()
230 RemoveUnreferencedInstructionReductionOpportunityFinder finder(true); in TEST() local
261 auto ops = finder.GetAvailableOpportunities(context.get()); in TEST()
292 ops = finder.GetAvailableOpportunities(context.get()); in TEST()
[all …]
/external/swiftshader/third_party/SPIRV-Tools/test/reduce/
Dremove_unreferenced_instruction_test.cpp32 RemoveUnreferencedInstructionReductionOpportunityFinder finder(true); in TEST() local
75 auto ops = finder.GetAvailableOpportunities(context.get()); in TEST()
111 ops = finder.GetAvailableOpportunities(context.get()); in TEST()
140 ops = finder.GetAvailableOpportunities(context.get()); in TEST()
168 ops = finder.GetAvailableOpportunities(context.get()); in TEST()
195 ops = finder.GetAvailableOpportunities(context.get()); in TEST()
221 ops = finder.GetAvailableOpportunities(context.get()); in TEST()
230 RemoveUnreferencedInstructionReductionOpportunityFinder finder(true); in TEST() local
261 auto ops = finder.GetAvailableOpportunities(context.get()); in TEST()
292 ops = finder.GetAvailableOpportunities(context.get()); in TEST()
[all …]
/external/deqp-deps/SPIRV-Tools/test/reduce/
Dremove_unreferenced_instruction_test.cpp32 RemoveUnreferencedInstructionReductionOpportunityFinder finder(true); in TEST() local
75 auto ops = finder.GetAvailableOpportunities(context.get()); in TEST()
111 ops = finder.GetAvailableOpportunities(context.get()); in TEST()
140 ops = finder.GetAvailableOpportunities(context.get()); in TEST()
168 ops = finder.GetAvailableOpportunities(context.get()); in TEST()
195 ops = finder.GetAvailableOpportunities(context.get()); in TEST()
221 ops = finder.GetAvailableOpportunities(context.get()); in TEST()
230 RemoveUnreferencedInstructionReductionOpportunityFinder finder(true); in TEST() local
261 auto ops = finder.GetAvailableOpportunities(context.get()); in TEST()
292 ops = finder.GetAvailableOpportunities(context.get()); in TEST()
[all …]
/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/testng/src/main/java/org/testng/internal/
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()
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 …]
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/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/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/angle/src/tests/test_utils/
DConstantFoldingTest.h146 ConstantFinder<T> finder(constant); in constantFoundInAST()
147 mASTRoot->traverse(&finder); in constantFoundInAST()
148 return finder.found(); in constantFoundInAST()
154 ConstantFinder<T> finder(constantVector); in constantVectorFoundInAST()
155 mASTRoot->traverse(&finder); in constantVectorFoundInAST()
156 return finder.found(); in constantVectorFoundInAST()
168 ConstantFinder<T> finder(constantVector, faultTolerance); in constantVectorNearFoundInAST()
169 mASTRoot->traverse(&finder); in constantVectorNearFoundInAST()
170 return finder.found(); in constantVectorNearFoundInAST()
/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.py14 def __init__(self, finder, feature_string, js_disabled, xfa_disabled): argument
19 self.suppression_set = self._LoadSuppressedSet('SUPPRESSIONS', finder)
21 'SUPPRESSIONS_IMAGE_DIFF', finder)
23 def _LoadSuppressedSet(self, suppressions_filename, finder): argument
26 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()
/external/smali/dexlib2/src/test/java/org/jf/dexlib2/
DDexEntryFinderTest.java161 …private void assertEntryNotFound(DexEntryFinder finder, String entry, boolean exactMatch) throws I… in assertEntryNotFound() argument
163 finder.findEntry(entry, exactMatch); in assertEntryNotFound()
170 …private void assertMultipleMatchingEntries(DexEntryFinder finder, String entry) throws IOException… in assertMultipleMatchingEntries() argument
172 finder.findEntry(entry, false); in assertMultipleMatchingEntries()
179 …private void assertUnsupportedFileType(DexEntryFinder finder, String entry, boolean exactMatch) th… in assertUnsupportedFileType() argument
181 finder.findEntry(entry, exactMatch); in assertUnsupportedFileType()
188 …private void assertDexFileNotFound(DexEntryFinder finder, String entry, boolean exactMatch) throws… in assertDexFileNotFound() argument
190 finder.findEntry(entry, exactMatch); in assertDexFileNotFound()
/external/autotest/client/cros/chameleon/
Dchameleon_measurer_base.py45 finder = chameleon_port_finder.ChameleonVideoInputFinder(
47 with finder.use_first_port() as chameleon_port:
89 finder = chameleon_port_finder.ChameleonVideoInputFinder(
92 with finder.use_first_port() as chameleon_port:

12345678