Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-8381

Windows: Unit test failures when building the CMS on Windows/with dutch locale

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Low
    • Resolution: Outdated
    • 2.26.08
    • None
    • None

    Description

      When building the CMS on Windows several unit tests fail. Test failures seem to relate to line-endings, separators, date formatting and translations.
      Some failures might be related to the fact that this Windows is configured for the Dutch locale.

      org.hippoecm.frontend.config.PluginConfigTest.testWrappedSerialization
      expected:<3.0> but was:<30.0>

      org.onehippo.cms7.services.search.query.QueryTest.testStringVisitor
      org.onehippo.cms7.services.search.query.QueryTest.testStringVisitorRangeQuery
      org.onehippo.cms7.services.search.query.QueryTest.testStringVisitorRangeQueryNonDefaultResolution
      org.hippoecm.frontend.plugins.richtext.view.RichTextDiffWithLinksAndImagesPanelTest.removedImageShowsChanges
      org.hippoecm.frontend.plugins.richtext.view.RichTextDiffWithLinksAndImagesPanelTest.addedImageShowsChanges org.hippoecm.frontend.plugins.richtext.view.RichTextDiffWithLinksAndImagesPanelTest.differentTextShowsChanges
      org.hippoecm.frontend.plugins.richtext.view.RichTextDiffWithLinksAndImagesPanelTest.sameTextShowsNoChanges
      org.hippoecm.frontend.config.PluginConfigTest.testWrappedSerialization
      org.hippoecm.frontend.plugins.standardworkflow.RenameMessageTest.onlyNonMatchingLocalized
      org.hippoecm.frontend.plugins.standardworkflow.RenameMessageTest.defaultAndNonMatching
      org.hippoecm.frontend.plugins.standardworkflow.RenameMessageTest.defaultAndMatching

      Error Message
      expected:<...ot;></span>[
      </html>]
      > but was:<...ot;></span>[
      </html>
      ]
      >
      Stacktrace

      org.junit.ComparisonFailure: expected:<...ot;></span>[
      </html>]
      > but was:<...ot;></span>[
      </html>
      ]
      >

      org.hippoecm.frontend.plugins.standardworkflow.RenameMessageTest.defaultAndNonMatching

      expected:<[This document has the following localized names: for locale "default" the name "Test", for locale "en" the name "Test EN". The new name will replace all existing localized names].> but was:<[Dit document heeft de volgende vertaalde namen: voor taal "standaard" de naam "Test", voor taal "en" de naam "Test EN". De nieuwe naam zal alle vertaalde namen vervangen].>

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              abanck Arent-Jan Banck (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: