Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- warn:vcl.fonts:2224:5016:vcl/win/gdi/salfont.cxx:1089: SalEnumFontsProcExW: font added: OpenSymbol Regular
- warn:vcl.fonts:2224:5016:vcl/win/gdi/salfont.cxx:1352: WinSalGraphics::GetDevFontList(): leave
- warn:opencl:2224:5016:desktop/source/app/opencl.cxx:138: Failed to initialize OpenCL for test
- warn:extensions.olebridge:2224:5016:extensions/source/ole/olethread.cxx:41: CoInitializeEx failed (expectedly): Cannot change thread mode after it is set.
- warn:extensions.olebridge:2224:5016:extensions/source/ole/olethread.cxx:61: Thread is in a main single-threaded apartment.
- OOoRunner Main() version from 20101118 (yyyymmdd)
- TestJob: -sce C:/cygwin/home/luke/lode/dev/core/forms/qa/unoapi/forms_3.sce
- Connecting the Office with uno:pipe,name=oootesta321a746-7876-43f1-b3df-e1fbea4e7d6e;urp;StarOffice.ServiceManager
- Creating: forms.OHiddenModel
- LOG> Log started 23.07.2018 - 21:53:55
- LOG> creating a draw document
- LOG> creating a test environment
- warn:legacy.tools:2224:5016:sfx2/source/control/bindings.cxx:1744: No cache for OfficeDispatch!
- warn:legacy.tools:2224:5016:sfx2/source/control/bindings.cxx:1744: No cache for OfficeDispatch!
- warn:legacy.tools:2224:5016:sfx2/source/control/bindings.cxx:1744: No cache for OfficeDispatch!
- warn:legacy.tools:2224:5016:sfx2/source/control/bindings.cxx:1744: No cache for OfficeDispatch!
- LOG> creating a new environment for drawpage object
- com.sun.star.form.component.HiddenControl
- com.sun.star.form.FormComponent
- stardiv.one.form.component.Hidden
- stardiv.one.form.component.HiddenControl
- LOG> adding DrawDocument as obj relation to environment
- Environment created
- LOG> Log started 23.07.2018 - 21:54:00
- checking: [forms.OHiddenModel::com::sun::star::form::FormComponent] is iface: [com.sun.star.beans.XPropertySet] testcode: [ifc.form._FormComponent]
- LOG> Execute: Name
- LOG> try to set:
- LOG> old = OHiddenModel
- LOG> new = OHiddenModelNew
- LOG> Property 'Name' OK
- LOG> result = OHiddenModelNew
- Method Name finished with state OK
- LOG> Name: COMPLETED.OK
- ***** State for forms.OHiddenModel::com::sun::star::form::FormComponent ******
- Whole service: COMPLETED.OK
- ******************************************************************************
- LOG> Log started 23.07.2018 - 21:54:00
- checking: [forms.OHiddenModel::com::sun::star::io::XPersistObject] is iface: [com.sun.star.io.XPersistObject] testcode: [ifc.io._XPersistObject]
- LOG> Execute: getServiceName()
- LOG> Method returned 'stardiv.one.form.component.Hidden'
- Method getServiceName() finished with state OK
- LOG> getServiceName(): COMPLETED.OK
- LOG> Execute: write()
- Method write() finished with state OK
- LOG> write(): COMPLETED.OK
- LOG> Execute: read()
- LOG> starting required method: getServiceName()
- LOG> starting required method: write()
- Method read() finished with state OK
- LOG> read(): COMPLETED.OK
- ***** State for forms.OHiddenModel::com::sun::star::io::XPersistObject ******
- Whole interface: COMPLETED.OK
- *****************************************************************************
- LOG> Log started 23.07.2018 - 21:54:00
- checking: [forms.OHiddenModel::com::sun::star::beans::XPropertyAccess] is iface: [com.sun.star.beans.XPropertyAccess] testcode: [ifc.beans._XPropertyAccess]
- LOG> Execute: getPropertyValues()
- Method getPropertyValues() finished with state OK
- LOG> getPropertyValues(): COMPLETED.OK
- LOG> Execute: setPropertyValues()
- LOG> try to set property values given by object relation 'XPropertyAccess.propertyToChange'...
- LOG> ... OK
- LOG> try to set integer value to string property, expect 'com.sun.star.lang.IllegalArgumentException'...
- LOG> OK: expected exception was thrown while trying to set null value: com.sun.star.lang.IllegalArgumentException:
- LOG> ... OK
- LOG> try to set values with invalid property name. Expect 'com.sun.star.beans.UnknownPropertyException'...
- LOG> OK: Expected exception was thrown while trying to set invalid value: com.sun.star.beans.UnknownPropertyException: XPropertyAccess.InvalidPropertyName
- LOG> ... OK
- Method setPropertyValues() finished with state OK
- LOG> setPropertyValues(): COMPLETED.OK
- ***** State for forms.OHiddenModel::com::sun::star::beans::XPropertyAccess ******
- Whole interface: COMPLETED.OK
- *********************************************************************************
- LOG> Log started 23.07.2018 - 21:54:00
- checking: [forms.OHiddenModel::com::sun::star::container::XNamed] is iface: [com.sun.star.container.XNamed] testcode: [ifc.container._XNamed]
- LOG> Execute: getName()
- LOG> test for getName()
- LOG> getting the name "new Text since XPropertyAccess"
- LOG> ... getName() - OK
- Method getName() finished with state OK
- LOG> getName(): COMPLETED.OK
- LOG> Execute: setName()
- LOG> starting required method: getName()
- LOG> testing setName() ...
- LOG> set the name of object to "new Text since XPropertyAccessX"
- LOG> check that container has element with this name
- LOG> getting the name "new Text since XPropertyAccessX"
- LOG> ... setName() - OK
- Method setName() finished with state OK
- LOG> setName(): COMPLETED.OK
- ***** State for forms.OHiddenModel::com::sun::star::container::XNamed ******
- Whole interface: COMPLETED.OK
- ****************************************************************************
- LOG> Log started 23.07.2018 - 21:54:00
- checking: [forms.OHiddenModel::com::sun::star::beans::XPropertyContainer] is iface: [com.sun.star.beans.XPropertyContainer] testcode: [ifc.beans._XPropertyContainer]
- LOG> Execute: addProperty()
- LOG> try to add following property:
- ('myXPropertContainerProperty', com.sun.star.beans.PropertyAttribute.MAYBEVOID, null) ...
- LOG> ... OK
- LOG> add following property second time:
- ('myXPropertContainerProperty', com.sun.star.beans.PropertyAttribute.MAYBEVOID, null) ...
- LOG> OK: expected Exception was thrown.com.sun.star.beans.PropertyExistException: myXPropertContainerProperty
- LOG> ... OK
- LOG> try to add following property:
- ('IllegalTypeProperty', com.sun.star.beans.PropertyAttribute.MAYBEVOID, Any.VOID) ...
- LOG> OK: expected Exception was thrown.com.sun.star.beans.IllegalTypeException: The initial value must be non-NULL to determine the property type.
- LOG> ... OK
- LOG> add following property:
- '', -1, new Object
- LOG> OK: expected Exception was thrown.com.sun.star.lang.IllegalArgumentException: The property name must not be empty.
- LOG> ... OK
- Method addProperty() finished with state OK
- LOG> addProperty(): COMPLETED.OK
- LOG> Execute: removeProperty()
- LOG> starting required method: addProperty()
- LOG> remove 'myXPropertContainerProperty'
- LOG> ... OK
- LOG> remove not removable property 'Name'
- LOG> OK: expected Exception was thrown: com.sun.star.beans.NotRemoveableException: Name
- LOG> ... OK
- LOG> remove property 'thisPropertyDoesNotExist'
- LOG> OK: expected Exception was thrown: com.sun.star.beans.UnknownPropertyException:
- LOG> ... OK
- Method removeProperty() finished with state OK
- LOG> removeProperty(): COMPLETED.OK
- ***** State for forms.OHiddenModel::com::sun::star::beans::XPropertyContainer ******
- Whole interface: COMPLETED.OK
- ************************************************************************************
- LOG> Log started 23.07.2018 - 21:54:00
- checking: [forms.OHiddenModel::com::sun::star::beans::XPropertySet] is iface: [com.sun.star.beans.XPropertySet] testcode: [ifc.beans._XPropertySet]
- LOG> Execute: getPropertySetInfo()
- Method getPropertySetInfo() finished with state OK
- LOG> Property 'ClassId' is READONLY
- LOG> Getting:
- LOG> Setting to :New
- LOG> Getting: new Text since XPropertyAccess
- LOG> Setting to :new Text since XPropertyAccessNew
- LOG> Getting:
- LOG> Setting to :New
- LOG> getPropertySetInfo(): COMPLETED.OK
- LOG> Execute: setPropertyValue()
- LOG> starting required method: getPropertySetInfo()
- LOG> try to change value of property 'HiddenValue'
- LOG> try to change value of property 'Name'
- LOG> try to change value of property 'Tag'
- Method setPropertyValue() finished with state OK
- LOG> setPropertyValue(): COMPLETED.OK
- LOG> Execute: getPropertyValue()
- LOG> starting required method: getPropertySetInfo()
- Method getPropertyValue() finished with state OK
- LOG> getPropertyValue(): COMPLETED.OK
- LOG> Execute: addPropertyChangeListener()
- LOG> starting required method: getPropertySetInfo()
- LOG> Check bound property: HiddenValue
- LOG> Check bound property: Name
- LOG> Check bound property: Tag
- Method addPropertyChangeListener() finished with state OK
- LOG> addPropertyChangeListener(): COMPLETED.OK
- LOG> Execute: removePropertyChangeListener()
- LOG> starting required method: addPropertyChangeListener()
- Method removePropertyChangeListener() finished with state OK
- LOG> removePropertyChangeListener(): COMPLETED.OK
- LOG> Execute: addVetoableChangeListener()
- LOG> starting required method: getPropertySetInfo()
- LOG> *** No constrained properties found ***
- Method addVetoableChangeListener() finished with state OK
- LOG> addVetoableChangeListener(): COMPLETED.OK
- LOG> Execute: removeVetoableChangeListener()
- LOG> starting required method: addVetoableChangeListener()
- LOG> *** No constrained properties found ***
- Method removeVetoableChangeListener() finished with state OK
- LOG> removeVetoableChangeListener(): COMPLETED.OK
- LOG> disposing xDrawDoc
- LOG> couldn't close document
- ***** State for forms.OHiddenModel::com::sun::star::beans::XPropertySet ******
- Whole interface: COMPLETED.OK
- ******************************************************************************
- LOG> Log started 23.07.2018 - 21:56:14
- Creating: forms.OHiddenModel
- LOG> Log started 23.07.2018 - 21:56:14
- LOG> creating a draw document
- Office disposed
- EE
- Time: 149.771
- There were 2 failures:
- 1) test(org.openoffice.test.UnoApiTest)
- com.sun.star.lang.DisposedException: java_remote_bridge com.sun.star.lib.uno.bridges.java_remote.java_remote_bridge@3b81a1bc is disposed
- at com.sun.star.lib.uno.bridges.java_remote.java_remote_bridge.checkDisposed(java_remote_bridge.java:688)
- at com.sun.star.lib.uno.bridges.java_remote.java_remote_bridge.sendRequest(java_remote_bridge.java:602)
- at com.sun.star.lib.uno.bridges.java_remote.ProxyFactory$Handler.request(ProxyFactory.java:145)
- at com.sun.star.lib.uno.bridges.java_remote.ProxyFactory$Handler.invoke(ProxyFactory.java:129)
- at com.sun.proxy.$Proxy8.loadComponentFromURL(Unknown Source)
- at util.SOfficeFactory.openDoc(SOfficeFactory.java:435)
- at util.SOfficeFactory.createDrawDoc(SOfficeFactory.java:126)
- at mod._forms.OHiddenModel.initialize(OHiddenModel.java:97)
- at lib.TestCase.initializeTestCase(TestCase.java:67)
- at base.java_fat.getEnv(java_fat.java:361)
- at base.java_fat.executeTest(java_fat.java:174)
- at org.openoffice.Runner.run(Runner.java:175)
- at org.openoffice.test.UnoApiTest.test(UnoApiTest.java:41)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
- at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
- at org.junit.runners.Suite.runChild(Suite.java:128)
- at org.junit.runners.Suite.runChild(Suite.java:24)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:157)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:136)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:117)
- at org.junit.runner.JUnitCore.runMain(JUnitCore.java:98)
- at org.junit.runner.JUnitCore.runMainAndExit(JUnitCore.java:53)
- at org.junit.runner.JUnitCore.main(JUnitCore.java:45)
- 2) test(org.openoffice.test.UnoApiTest)
- java.lang.AssertionError: expected:<0> but was:<1>
- at org.junit.Assert.fail(Assert.java:93)
- at org.junit.Assert.failNotEquals(Assert.java:647)
- at org.junit.Assert.assertEquals(Assert.java:128)
- at org.junit.Assert.assertEquals(Assert.java:472)
- at org.junit.Assert.assertEquals(Assert.java:456)
- at org.openoffice.test.OfficeConnection.tearDown(OfficeConnection.java:150)
- at org.openoffice.test.UnoApiTest.tearDown(UnoApiTest.java:33)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
- at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:36)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
- at org.junit.runners.Suite.runChild(Suite.java:128)
- at org.junit.runners.Suite.runChild(Suite.java:24)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:157)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:136)
- at org.junit.runner.JUnitCore.run(JUnitCore.java:117)
- at org.junit.runner.JUnitCore.runMain(JUnitCore.java:98)
- at org.junit.runner.JUnitCore.runMainAndExit(JUnitCore.java:53)
- at org.junit.runner.JUnitCore.main(JUnitCore.java:45)
- FAILURES!!!
- Tests run: 1, Failures: 2
- to rerun just this failed test without all others, run:
- make JunitTest_forms_unoapi_3
- cd into the module dir to run the tests faster
- Or to do interactive debugging, run two shells with:
- make debugrun
- make gb_JunitTest_DEBUGRUN=T JunitTest_forms_unoapi_3
- make[1]:
- Makefile:286: recipe for target 'build' failed
- make: *** [build] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement