HomeSort by relevance Sort by last modified time
    Searched refs:ConstXAnnot (Results 1 - 7 of 7) sorted by null

  /external/google-fruit/tests/
test_component.py 89 @pytest.mark.parametrize('XAnnot,ConstXAnnot', [
95 def test_error_no_binding_found(XAnnot, ConstXAnnot):
99 fruit::Component<ConstXAnnot> getComponent() {
110 @pytest.mark.parametrize('XAnnot,ConstXAnnot', [
116 def test_error_no_binding_found_abstract_class(XAnnot, ConstXAnnot):
122 fruit::Component<ConstXAnnot> getComponent() {
test_injector.py 92 @pytest.mark.parametrize('XAnnot,ConstXAnnot', [
96 def test_error_declared_nonconst_types_provided_as_const(XAnnot, ConstXAnnot):
102 fruit::Component<ConstXAnnot> getComponent();
110 '|no matching function for call to .fruit::Injector<XAnnot>::Injector\(fruit::Component<ConstXAnnot> \(&\)\(\)\).'
117 @pytest.mark.parametrize('XAnnot,ConstXAnnot', [
121 def test_error_declared_nonconst_types_provided_as_const_with_normalized_component(XAnnot, ConstXAnnot):
127 void f(fruit::NormalizedComponent<ConstXAnnot> normalizedComponent) {
166 @pytest.mark.parametrize('ConstXAnnot,XInjectorGetParam,XInjectorGetParamRegex', [
174 def test_injector_const_provided_type_does_not_allow_injecting_nonconst_variants(ConstXAnnot, XInjectorGetParam, XInjectorGetParamRegex):
176 void f(fruit::Injector<ConstXAnnot> injector)
    [all...]
test_dependency_loop.py 62 @pytest.mark.parametrize('XAnnot,ConstXAnnot,XConstRefAnnot,YAnnot,YConstRefAnnot', [
67 def test_loop_in_autoinject_const(XAnnot, ConstXAnnot, XConstRefAnnot, YAnnot, YConstRefAnnot):
79 fruit::Component<ConstXAnnot> mutuallyConstructibleComponent() {
test_normalized_component.py 159 @pytest.mark.parametrize('XAnnot,ConstXAnnot', [
163 def test_normalized_component_providing_nonconst_from_component_providing_const_error(XAnnot, ConstXAnnot):
170 fruit::NormalizedComponent<ConstXAnnot> normalizedComponent(getComponent);
175 'no matching function for call to .fruit::NormalizedComponent<ConstXAnnot>::NormalizedComponent\(fruit::Component<XAnnot> \(&\)\(\)\).'
176 '|no matching constructor for initialization of .fruit::NormalizedComponent<ConstXAnnot>.'
177 '|.fruit::NormalizedComponent<ConstXAnnot>::NormalizedComponent.: none of the 2 overloads could convert all the argument types',
test_component_and_injector_params.py 56 @pytest.mark.parametrize('XAnnot,ConstXAnnot', [
65 def test_duplicate_type_different_constness(XAnnot, ConstXAnnot, Class):
67 InstantiateType(fruit::Class<XAnnot, ConstXAnnot>)
120 @pytest.mark.parametrize('XAnnot,ConstXAnnot', [
128 def test_component_duplicate_type_in_required_different_constness(Class, XAnnot, ConstXAnnot):
130 InstantiateType(fruit::Class<fruit::Required<XAnnot, ConstXAnnot>>)
test_bind_interface.py 67 @pytest.mark.parametrize('XAnnot,ConstXAnnot,XConstRefAnnot,YAnnot', [
74 def test_bind_interface_to_constant(XAnnot, ConstXAnnot, XConstRefAnnot, YAnnot):
87 fruit::Component<ConstXAnnot> getComponent() {
94 fruit::Injector<ConstXAnnot> injector(getComponent);
test_install.py 212 @pytest.mark.parametrize('XAnnot,ConstXAnnot', [
216 def test_install_requiring_nonconst_then_install_requiring_const_ok(XAnnot, ConstXAnnot):
227 fruit::Component<fruit::Required<ConstXAnnot>, Z> getChildComponent2() {
    [all...]

Completed in 136 milliseconds