Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-127972

Comparison failure on FragmentEntryProcessorFreemarkerTest

    Details

      Description

      Testray

      Jenkins

           [exec] com.liferay.fragment.entry.processor.freemarker.test.FragmentEntryProcessorFreemarkerTest > testProcessFragmentEntryLinkHTMLWithConfigurationItemSelectorJournalArticle STARTED
           [exec] 
           [exec] com.liferay.fragment.entry.processor.freemarker.test.FragmentEntryProcessorFreemarkerTest > testProcessFragmentEntryLinkHTMLWithConfigurationItemSelectorJournalArticle FAILED
           [exec]     org.junit.ComparisonFailure: expected:<...fault-locale="en_US"[> 
           [exec]           <request /> 
           [exec]           <dynamic-element index-type="keyword" name="name" type="text"> 
           [exec]            <dynamic-content language-id="en_US">
           [exec]              c1 
           [exec]            </dynamic-content> 
           [exec]           </dynamic-element> 
           [exec]          </root> </td> 
           [exec]         <td> true </td> 
           [exec]         <td> false </td> 
           [exec]         <td> false </td> 
           [exec]         <td> false </td> 
           [exec]        </tr> 
           [exec]        <tr> 
           [exec]         <td> itemSelector1Object.getContentByLocale("es_ES") </td> 
           [exec]         <td> 
           [exec]          <!--?xml version="1.0" encoding="UTF-8"?--> 
           [exec]          <root available-locales="es_ES,en_US" default-locale="en_US]"> 
           [exec]           <request /...> but was:<...fault-locale="en_US"[ version="1.0"> 
           [exec]           <request /> 
           [exec]           <dynamic-element index-type="keyword" name="name" type="text"> 
           [exec]            <dynamic-content language-id="en_US">
           [exec]              c1 
           [exec]            </dynamic-content> 
           [exec]           </dynamic-element> 
           [exec]          </root> </td> 
           [exec]         <td> true </td> 
           [exec]         <td> false </td> 
           [exec]         <td> false </td> 
           [exec]         <td> false </td> 
           [exec]        </tr> 
           [exec]        <tr> 
           [exec]         <td> itemSelector1Object.getContentByLocale("es_ES") </td> 
           [exec]         <td> 
           [exec]          <!--?xml version="1.0" encoding="UTF-8"?--> 
           [exec]          <root available-locales="es_ES,en_US" default-locale="en_US" version="1.0]"> 
           [exec]           <request /...>
           [exec]     	at org.junit.Assert.assertEquals(Assert.java:117)
           [exec]     	at org.junit.Assert.assertEquals(Assert.java:146)
           [exec]     	at com.liferay.fragment.entry.processor.freemarker.test.FragmentEntryProcessorFreemarkerTest.testProcessFragmentEntryLinkHTMLWithConfigurationItemSelectorJournalArticle(FragmentEntryProcessorFreemarkerTest.java:401)
           [exec]     	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           [exec]     	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
           [exec]     	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           [exec]     	at java.lang.reflect.Method.invoke(Method.java:498)
           [exec]     	at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable$3.evaluate(TestExecutorRunnable.java:353)
           [exec]     	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)
           [exec]     	at org.junit.rules.ExpectedException$ExpectedExceptionStatement.evaluate(ExpectedException.java:258)
           [exec]     	at org.junit.rules.RunRules.evaluate(RunRules.java:20)
           [exec]     	at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable$1.evaluate(TestExecutorRunnable.java:237)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
           [exec]     	at org.junit.rules.RunRules.evaluate(RunRules.java:20)
           [exec]     	at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable._execute(TestExecutorRunnable.java:316)
           [exec]     	at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable.run(TestExecutorRunnable.java:95)
           [exec]     	at java.lang.Thread.run(Thread.java:745)
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              yang.cao Yang Cao
              Reporter:
              nicholas.kwon Nicholas Kwon
              Participants of an Issue:
              Recent user:
              Yang Cao
              Engineering Assignee:
              Victor Galan
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                17 weeks ago

                  Packages

                  Version Package
                  Master