smooks.ui tests fail
--------------------
Key: JBIDE-6565
URL:
https://jira.jboss.org/browse/JBIDE-6565
Project: Tools (JBoss Tools)
Issue Type: Sub-task
Components: smooks, testing
Affects Versions: 3.2.0.M1
Reporter: Denis Golovin
Assignee: John Graham
Fix For: 3.2.0.M1
Running org.jboss.tools.smooks.launch.serialize.ObjectSerializerTest
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.199 sec <<<
FAILURE!
test(org.jboss.tools.smooks.launch.serialize.ObjectSerializerTest) Time elapsed: 0.191
sec <<< FAILURE!
junit.framework.ComparisonFailure: null expected:<> order (beanId = [order)
header (beanId = header)
customerNumber = 188276L
customerName = "Mr. Fox"
orderItems (beanId = orderItems)
org.jboss.tools.smooks.launch.serialize.OrderItem (beanId = orderItem)
productId = 55126L
quantity = 6I
price = 65.98D
org.jboss.tools.smooks.launch.serialize.OrderItem (beanId = orderItem)
productId = 23423L
quantity = 3I
price = 8.42D
org.jboss.tools.smooks.launch.serialize.OrderItem (beanId = orderItem])
prod...> but was:<> order (beanId = ["order")
header (beanId = "header")
customerNumber = 188276L
customerName = "Mr. Fox"
orderItems (beanId = "orderItems")
org.jboss.tools.smooks.launch.serialize.OrderItem (beanId = "orderItem")
productId = 55126L
quantity = 6I
price = 65.98D
org.jboss.tools.smooks.launch.serialize.OrderItem (beanId = "orderItem")
productId = 23423L
quantity = 3I
price = 8.42D
org.jboss.tools.smooks.launch.serialize.OrderItem (beanId = "orderItem"])
prod...>
at junit.framework.Assert.assertEquals(Assert.java:81)
at junit.framework.Assert.assertEquals(Assert.java:87)
at org.jboss.tools.smooks.launch.serialize.TestUtil.assertEquals(TestUtil.java:52)
at
org.jboss.tools.smooks.launch.serialize.ObjectSerializerTest.test(ObjectSerializerTest.java:64)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at junit.framework.TestCase.runTest(TestCase.java:168)
at junit.framework.TestCase.runBare(TestCase.java:134)
at junit.framework.TestResult$1.protect(TestResult.java:110)
at junit.framework.TestResult.runProtected(TestResult.java:128)
at junit.framework.TestResult.run(TestResult.java:113)
at junit.framework.TestCase.run(TestCase.java:124)
at junit.framework.TestSuite.runTest(TestSuite.java:232)
at junit.framework.TestSuite.run(TestSuite.java:227)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
at
org.codehaus.tycho.surefire.osgibooter.OsgiSurefireBooter.run(OsgiSurefireBooter.java:75)
at
org.codehaus.tycho.surefire.osgibooter.AbstractUITestApplication$1.run(AbstractUITestApplication.java:25)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3527)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3174)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2629)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2593)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2427)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:670)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:663)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
at
org.codehaus.tycho.surefire.osgibooter.UITestApplication.runApplication(UITestApplication.java:21)
at
org.codehaus.tycho.surefire.osgibooter.AbstractUITestApplication.run(AbstractUITestApplication.java:109)
at
org.codehaus.tycho.surefire.osgibooter.UITestApplication.start(UITestApplication.java:27)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
at org.eclipse.equinox.launcher.Main.main(Main.java:1383)
Results :
Failed tests:
test(org.jboss.tools.smooks.launch.serialize.ObjectSerializerTest)
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0
[INFO] org.jboss.tools.smooks.ui.test .................... FAILURE [11.627s]
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira