Uploaded image for project: 'Forge'
  1. Forge
  2. FORGE-884

EntityWidgetBuilderTest is failing

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 1.3.0.Final
    • None
    • Scaffold
    • None

      The following test fails:

      org.jboss.forge.scaffold.faces.metawidget.widgetbuilder.EntityWidgetBuilderTest
      testExpandOneToOne(org.jboss.forge.scaffold.faces.metawidget.widgetbuilder.EntityWidgetBuilderTest)
      junit.framework.ComparisonFailure: null expected:<...:outputText id="item[Name" value="#{_item.name}"/></h:link></h:column><h:column><f:facet name="header"><h:outputText value="Description"/></f:facet><h:link outcome="/entityWidgetBuilderTest$FooOneToOne/view"><f:param name="id" value="#{_item.id}"/><h:outputText id="itemDescription" value="#{_item.description}]"/></h:link></h:colu...> but was:<...:outputText id="item[BarName" value="_item.bar.name"/></h:link></h:column><h:column><f:facet name="header"><h:outputText value="Description"/></f:facet><h:link outcome="/entityWidgetBuilderTest$FooOneToOne/view"><f:param name="id" value="#{_item.id}"/><h:outputText id="itemBarDescription" value="_item.bar.description]"/></h:link></h:colu...>
      	at junit.framework.Assert.assertEquals(Assert.java:81)
      	at junit.framework.Assert.assertEquals(Assert.java:87)
      	at org.jboss.forge.scaffold.faces.metawidget.widgetbuilder.EntityWidgetBuilderTest.testExpandOneToOne(EntityWidgetBuilderTest.java:431)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      	at java.lang.reflect.Method.invoke(Method.java:597)
      	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.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50)
      	at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
      	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
      	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
      	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
      	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
      

              vineet.reynolds_jira Vineet Reynolds (Inactive)
              rhn-support-ggastald George Gastaldi
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: