office-gobmx/unotest/source/embindtest/embindtest.component
Stephan Bergmann a0f3225984 Turn org.libreoffice.embindtest.Test from singleton to service
...so that testing its StringAttribute stars out with a known state.  And which
revealed that the test code in unotest/source/embindtest/embindtest.js was
actually wrong in assuming that that UNO attribute would be represented by a JS
accessor property, when actually it is represented by a pair of
get-/setStringAttribute member functions.

Change-Id: I1a6e7c9f26e9a08cd089b7972a23f4c608c6b1bc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170414
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
2024-07-12 19:36:46 +02:00

25 lines
971 B
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>
</component>