Adds a service to embindtest that implements XInvocation to handle all possible method names and returns the name as a string. A Python unit test then uses this. Without the fix pyuno would throw an exception when it tries to use the XInvocation object that doesn’t also implement XInvocation2 and return a valid reference for getIntrospection. Change-Id: Icb3359c788acd5eda37980252e5fc5c956b38100 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/209087 Tested-by: Jenkins Reviewed-by: Neil Roberts <nroberts@libreoffice.org>
50 lines
2.2 KiB
XML
50 lines
2.2 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
* This file is part of the LibreOffice project.
|
|
*
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
*
|
|
-->
|
|
|
|
<component
|
|
environment="@CPPU_ENV@"
|
|
loader="com.sun.star.loader.SharedLibrary"
|
|
xmlns="http://openoffice.org/2010/uno-components">
|
|
<implementation
|
|
constructor="org_libreoffice_comp_embindtest_BridgeTest_get_implementation"
|
|
name="org.libreoffice.comp.embindtest.BridgeTest">
|
|
<singleton name="org.libreoffice.embindtest.BridgeTest"/>
|
|
</implementation>
|
|
<implementation
|
|
constructor="org_libreoffice_comp_embindtest_Test_get_implementation"
|
|
name="org.libreoffice.comp.embindtest.Test">
|
|
<service name="org.libreoffice.embindtest.Test"/>
|
|
</implementation>
|
|
<implementation
|
|
constructor="org_libreoffice_comp_embindtest_Constructors_get_implementation"
|
|
name="org.libreoffice.comp.embindtest.Constructors">
|
|
<service name="org.libreoffice.embindtest.ImplicitConstructor"/>
|
|
<service name="org.libreoffice.embindtest.ExplicitConstructors"/>
|
|
</implementation>
|
|
<implementation
|
|
constructor="org_libreoffice_comp_embindtest_Singleton_get_implementation"
|
|
name="org.libreoffice.comp.embindtest.theSingleton"
|
|
single-instance="true">
|
|
<singleton name="org.libreoffice.embindtest.theSingleton"/>
|
|
</implementation>
|
|
<implementation
|
|
constructor="org_libreoffice_comp_embindtest_Passthrough_get_implementation"
|
|
name="org.libreoffice.comp.embindtest.thePassthrough"
|
|
single-instance="true">
|
|
<singleton name="org.libreoffice.embindtest.thePassthrough"/>
|
|
</implementation>
|
|
<implementation
|
|
constructor="org_libreoffice_comp_embindtest_MethodToString_get_implementation"
|
|
name="org.libreoffice.comp.embindtest.theMethodToString"
|
|
single-instance="true">
|
|
<singleton name="org.libreoffice.embindtest.theMethodToString"/>
|
|
</implementation>
|
|
</component>
|