#!/usr/bin/env python3 # Copyright 2016 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS-IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. from fruit_test_common import * COMMON_DEFINITIONS = ''' #include "test_common.h" struct X; struct Annotation1 {}; using XAnnot1 = fruit::Annotated; ''' @pytest.mark.parametrize('XParamInChildComponent,XParamInRootComponent', [ ('X', 'X'), ('X', 'const X'), ('fruit::Annotated', 'fruit::Annotated'), ('fruit::Annotated', 'fruit::Annotated'), ]) def test_success(XParamInChildComponent, XParamInRootComponent): source = ''' struct X { int n; X(int n) : n(n) {} }; fruit::Component getChildComponent() { return fruit::createComponent() .registerProvider([]() { return X(5); }); } fruit::Component getRootComponent() { return fruit::createComponent() .install(getChildComponent); } int main() { fruit::Injector injector(getRootComponent); X x = injector.get(); Assert(x.n == 5); } ''' expect_success( COMMON_DEFINITIONS, source, locals()) @pytest.mark.parametrize('XParamInChildComponent,XParamInRootComponent', [ ('const X', 'X'), ('fruit::Annotated', 'fruit::Annotated'), ]) def test_install_error_child_component_provides_const(XParamInChildComponent, XParamInRootComponent): source = ''' struct X {}; fruit::Component getChildComponent(); fruit::Component getRootComponent() { return fruit::createComponent() .install(getChildComponent); } ''' expect_compile_error( 'NonConstBindingRequiredButConstBindingProvidedError', 'The type T was provided as constant, however one of the constructors/providers/factories in this component', COMMON_DEFINITIONS, source, locals()) @pytest.mark.parametrize('ProvidedXParam,RequiredXParam', [ ('X', 'X'), ('X', 'const X'), ('const X', 'const X'), ('fruit::Annotated', 'fruit::Annotated'), ('fruit::Annotated', 'fruit::Annotated'), ('fruit::Annotated', 'fruit::Annotated'), ]) def test_with_requirements_success(ProvidedXParam, RequiredXParam): ProvidedXParamWithoutConst = ProvidedXParam.replace('const ', '') source = ''' struct X { int n; X(int n) : n(n) {} }; struct Y { X x; Y(X x): x(x) {} }; fruit::Component, Y> getChildComponent1() { return fruit::createComponent() .registerProvider([](X x) { return Y(x); }); } fruit::Component getChildComponent2() { return fruit::createComponent() .registerProvider([]() { return X(5); }); } fruit::Component getRootComponent() { return fruit::createComponent() .install(getChildComponent1) .install(getChildComponent2); } int main() { fruit::Injector injector(getRootComponent); Y y = injector.get(); Assert(y.x.n == 5); } ''' expect_success( COMMON_DEFINITIONS, source, locals()) @pytest.mark.parametrize('ProvidedXParam,RequiredXParam', [ ('const X', 'X'), ('fruit::Annotated', 'fruit::Annotated'), ]) def test_with_requirements_error_only_nonconst_provided(ProvidedXParam, RequiredXParam): source = ''' struct X {}; struct Y {}; fruit::Component, Y> getChildComponent1(); fruit::Component getChildComponent2(); fruit::Component getRootComponent() { return fruit::createComponent() .install(getChildComponent1) .install(getChildComponent2); } ''' expect_compile_error( 'NonConstBindingRequiredButConstBindingProvidedError', 'The type T was provided as constant, however one of the constructors/providers/factories in this component', COMMON_DEFINITIONS, source, locals()) @pytest.mark.parametrize('ProvidedXParam,RequiredXParam', [ ('const X', 'X'), ('fruit::Annotated', 'fruit::Annotated'), ]) def test_with_requirements_error_only_nonconst_provided_reversed_install_order(ProvidedXParam, RequiredXParam): source = ''' struct X {}; struct Y {}; fruit::Component, Y> getChildComponent1(); fruit::Component getChildComponent2(); fruit::Component getRootComponent() { return fruit::createComponent() .install(getChildComponent2) .install(getChildComponent1); } ''' expect_compile_error( 'NonConstBindingRequiredButConstBindingProvidedError', 'The type T was provided as constant, however one of the constructors/providers/factories in this component', COMMON_DEFINITIONS, source, locals()) def test_with_requirements_not_specified_in_child_component_error(): source = ''' struct X { int n; X(int n) : n(n) {} }; struct Y { X x; Y(X x): x(x) {} }; fruit::Component, Y> getParentYComponent() { return fruit::createComponent() .registerProvider([](X x) { return Y(x); }); } // We intentionally don't have fruit::Required here, we want to test that this results in an error. fruit::Component getYComponent() { return fruit::createComponent() .install(getParentYComponent); } ''' expect_compile_error( 'NoBindingFoundError', 'No explicit binding nor C::Inject definition was found for T', COMMON_DEFINITIONS, source) @pytest.mark.parametrize('XAnnot,ConstXAnnot', [ ('X', 'const X'), ('fruit::Annotated', 'fruit::Annotated'), ]) def test_install_requiring_nonconst_then_install_requiring_const_ok(XAnnot, ConstXAnnot): source = ''' struct X {}; struct Y {}; struct Z {}; fruit::Component, Y> getChildComponent1() { return fruit::createComponent() .registerConstructor(); } fruit::Component, Z> getChildComponent2() { return fruit::createComponent() .registerConstructor(); } fruit::Component getRootComponent() { return fruit::createComponent() .install(getChildComponent1) .install(getChildComponent2) .registerConstructor(); } int main() { fruit::Injector injector(getRootComponent); injector.get(); injector.get(); } ''' expect_success( COMMON_DEFINITIONS, source, locals()) def test_install_requiring_nonconst_then_install_requiring_const_declaring_const_requirement_error(): source = ''' struct X {}; struct Y {}; struct Z {}; fruit::Component, Y> getChildComponent1(); fruit::Component, Z> getChildComponent2(); fruit::Component, Y, Z> getRootComponent() { return fruit::createComponent() .install(getChildComponent1) .install(getChildComponent2); } ''' expect_compile_error( 'ConstBindingDeclaredAsRequiredButNonConstBindingRequiredError', 'The type T was declared as a const Required type in the returned Component, however', COMMON_DEFINITIONS, source, locals()) def test_install_requiring_const_then_install_requiring_nonconst_ok(): source = ''' struct X {}; struct Y {}; struct Z {}; fruit::Component, Y> getChildComponent1() { return fruit::createComponent() .registerConstructor(); } fruit::Component, Z> getChildComponent2() { return fruit::createComponent() .registerConstructor(); } fruit::Component getRootComponent() { return fruit::createComponent() .install(getChildComponent1) .install(getChildComponent2) .registerConstructor(); } int main() { fruit::Injector injector(getRootComponent); injector.get(); injector.get(); } ''' expect_success( COMMON_DEFINITIONS, source, locals()) def test_install_requiring_const_then_install_requiring_nonconst_declaring_const_requirement_error(): source = ''' struct X {}; struct Y {}; struct Z {}; fruit::Component, Y> getChildComponent1(); fruit::Component, Z> getChildComponent2(); fruit::Component, Y, Z> getRootComponent() { return fruit::createComponent() .install(getChildComponent1) .install(getChildComponent2); } ''' expect_compile_error( 'ConstBindingDeclaredAsRequiredButNonConstBindingRequiredError', 'The type T was declared as a const Required type in the returned Component, however', COMMON_DEFINITIONS, source, locals()) def test_install_with_args_success(): source = ''' struct X { int n; X(int n) : n(n) {} }; struct Arg { Arg(int) {} Arg() = default; Arg(const Arg&) = default; Arg(Arg&&) = default; Arg& operator=(const Arg&) = default; Arg& operator=(Arg&&) = default; }; bool operator==(const Arg&, const Arg&) { return true; } namespace std { template <> struct hash { size_t operator()(const Arg&) { return 0; } }; } fruit::Component getParentComponent(int, std::string, Arg, Arg) { return fruit::createComponent() .registerProvider([]() { return X(5); }); } fruit::Component getComponent() { return fruit::createComponent() .install(getParentComponent, 5, std::string("Hello"), Arg{}, 15); } int main() { fruit::Injector injector(getComponent); X x = injector.get(); Assert(x.n == 5); } ''' expect_success(COMMON_DEFINITIONS, source) def test_install_with_args_error_not_move_constructible(): source = ''' struct Arg { Arg() = default; Arg(const Arg&) = default; Arg(Arg&&) = delete; Arg& operator=(const Arg&) = default; Arg& operator=(Arg&&) = default; }; bool operator==(const Arg&, const Arg&); namespace std { template <> struct hash { size_t operator()(const Arg&); }; } fruit::Component getParentComponent(int, std::string, Arg); fruit::Component getComponent() { return fruit::createComponent() .install(getParentComponent, 5, std::string("Hello"), Arg{}); } ''' expect_generic_compile_error( 'error: use of deleted function .Arg::Arg\(Arg&&\).' + '|error: call to deleted constructor of .Arg.' + '|.Arg::Arg\(Arg &&\).: cannot convert argument 1 from .std::_Tuple_val. to .const Arg &.', COMMON_DEFINITIONS, source) def test_install_with_args_error_not_move_constructible_with_conversion(): source = ''' struct Arg { Arg(int) {} Arg() = default; Arg(const Arg&) = default; Arg(Arg&&) = delete; Arg& operator=(const Arg&) = default; Arg& operator=(Arg&&) = default; }; bool operator==(const Arg&, const Arg&); namespace std { template <> struct hash { size_t operator()(const Arg&); }; } fruit::Component getParentComponent(int, std::string, Arg); fruit::Component getComponent() { return fruit::createComponent() .install(getParentComponent, 5, std::string("Hello"), 15); } ''' expect_generic_compile_error( 'error: use of deleted function .Arg::Arg\(Arg&&\).' + '|error: call to deleted constructor of .Arg.' + '|.Arg::Arg\(Arg &&\).: cannot convert argument 1 from .std::_Tuple_val. to .int.', COMMON_DEFINITIONS, source) def test_install_with_args_error_not_copy_constructible(): source = ''' struct X { int n; X(int n) : n(n) {} }; struct Arg { Arg() = default; Arg(const Arg&) = delete; Arg(Arg&&) = default; Arg& operator=(const Arg&) = default; Arg& operator=(Arg&&) = default; }; bool operator==(const Arg&, const Arg&); namespace std { template <> struct hash { size_t operator()(const Arg&); }; } fruit::Component getParentComponent(int, std::string, Arg); fruit::Component getComponent() { return fruit::createComponent() .install(getParentComponent, 5, std::string("Hello"), Arg{}); } ''' expect_generic_compile_error( 'error: use of deleted function .Arg::Arg\(const Arg&\).' + '|error: call to deleted constructor of .Arg.' + '|error C2280: .Arg::Arg\(const Arg &\).: attempting to reference a deleted function', COMMON_DEFINITIONS, source) def test_install_with_args_error_not_copy_constructible_with_conversion(): source = ''' struct X { int n; X(int n) : n(n) {} }; struct Arg { Arg(int) {} Arg() = default; Arg(const Arg&) = delete; Arg(Arg&&) = default; Arg& operator=(const Arg&) = default; Arg& operator=(Arg&&) = default; }; bool operator==(const Arg&, const Arg&); namespace std { template <> struct hash { size_t operator()(const Arg&); }; } fruit::Component getParentComponent(int, std::string, Arg); fruit::Component getComponent() { return fruit::createComponent() .install(getParentComponent, 5, std::string("Hello"), 15); } ''' expect_generic_compile_error( 'error: use of deleted function .Arg::Arg\(const Arg&\).' + '|error: call to deleted constructor of .Arg.' + '|error C2280: .Arg::Arg\(const Arg &\).: attempting to reference a deleted function', COMMON_DEFINITIONS, source) def test_install_with_args_error_not_move_assignable(): source = ''' struct Arg { Arg() = default; Arg(const Arg&) = default; Arg(Arg&&) = default; Arg& operator=(const Arg&) = default; Arg& operator=(Arg&&) = delete; }; bool operator==(const Arg&, const Arg&); namespace std { template <> struct hash { size_t operator()(const Arg&); }; } fruit::Component getParentComponent(int, std::string, Arg); fruit::Component getComponent() { return fruit::createComponent() .install(getParentComponent, 5, std::string("Hello"), Arg{}); } ''' expect_generic_compile_error( 'error: use of deleted function .Arg& Arg::operator=\(Arg&&\).' + '|error: overload resolution selected deleted operator .=.' + '|error C2280: .Arg &Arg::operator =\(Arg &&\).: attempting to reference a deleted function', COMMON_DEFINITIONS, source) def test_install_with_args_error_not_move_assignable_with_conversion(): source = ''' struct Arg { Arg(int) {} Arg() = default; Arg(const Arg&) = default; Arg(Arg&&) = default; Arg& operator=(const Arg&) = default; Arg& operator=(Arg&&) = delete; }; bool operator==(const Arg&, const Arg&); namespace std { template <> struct hash { size_t operator()(const Arg&); }; } fruit::Component getParentComponent(int, std::string, Arg); fruit::Component getComponent() { return fruit::createComponent() .install(getParentComponent, 5, std::string("Hello"), 15); } ''' expect_generic_compile_error( 'error: use of deleted function .Arg& Arg::operator=\(Arg&&\).' + '|error: overload resolution selected deleted operator .=.' + '|error C2280: .Arg &Arg::operator =\(Arg &&\).: attempting to reference a deleted function', COMMON_DEFINITIONS, source) def test_install_with_args_error_not_copy_assignable(): source = ''' struct X { int n; X(int n) : n(n) {} }; struct Arg { Arg() = default; Arg(const Arg&) = default; Arg(Arg&&) = default; Arg& operator=(const Arg&) = delete; Arg& operator=(Arg&&) = default; }; bool operator==(const Arg&, const Arg&); namespace std { template <> struct hash { size_t operator()(const Arg&); }; } fruit::Component getParentComponent(int, std::string, Arg); fruit::Component getComponent() { return fruit::createComponent() .install(getParentComponent, 5, std::string("Hello"), Arg{}); } ''' expect_generic_compile_error( 'error: use of deleted function .Arg& Arg::operator=\(const Arg&\).' + '|error: overload resolution selected deleted operator .=.' + '|error C2280: .Arg &Arg::operator =\(const Arg &\).: attempting to reference a deleted function', COMMON_DEFINITIONS, source) def test_install_with_args_error_not_copy_assignable_with_conversion(): source = ''' struct X { int n; X(int n) : n(n) {} }; struct Arg { Arg(int) {} Arg() = default; Arg(const Arg&) = default; Arg(Arg&&) = default; Arg& operator=(const Arg&) = delete; Arg& operator=(Arg&&) = default; }; bool operator==(const Arg&, const Arg&); namespace std { template <> struct hash { size_t operator()(const Arg&); }; } fruit::Component getParentComponent(int, std::string, Arg); fruit::Component getComponent() { return fruit::createComponent() .install(getParentComponent, 5, std::string("Hello"), 15); } ''' expect_generic_compile_error( 'error: use of deleted function .Arg& Arg::operator=\(const Arg&\).' + '|error: overload resolution selected deleted operator .=.' + '|error C2280: .Arg &Arg::operator =\(const Arg &\).: attempting to reference a deleted function', COMMON_DEFINITIONS, source) def test_install_with_args_error_not_equality_comparable(): source = ''' struct X { int n; X(int n) : n(n) {} }; struct Arg { Arg() = default; Arg(const Arg&) = default; Arg(Arg&&) = default; Arg& operator=(const Arg&) = default; Arg& operator=(Arg&&) = default; }; namespace std { template <> struct hash { size_t operator()(const Arg&); }; } fruit::Component getParentComponent(int, std::string, Arg); fruit::Component getComponent() { return fruit::createComponent() .install(getParentComponent, 5, std::string("Hello"), Arg{}); } ''' expect_generic_compile_error( 'error: no match for .operator==. \(operand types are .const Arg. and .const Arg.\)' + '|error: invalid operands to binary expression \(.const Arg. and .const Arg.\)' + '|error C2676: binary .==.: .const Arg. does not define this operator', COMMON_DEFINITIONS, source) def test_install_with_args_error_not_equality_comparable_with_conversion(): source = ''' struct X { int n; X(int n) : n(n) {} }; struct Arg { Arg(int) {} Arg() = default; Arg(const Arg&) = default; Arg(Arg&&) = default; Arg& operator=(const Arg&) = default; Arg& operator=(Arg&&) = default; }; namespace std { template <> struct hash { size_t operator()(const Arg&); }; } fruit::Component getParentComponent(int, std::string, Arg); fruit::Component getComponent() { return fruit::createComponent() .install(getParentComponent, 5, std::string("Hello"), 15); } ''' expect_generic_compile_error( 'error: no match for .operator==. \(operand types are .const Arg. and .const Arg.\)' + '|error: invalid operands to binary expression \(.const Arg. and .const Arg.\)' + '|error C2676: binary .==.: .const Arg. does not define this operator', COMMON_DEFINITIONS, source) def test_install_with_args_error_not_hashable(): source = ''' struct Arg { Arg() = default; Arg(const Arg&) = default; Arg(Arg&&) = default; Arg& operator=(const Arg&) = default; Arg& operator=(Arg&&) = default; }; bool operator==(const Arg&, const Arg&); fruit::Component getParentComponent(int, std::string, Arg); fruit::Component getComponent() { return fruit::createComponent() .install(getParentComponent, 5, std::string("Hello"), Arg{}); } ''' expect_generic_compile_error( 'error: use of deleted function .std::hash::hash\(\).' + '|error: call to implicitly-deleted default constructor of .std::hash.' + '|error: invalid use of incomplete type .struct std::hash.' + '|error: implicit instantiation of undefined template .std::(__1::)?hash.' + '|error C2338: The C\+\+ Standard doesn.t provide a hash for this type.' + '|error C2064: term does not evaluate to a function taking 1 arguments', COMMON_DEFINITIONS, source) def test_install_with_args_error_not_hashable_with_conversion(): source = ''' struct Arg { Arg(int) {} Arg() = default; Arg(const Arg&) = default; Arg(Arg&&) = default; Arg& operator=(const Arg&) = default; Arg& operator=(Arg&&) = default; }; bool operator==(const Arg&, const Arg&); fruit::Component getParentComponent(int, std::string, Arg); fruit::Component getComponent() { return fruit::createComponent() .install(getParentComponent, 5, std::string("Hello"), 15); } ''' expect_generic_compile_error( 'error: use of deleted function .std::hash::hash\(\).' + '|error: call to implicitly-deleted default constructor of .std::hash.' + '|error: invalid use of incomplete type .struct std::hash.' + '|error: implicit instantiation of undefined template .std::(__1::)?hash.' + '|error C2338: The C\+\+ Standard doesn.t provide a hash for this type.' + '|error C2064: term does not evaluate to a function taking 1 arguments', COMMON_DEFINITIONS, source) @pytest.mark.parametrize('XAnnot', [ 'X', 'fruit::Annotated', ]) def test_install_component_functions_deduped(XAnnot): source = ''' struct X {}; X x; fruit::Component<> getComponent() { return fruit::createComponent() .addInstanceMultibinding(x); } fruit::Component<> getComponent2() { return fruit::createComponent() .install(getComponent); } fruit::Component<> getComponent3() { return fruit::createComponent() .install(getComponent); } fruit::Component<> getComponent4() { return fruit::createComponent() .install(getComponent2) .install(getComponent3); } int main() { fruit::Injector<> injector(getComponent4); // We test multibindings because the effect on other bindings is not user-visible (that only affects // performance). std::vector multibindings = injector.getMultibindings(); Assert(multibindings.size() == 1); Assert(multibindings[0] == &x); } ''' expect_success( COMMON_DEFINITIONS, source, locals()) @pytest.mark.parametrize('XAnnot', [ 'X', 'fruit::Annotated', ]) def test_install_component_functions_deduped_across_normalized_component(XAnnot): source = ''' struct X {}; X x; fruit::Component<> getComponent() { return fruit::createComponent() .addInstanceMultibinding(x); } fruit::Component<> getComponent2() { return fruit::createComponent() .install(getComponent); } fruit::Component<> getComponent3() { return fruit::createComponent() .install(getComponent); } int main() { fruit::NormalizedComponent<> normalizedComponent(getComponent2); fruit::Injector<> injector(normalizedComponent, getComponent3); // We test multibindings because the effect on other bindings is not user-visible (that only affects // performance). std::vector multibindings = injector.getMultibindings(); Assert(multibindings.size() == 1); Assert(multibindings[0] == &x); } ''' expect_success( COMMON_DEFINITIONS, source, locals()) @pytest.mark.parametrize('XAnnot', [ 'X', 'fruit::Annotated', ]) def test_install_component_functions_with_args_deduped(XAnnot): source = ''' struct X {}; X x; fruit::Component<> getComponent(int) { return fruit::createComponent() .addInstanceMultibinding(x); } fruit::Component<> getComponent2() { return fruit::createComponent() .install(getComponent, 1); } fruit::Component<> getComponent3() { return fruit::createComponent() .install(getComponent, 1); } fruit::Component<> getComponent4() { return fruit::createComponent() .install(getComponent2) .install(getComponent3); } int main() { fruit::Injector<> injector(getComponent4); // We test multibindings because the effect on other bindings is not user-visible (that only affects // performance). std::vector multibindings = injector.getMultibindings(); Assert(multibindings.size() == 1); Assert(multibindings[0] == &x); } ''' expect_success( COMMON_DEFINITIONS, source, locals()) @pytest.mark.parametrize('XAnnot', [ 'X', 'fruit::Annotated', ]) def test_install_component_functions_different_args_not_deduped(XAnnot): source = ''' struct X {}; X x; fruit::Component<> getComponent(int) { return fruit::createComponent() .addInstanceMultibinding(x); } fruit::Component<> getComponent2() { return fruit::createComponent() .install(getComponent, 1); } fruit::Component<> getComponent3() { return fruit::createComponent() .install(getComponent, 2); } fruit::Component<> getComponent4() { return fruit::createComponent() .install(getComponent2) .install(getComponent3); } int main() { fruit::Injector<> injector(getComponent4); // We test multibindings because the effect on other bindings is not user-visible (it only affects // performance). std::vector multibindings = injector.getMultibindings(); Assert(multibindings.size() == 2); Assert(multibindings[0] == &x); Assert(multibindings[1] == &x); } ''' expect_success( COMMON_DEFINITIONS, source, locals()) def test_install_component_functions_loop(): source = ''' struct X {}; struct Y {}; struct Z {}; // X -> Y -> Z -> Y fruit::Component getXComponent(); fruit::Component getYComponent(); fruit::Component getZComponent(); fruit::Component getXComponent() { return fruit::createComponent() .registerConstructor() .install(getYComponent); } fruit::Component getYComponent() { return fruit::createComponent() .registerConstructor() .install(getZComponent); } fruit::Component getZComponent() { return fruit::createComponent() .registerConstructor() .install(getYComponent); } int main() { fruit::Injector injector(getXComponent); (void)injector; } ''' expect_runtime_error( 'Component installation trace \(from top-level to the most deeply-nested\):\n' + '(class )?fruit::Component<(struct )?X> ?\((__cdecl)?\*\)\((void)?\)\n' + '<-- The loop starts here\n' + '(class )?fruit::Component<(struct )?Y> ?\((__cdecl)?\*\)\((void)?\)\n' + '(class )?fruit::Component<(struct )?Z> ?\((__cdecl)?\*\)\((void)?\)\n' + '(class )?fruit::Component<(struct )?Y> ?\((__cdecl)?\*\)\((void)?\)\n', COMMON_DEFINITIONS, source, locals()) def test_install_component_functions_different_arguments_loop_not_reported(): source = ''' struct X {}; struct Y {}; struct Z {}; // X -> Y(1) -> Z -> Y(2) fruit::Component getXComponent(); fruit::Component getYComponent(int); fruit::Component getZComponent(); fruit::Component getXComponent() { return fruit::createComponent() .registerConstructor() .install(getYComponent, 1); } fruit::Component getYComponent(int n) { if (n == 1) { return fruit::createComponent() .registerConstructor() .install(getZComponent); } else { return fruit::createComponent() .registerConstructor(); } } fruit::Component getZComponent() { return fruit::createComponent() .registerConstructor() .install(getYComponent, 2); } int main() { fruit::Injector injector(getXComponent); injector.get(); } ''' expect_success( COMMON_DEFINITIONS, source, locals()) if __name__== '__main__': main(__file__)