OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:YAnnot
(Results
1 - 9
of
9
) sorted by null
/external/google-fruit/tests/
test_injector_unsafe_get.py
27
@pytest.mark.parametrize('XAnnot,
YAnnot
,ZAnnot', [
31
def test_success(XAnnot,
YAnnot
, ZAnnot):
39
using Inject = X(
YAnnot
);
58
const Y* y = fruit::impl::InjectorAccessorForTests::unsafeGet<
YAnnot
>(injector);
test_normalized_component.py
31
@pytest.mark.parametrize('XAnnot,X_ANNOT,
YAnnot
', [
35
def test_success_normalized_component_provides_unused(XAnnot, X_ANNOT,
YAnnot
):
43
fruit::Component<fruit::Required<XAnnot>,
YAnnot
> getComponent() {
53
fruit::NormalizedComponent<fruit::Required<XAnnot>,
YAnnot
> normalizedComponent(getComponent);
66
@pytest.mark.parametrize('XAnnot,X_ANNOT,
YAnnot
', [
70
def test_success(XAnnot, X_ANNOT,
YAnnot
):
78
fruit::Component<fruit::Required<XAnnot>,
YAnnot
> getComponent() {
88
fruit::NormalizedComponent<fruit::Required<XAnnot>,
YAnnot
> normalizedComponent(getComponent);
92
fruit::Injector<
YAnnot
> injector(normalizedComponent, getXComponent, &x);
93
injector.get<
YAnnot
>();
[
all
...]
test_bind_interface.py
26
@pytest.mark.parametrize('XAnnot,MaybeConstXAnnot,XConstRefAnnot,
YAnnot
', [
38
def test_bind_interface(XAnnot, MaybeConstXAnnot, XConstRefAnnot,
YAnnot
):
53
.bind<XAnnot,
YAnnot
>();
67
@pytest.mark.parametrize('XAnnot,ConstXAnnot,XConstRefAnnot,
YAnnot
', [
74
def test_bind_interface_to_constant(XAnnot, ConstXAnnot, XConstRefAnnot,
YAnnot
):
89
.bindInstance<
YAnnot
, Y>(y)
90
.bind<XAnnot,
YAnnot
>();
104
@pytest.mark.parametrize('XAnnot,XRefAnnot,
YAnnot
', [
108
def test_bind_interface_target_bound_in_other_component(XAnnot, XRefAnnot,
YAnnot
):
119
fruit::Component<fruit::Required<
YAnnot
>, XAnnot> getComponent()
[
all
...]
test_dependency_loop.py
34
@pytest.mark.parametrize('XAnnot,XConstRefAnnot,
YAnnot
,YConstRefAnnot', [
39
def test_loop_in_autoinject(XAnnot, XConstRefAnnot,
YAnnot
, YConstRefAnnot):
56
'SelfLoopError<XAnnot,
YAnnot
>',
62
@pytest.mark.parametrize('XAnnot,ConstXAnnot,XConstRefAnnot,
YAnnot
,YConstRefAnnot', [
67
def test_loop_in_autoinject_const(XAnnot, ConstXAnnot, XConstRefAnnot,
YAnnot
, YConstRefAnnot):
84
'SelfLoopError<XAnnot,
YAnnot
>',
test_component_and_injector_params.py
399
@pytest.mark.parametrize('XAnnot,
YAnnot
', [
403
def test_error_requirements_in_injector(XAnnot,
YAnnot
):
405
InstantiateType(fruit::Injector<fruit::Required<
YAnnot
>, XAnnot>)
408
'InjectorWithRequirementsError<
YAnnot
>',
414
@pytest.mark.parametrize('XAnnot,
YAnnot
', [
418
def test_error_requirements_in_injector_second_argument(XAnnot,
YAnnot
):
420
InstantiateType(fruit::Injector<XAnnot, fruit::Required<
YAnnot
>>)
423
'InjectorWithRequirementsError<
YAnnot
>',
test_injector.py
138
@pytest.mark.parametrize('XAnnot,
YAnnot
', [
142
def test_injector_get_error_type_not_provided(XAnnot,
YAnnot
):
156
injector.get<
YAnnot
>();
160
'TypeNotProvidedError<
YAnnot
>',
test_binding_clash.py
53
.bind<XAnnot,
YAnnot
>()
54
.registerConstructor<
YAnnot
()>()
133
@pytest.mark.parametrize('XAnnot,
YAnnot
,Y2Annot', [
138
binding1_preparation, binding1, binding2_preparation, binding2, XAnnot,
YAnnot
, Y2Annot):
194
@pytest.mark.parametrize('XAnnot,
YAnnot
,Y2Annot', [
198
def test_clash_with_binding(binding1_preparation, binding1, binding2_preparation, binding2, XAnnot,
YAnnot
, Y2Annot):
test_multibindings_bind_provider.py
370
@pytest.mark.parametrize('
YAnnot
,ConstYAnnot,YVariant,YVariantRegex', [
378
def test_bind_multibinding_provider_with_param_error_type_not_injectable(ConstructX, XPtr,
YAnnot
, ConstYAnnot, YVariant, YVariantRegex):
test_register_constructor.py
102
@pytest.mark.parametrize('XAnnot,
YAnnot
,MaybeConstYAnnot,ZAnnot', [
107
def test_autoinject_with_annotation_success(XAnnot,
YAnnot
, MaybeConstYAnnot, ZAnnot):
134
injector.get<
YAnnot
>();
Completed in 3374 milliseconds