Home
last modified time | relevance | path

Searched refs:injected (Results 1 – 25 of 80) sorted by relevance

1234

/external/mockito/src/test/java/org/mockito/internal/util/reflection/
DBeanPropertySetterTest.java28 boolean injected = new BeanPropertySetter(someBean, theField, true).set(valueToInject); in use_the_correct_setter_on_the_target()
31 assertTrue(injected); in use_the_correct_setter_on_the_target()
44 boolean injected = new BeanPropertySetter(someBean, theField, true).set(valueToInject); in use_the_setter_on_the_target_when_field_name_begins_by_at_least_2_caps()
47 assertTrue(injected); in use_the_setter_on_the_target_when_field_name_begins_by_at_least_2_caps()
60 boolean injected = new BeanPropertySetter(someBean, theField, true).set(valueToInject); in should_not_fail_if_bean_class_declares_only_the_setter_for_the_property()
63 assertTrue(injected); in should_not_fail_if_bean_class_declares_only_the_setter_for_the_property()
92 boolean injected = new BeanPropertySetter(bean, theField).set(valueToInject); in return_false_if_no_setter_was_found()
95 assertFalse(injected); in return_false_if_no_setter_was_found()
106 boolean injected = new BeanPropertySetter(bean, theField, false).set(valueToInject); in return_false_if_no_setter_was_found_and_if_reportNoSetterFound_is_false()
109 assertFalse(injected); in return_false_if_no_setter_was_found_and_if_reportNoSetterFound_is_false()
/external/mockito/src/test/java/org/mockitousage/junitrule/
DMockitoJUnitRuleTest.java23 private Injected injected; field in MockitoJUnitRuleTest
30 assertNotNull("Mock created", injected); in testInjectMocks()
32 assertEquals("A injected into B", injected, injectInto.getInjected()); in testInjectMocks()
38 private Injected injected; field in MockitoJUnitRuleTest.InjectInto
41 return injected; in getInjected()
DRuleTestWithFactoryMethodTest.java23 private Injected injected; field in RuleTestWithFactoryMethodTest
30 assertNotNull("Mock created", injected); in testInjectMocks()
32 assertEquals("A injected into B", injected, injectInto.getInjected()); in testInjectMocks()
41 private Injected injected; field in RuleTestWithFactoryMethodTest.InjectInto
44 return injected; in getInjected()
DRuleTestWithParameterConstructorTest.java23 private Injected injected; field in RuleTestWithParameterConstructorTest
30 assertNotNull("Mock created", injected); in testInjectMocks()
32 assertEquals("A injected into B", injected, injectInto.getInjected()); in testInjectMocks()
41 private Injected injected; field in RuleTestWithParameterConstructorTest.InjectInto
44 return injected; in getInjected()
DInvalidTargetMockitoJUnitRuleTest.java22 private Injected injected; field in InvalidTargetMockitoJUnitRuleTest
29 assertNotNull("Mock created", injected); in shouldInjectWithInvalidReference()
36 private Injected injected; field in InvalidTargetMockitoJUnitRuleTest.InjectInto
39 return injected; in getInjected()
/external/llvm-project/lld/test/COFF/
Dpdb-natvis.test7 RUN: llvm-pdbutil pretty -injected-sources -injected-source-content %t.pdb | FileCheck \
9 RUN: llvm-pdbutil pretty -injected-sources -injected-source-content %t.pdb | FileCheck \
11 RUN: llvm-pdbutil pretty -injected-sources -injected-source-content %t.pdb | FileCheck \
/external/llvm-project/llvm/test/tools/llvm-pdbutil/
Dinjected-sources-native.test1 ; This is identical to injected-sources.test, except that it uses the -native
4 ; RUN: llvm-pdbutil pretty -native -injected-sources -injected-source-content \
6 ; RUN: llvm-pdbutil pretty -native -injected-sources -injected-source-content \
30 ; NEGATIVE-NEXT: There are no injected sources.
33 ; RUN: llvm-pdbutil pretty -native -injected-sources -injected-source-content \
45 ; RUN: llvm-pdbutil pretty -native -injected-sources -injected-source-content \
62 ; RUN: llvm-pdbutil pretty -native -injected-sources -injected-source-content \
Dinjected-sources.test3 ; RUN: llvm-pdbutil pretty -injected-sources -injected-source-content \
5 ; RUN: llvm-pdbutil pretty -injected-sources -injected-source-content \
29 ; NEGATIVE-NEXT: There are no injected sources.
32 ; RUN: llvm-pdbutil pretty -native -injected-sources -injected-source-content \
44 ; RUN: llvm-pdbutil pretty -native -injected-sources -injected-source-content \
61 ; RUN: llvm-pdbutil pretty -native -injected-sources -injected-source-content \
/external/rust/crates/rayon-core/src/join/
Dmod.rs123 fn call_a<R>(f: impl FnOnce(FnContext) -> R, injected: bool) -> impl FnOnce() -> R { in join_context()
124 move || f(FnContext::new(injected)) in join_context()
132 registry::in_worker(|worker_thread, injected| unsafe { in join_context()
141 let status_a = unwind::halt_unwinding(call_a(oper_a, injected)); in join_context()
158 let result_b = job_b.run_inline(injected); in join_context()
/external/google-breakpad/src/common/windows/
Domap.cc342 mr.injected = header_transformed - header; in BuildMapping()
384 prev_mr.injected += o1.rva_transformed - in BuildMapping()
483 mapped_range->injected = 0; in ClipMappedRangeOriginal()
499 mapped_range->injected -= Min(trim, mapped_range->injected); in ClipMappedRangeOriginal()
516 mapped_range->injected = 0; in ClipMappedRangeOriginal()
526 DWORD end_injected = end_original + mapped_range->injected; in ClipMappedRangeOriginal()
528 mapped_range->injected = clip_range.end() - end_original; in ClipMappedRangeOriginal()
657 if (mr.length + mr.injected > 0) in MapAddressRange()
691 DWORD rva_cur_injected = rva_cur_content + temp_map[0].injected; in MapAddressRange()
704 rva_cur_injected = rva_cur_content + temp_map[i].injected; in MapAddressRange()
Domap_unittest.cc43 mr1.injected == mr2.injected && in operator ==()
56 << ", injected=" << mr.injected in operator <<()
80 DWORD injected, in CreateMappedRange() argument
82 MappedRange mr = { rva_original, rva_transformed, length, injected, removed }; in CreateMappedRange()
111 const AddressRange injected(Et.end(), 5); variable
112 const AddressRange H1t(injected.end(), 4); // H is split.
129 omap_data.omap_to.push_back(CreateOmap(injected.rva, kInvalidAddress)); in InitOmapData()
182 mapping.push_back(CreateMappedRange(E.rva, Et.rva, E.length, injected.length, in TEST_F()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/failing/
DJacksonInject2465Test.java46 final Internal2465 injected = new Internal2465("test"); in testInjectWithCreator() local
48 .with(new InjectableValues.Std().addValue(Internal2465.class, injected)) in testInjectWithCreator()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/objectid/
DTestObjectIdWithInjectables538.java13 public A(@JacksonInject("i1") String injected) { in A() argument
22 public B(@JacksonInject("i2") String injected) { in B() argument
/external/mockito/src/main/java/org/mockito/internal/configuration/injection/
DPropertyAndSetterInjection.java121 …Object injected = mockCandidateFilter.filterCandidate(mocks, candidateField, orderedCandidateInjec… in injectMockCandidatesOnFields() local
123 if (injected != null) { in injectMockCandidatesOnFields()
125 mocks.remove(injected); in injectMockCandidatesOnFields()
/external/guice/extensions/mini/test/com/google/inject/mini/
DMiniGuiceTest.java288 R.injected = false; in testSingletonsAreEager()
305 assertTrue(R.injected); in testSingletonsAreEager()
311 static boolean injected = false; field in MiniGuiceTest.R
315 injected = true; in R()
/external/llvm-project/pstl/test/support/stdlib/
Dexecution37 "The <Parallel STL> execution policies are injected into the standard namespace std::execution")
40 //TODO: __pstl::execution namespace is injected into the pstl::execution namespace when the impleme…
/external/dagger2/javatests/dagger/internal/codegen/
DMembersInjectionValidationTest.java214 JavaFileObject injected = in staticFieldInjection() local
235 Compilation compilation = daggerCompiler().compile(injected, component); in staticFieldInjection()
237 assertThat(compilation).hadErrorContaining("static fields").inFile(injected).onLine(6); in staticFieldInjection()
/external/wpa_supplicant_8/src/drivers/
Ddriver_nl80211_monitor.c109 int injected = 0, failed = 0, rxflags = 0; in handle_monitor_read() local
141 injected = 1; in handle_monitor_read()
159 if (rxflags && injected) in handle_monitor_read()
162 if (!injected) in handle_monitor_read()
/external/exoplayer/tree/extensions/cronet/
DREADME.md28 either instantiated and injected from application code, or obtained from
29 instances of `DataSource.Factory` that are instantiated and injected from
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/deser/inject/
DTestInjectables.java51 transient Object injected; field in TestInjectables.TransientBean
169 assertEquals("Injected!", bean.injected); in testTransientField()
/external/exoplayer/tree/extensions/okhttp/
DREADME.md37 either instantiated and injected from application code, or obtained from
38 instances of `DataSource.Factory` that are instantiated and injected from
/external/llvm-project/llvm/utils/lit/tests/Inputs/shtest-inject/
Dtest-empty.txt3 # injected by the test format.
/external/kernel-headers/original/uapi/asm-x86/asm/
Dkvm.h322 __u8 injected; member
329 __u8 injected; member
335 __u8 injected; member
/external/dagger2/java/dagger/hilt/android/lifecycle/
Dproguard-rules.pro1 # Keep class names of Hilt injected ViewModels since their name are used as a multibinding map key.
/external/exoplayer/tree/extensions/rtmp/
DREADME.md38 either instantiated and injected from application code, or obtained from
39 instances of `DataSource.Factory` that are instantiated and injected from

1234