SHARE
TWEET

JunitTest_forms_unoapi_3 test failure

a guest Aug 23rd, 2018 175 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. warn:vcl.fonts:2224:5016:vcl/win/gdi/salfont.cxx:1089: SalEnumFontsProcExW: font added: OpenSymbol Regular
  2. warn:vcl.fonts:2224:5016:vcl/win/gdi/salfont.cxx:1352: WinSalGraphics::GetDevFontList(): leave
  3. warn:opencl:2224:5016:desktop/source/app/opencl.cxx:138: Failed to initialize OpenCL for test
  4. warn:extensions.olebridge:2224:5016:extensions/source/ole/olethread.cxx:41: CoInitializeEx failed (expectedly): Cannot change thread mode after it is set.
  5. warn:extensions.olebridge:2224:5016:extensions/source/ole/olethread.cxx:61:   Thread is in a main single-threaded apartment.
  6. OOoRunner Main() version from 20101118 (yyyymmdd)
  7. TestJob: -sce C:/cygwin/home/luke/lode/dev/core/forms/qa/unoapi/forms_3.sce
  8. Connecting the Office with uno:pipe,name=oootesta321a746-7876-43f1-b3df-e1fbea4e7d6e;urp;StarOffice.ServiceManager
  9. Creating: forms.OHiddenModel
  10. LOG> Log started 23.07.2018 - 21:53:55
  11. LOG> creating a draw document
  12. LOG> creating a test environment
  13. warn:legacy.tools:2224:5016:sfx2/source/control/bindings.cxx:1744: No cache for OfficeDispatch!
  14. warn:legacy.tools:2224:5016:sfx2/source/control/bindings.cxx:1744: No cache for OfficeDispatch!
  15. warn:legacy.tools:2224:5016:sfx2/source/control/bindings.cxx:1744: No cache for OfficeDispatch!
  16. warn:legacy.tools:2224:5016:sfx2/source/control/bindings.cxx:1744: No cache for OfficeDispatch!
  17. LOG> creating a new environment for drawpage object
  18. com.sun.star.form.component.HiddenControl
  19. com.sun.star.form.FormComponent
  20. stardiv.one.form.component.Hidden
  21. stardiv.one.form.component.HiddenControl
  22. LOG> adding DrawDocument as obj relation to environment
  23. Environment created
  24. LOG> Log started 23.07.2018 - 21:54:00
  25. checking: [forms.OHiddenModel::com::sun::star::form::FormComponent] is iface: [com.sun.star.beans.XPropertySet] testcode: [ifc.form._FormComponent]
  26. LOG> Execute: Name
  27. LOG> try to set:
  28. LOG> old = OHiddenModel
  29. LOG> new = OHiddenModelNew
  30. LOG> Property 'Name' OK
  31. LOG> result = OHiddenModelNew
  32. Method Name finished with state OK
  33. LOG> Name: COMPLETED.OK
  34. ***** State for forms.OHiddenModel::com::sun::star::form::FormComponent ******
  35. Whole service: COMPLETED.OK
  36. ******************************************************************************
  37. LOG> Log started 23.07.2018 - 21:54:00
  38. checking: [forms.OHiddenModel::com::sun::star::io::XPersistObject] is iface: [com.sun.star.io.XPersistObject] testcode: [ifc.io._XPersistObject]
  39. LOG> Execute: getServiceName()
  40. LOG> Method returned 'stardiv.one.form.component.Hidden'
  41. Method getServiceName() finished with state OK
  42. LOG> getServiceName(): COMPLETED.OK
  43.  
  44. LOG> Execute: write()
  45. Method write() finished with state OK
  46. LOG> write(): COMPLETED.OK
  47.  
  48. LOG> Execute: read()
  49. LOG> starting required method: getServiceName()
  50. LOG> starting required method: write()
  51. Method read() finished with state OK
  52. LOG> read(): COMPLETED.OK
  53. ***** State for forms.OHiddenModel::com::sun::star::io::XPersistObject ******
  54. Whole interface: COMPLETED.OK
  55. *****************************************************************************
  56. LOG> Log started 23.07.2018 - 21:54:00
  57. checking: [forms.OHiddenModel::com::sun::star::beans::XPropertyAccess] is iface: [com.sun.star.beans.XPropertyAccess] testcode: [ifc.beans._XPropertyAccess]
  58. LOG> Execute: getPropertyValues()
  59. Method getPropertyValues() finished with state OK
  60. LOG> getPropertyValues(): COMPLETED.OK
  61.  
  62. LOG> Execute: setPropertyValues()
  63. LOG> try to set property values given by object relation 'XPropertyAccess.propertyToChange'...
  64. LOG> ... OK
  65. LOG> try to set integer value to string property, expect 'com.sun.star.lang.IllegalArgumentException'...
  66. LOG> OK: expected exception was thrown while trying to set null value: com.sun.star.lang.IllegalArgumentException:
  67. LOG> ... OK
  68. LOG> try to set values with invalid property name. Expect 'com.sun.star.beans.UnknownPropertyException'...
  69. LOG> OK: Expected exception was thrown while trying to set invalid value: com.sun.star.beans.UnknownPropertyException: XPropertyAccess.InvalidPropertyName
  70. LOG> ... OK
  71. Method setPropertyValues() finished with state OK
  72. LOG> setPropertyValues(): COMPLETED.OK
  73. ***** State for forms.OHiddenModel::com::sun::star::beans::XPropertyAccess ******
  74. Whole interface: COMPLETED.OK
  75. *********************************************************************************
  76. LOG> Log started 23.07.2018 - 21:54:00
  77. checking: [forms.OHiddenModel::com::sun::star::container::XNamed] is iface: [com.sun.star.container.XNamed] testcode: [ifc.container._XNamed]
  78. LOG> Execute: getName()
  79. LOG> test for getName()
  80. LOG> getting the name "new Text since XPropertyAccess"
  81. LOG> ... getName() - OK
  82. Method getName() finished with state OK
  83. LOG> getName(): COMPLETED.OK
  84.  
  85. LOG> Execute: setName()
  86. LOG> starting required method: getName()
  87. LOG> testing setName() ...
  88. LOG> set the name of object to "new Text since XPropertyAccessX"
  89. LOG> check that container has element with this name
  90. LOG> getting the name "new Text since XPropertyAccessX"
  91. LOG> ... setName() - OK
  92. Method setName() finished with state OK
  93. LOG> setName(): COMPLETED.OK
  94. ***** State for forms.OHiddenModel::com::sun::star::container::XNamed ******
  95. Whole interface: COMPLETED.OK
  96. ****************************************************************************
  97. LOG> Log started 23.07.2018 - 21:54:00
  98. checking: [forms.OHiddenModel::com::sun::star::beans::XPropertyContainer] is iface: [com.sun.star.beans.XPropertyContainer] testcode: [ifc.beans._XPropertyContainer]
  99. LOG> Execute: addProperty()
  100. LOG> try to add following property:
  101.         ('myXPropertContainerProperty', com.sun.star.beans.PropertyAttribute.MAYBEVOID, null) ...
  102. LOG> ... OK
  103. LOG> add following property second time:
  104.         ('myXPropertContainerProperty', com.sun.star.beans.PropertyAttribute.MAYBEVOID, null) ...
  105. LOG> OK: expected Exception was thrown.com.sun.star.beans.PropertyExistException: myXPropertContainerProperty
  106. LOG> ... OK
  107. LOG> try to add following property:
  108.         ('IllegalTypeProperty', com.sun.star.beans.PropertyAttribute.MAYBEVOID, Any.VOID) ...
  109. LOG> OK: expected Exception was thrown.com.sun.star.beans.IllegalTypeException: The initial value must be non-NULL to determine the property type.
  110. LOG> ... OK
  111. LOG> add following property:
  112. '', -1, new Object
  113. LOG> OK: expected Exception was thrown.com.sun.star.lang.IllegalArgumentException: The property name must not be empty.
  114. LOG> ... OK
  115. Method addProperty() finished with state OK
  116. LOG> addProperty(): COMPLETED.OK
  117.  
  118. LOG> Execute: removeProperty()
  119. LOG> starting required method: addProperty()
  120. LOG> remove 'myXPropertContainerProperty'
  121. LOG> ... OK
  122. LOG> remove not removable property 'Name'
  123. LOG> OK: expected Exception was thrown: com.sun.star.beans.NotRemoveableException: Name
  124. LOG> ... OK
  125. LOG> remove property 'thisPropertyDoesNotExist'
  126. LOG> OK: expected Exception was thrown: com.sun.star.beans.UnknownPropertyException:
  127. LOG> ... OK
  128. Method removeProperty() finished with state OK
  129. LOG> removeProperty(): COMPLETED.OK
  130. ***** State for forms.OHiddenModel::com::sun::star::beans::XPropertyContainer ******
  131. Whole interface: COMPLETED.OK
  132. ************************************************************************************
  133. LOG> Log started 23.07.2018 - 21:54:00
  134. checking: [forms.OHiddenModel::com::sun::star::beans::XPropertySet] is iface: [com.sun.star.beans.XPropertySet] testcode: [ifc.beans._XPropertySet]
  135. LOG> Execute: getPropertySetInfo()
  136. Method getPropertySetInfo() finished with state OK
  137. LOG> Property 'ClassId' is READONLY
  138. LOG> Getting:
  139. LOG> Setting to :New
  140. LOG> Getting: new Text since XPropertyAccess
  141. LOG> Setting to :new Text since XPropertyAccessNew
  142. LOG> Getting:
  143. LOG> Setting to :New
  144. LOG> getPropertySetInfo(): COMPLETED.OK
  145.  
  146. LOG> Execute: setPropertyValue()
  147. LOG> starting required method: getPropertySetInfo()
  148. LOG> try to change value of property 'HiddenValue'
  149. LOG> try to change value of property 'Name'
  150. LOG> try to change value of property 'Tag'
  151. Method setPropertyValue() finished with state OK
  152. LOG> setPropertyValue(): COMPLETED.OK
  153.  
  154. LOG> Execute: getPropertyValue()
  155. LOG> starting required method: getPropertySetInfo()
  156. Method getPropertyValue() finished with state OK
  157. LOG> getPropertyValue(): COMPLETED.OK
  158.  
  159. LOG> Execute: addPropertyChangeListener()
  160. LOG> starting required method: getPropertySetInfo()
  161. LOG> Check bound property: HiddenValue
  162. LOG> Check bound property: Name
  163. LOG> Check bound property: Tag
  164. Method addPropertyChangeListener() finished with state OK
  165. LOG> addPropertyChangeListener(): COMPLETED.OK
  166.  
  167. LOG> Execute: removePropertyChangeListener()
  168. LOG> starting required method: addPropertyChangeListener()
  169. Method removePropertyChangeListener() finished with state OK
  170. LOG> removePropertyChangeListener(): COMPLETED.OK
  171.  
  172. LOG> Execute: addVetoableChangeListener()
  173. LOG> starting required method: getPropertySetInfo()
  174. LOG> *** No constrained properties found ***
  175. Method addVetoableChangeListener() finished with state OK
  176. LOG> addVetoableChangeListener(): COMPLETED.OK
  177.  
  178. LOG> Execute: removeVetoableChangeListener()
  179. LOG> starting required method: addVetoableChangeListener()
  180. LOG> *** No constrained properties found ***
  181. Method removeVetoableChangeListener() finished with state OK
  182. LOG> removeVetoableChangeListener(): COMPLETED.OK
  183. LOG>     disposing xDrawDoc
  184. LOG> couldn't close document
  185. ***** State for forms.OHiddenModel::com::sun::star::beans::XPropertySet ******
  186. Whole interface: COMPLETED.OK
  187. ******************************************************************************
  188. LOG> Log started 23.07.2018 - 21:56:14
  189. Creating: forms.OHiddenModel
  190. LOG> Log started 23.07.2018 - 21:56:14
  191. LOG> creating a draw document
  192. Office disposed
  193. EE
  194. Time: 149.771
  195. There were 2 failures:
  196. 1) test(org.openoffice.test.UnoApiTest)
  197. com.sun.star.lang.DisposedException: java_remote_bridge com.sun.star.lib.uno.bridges.java_remote.java_remote_bridge@3b81a1bc is disposed
  198.         at com.sun.star.lib.uno.bridges.java_remote.java_remote_bridge.checkDisposed(java_remote_bridge.java:688)
  199.         at com.sun.star.lib.uno.bridges.java_remote.java_remote_bridge.sendRequest(java_remote_bridge.java:602)
  200.         at com.sun.star.lib.uno.bridges.java_remote.ProxyFactory$Handler.request(ProxyFactory.java:145)
  201.         at com.sun.star.lib.uno.bridges.java_remote.ProxyFactory$Handler.invoke(ProxyFactory.java:129)
  202.         at com.sun.proxy.$Proxy8.loadComponentFromURL(Unknown Source)
  203.         at util.SOfficeFactory.openDoc(SOfficeFactory.java:435)
  204.         at util.SOfficeFactory.createDrawDoc(SOfficeFactory.java:126)
  205.         at mod._forms.OHiddenModel.initialize(OHiddenModel.java:97)
  206.         at lib.TestCase.initializeTestCase(TestCase.java:67)
  207.         at base.java_fat.getEnv(java_fat.java:361)
  208.         at base.java_fat.executeTest(java_fat.java:174)
  209.         at org.openoffice.Runner.run(Runner.java:175)
  210.         at org.openoffice.test.UnoApiTest.test(UnoApiTest.java:41)
  211.         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  212.         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  213.         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  214.         at java.lang.reflect.Method.invoke(Method.java:498)
  215.         at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
  216.         at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
  217.         at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
  218.         at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
  219.         at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
  220.         at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)
  221.         at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
  222.         at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)
  223.         at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)
  224.         at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
  225.         at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
  226.         at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
  227.         at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
  228.         at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
  229.         at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
  230.         at org.junit.runners.Suite.runChild(Suite.java:128)
  231.         at org.junit.runners.Suite.runChild(Suite.java:24)
  232.         at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
  233.         at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
  234.         at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
  235.         at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
  236.         at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
  237.         at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
  238.         at org.junit.runner.JUnitCore.run(JUnitCore.java:157)
  239.         at org.junit.runner.JUnitCore.run(JUnitCore.java:136)
  240.         at org.junit.runner.JUnitCore.run(JUnitCore.java:117)
  241.         at org.junit.runner.JUnitCore.runMain(JUnitCore.java:98)
  242.         at org.junit.runner.JUnitCore.runMainAndExit(JUnitCore.java:53)
  243.         at org.junit.runner.JUnitCore.main(JUnitCore.java:45)
  244. 2) test(org.openoffice.test.UnoApiTest)
  245. java.lang.AssertionError: expected:<0> but was:<1>
  246.         at org.junit.Assert.fail(Assert.java:93)
  247.         at org.junit.Assert.failNotEquals(Assert.java:647)
  248.         at org.junit.Assert.assertEquals(Assert.java:128)
  249.         at org.junit.Assert.assertEquals(Assert.java:472)
  250.         at org.junit.Assert.assertEquals(Assert.java:456)
  251.         at org.openoffice.test.OfficeConnection.tearDown(OfficeConnection.java:150)
  252.         at org.openoffice.test.UnoApiTest.tearDown(UnoApiTest.java:33)
  253.         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  254.         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  255.         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  256.         at java.lang.reflect.Method.invoke(Method.java:498)
  257.         at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
  258.         at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
  259.         at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
  260.         at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:36)
  261.         at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
  262.         at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)
  263.         at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)
  264.         at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
  265.         at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
  266.         at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
  267.         at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
  268.         at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
  269.         at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
  270.         at org.junit.runners.Suite.runChild(Suite.java:128)
  271.         at org.junit.runners.Suite.runChild(Suite.java:24)
  272.         at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
  273.         at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
  274.         at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
  275.         at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
  276.         at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
  277.         at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
  278.         at org.junit.runner.JUnitCore.run(JUnitCore.java:157)
  279.         at org.junit.runner.JUnitCore.run(JUnitCore.java:136)
  280.         at org.junit.runner.JUnitCore.run(JUnitCore.java:117)
  281.         at org.junit.runner.JUnitCore.runMain(JUnitCore.java:98)
  282.         at org.junit.runner.JUnitCore.runMainAndExit(JUnitCore.java:53)
  283.         at org.junit.runner.JUnitCore.main(JUnitCore.java:45)
  284.  
  285. FAILURES!!!
  286. Tests run: 1,  Failures: 2
  287.  
  288. to rerun just this failed test without all others, run:
  289.  
  290.     make JunitTest_forms_unoapi_3
  291.  
  292. cd into the module dir to run the tests faster
  293. Or to do interactive debugging, run two shells with:
  294.  
  295.     make debugrun
  296.     make gb_JunitTest_DEBUGRUN=T JunitTest_forms_unoapi_3
  297.  
  298. make[1]:
  299. Makefile:286: recipe for target 'build' failed
  300. make: *** [build] Error 2
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top