Uploaded image for project: 'AppFormer'
  1. AppFormer
  2. AF-832

Replace assertEqualsIgnoreWhitespace with assertj implementation

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • Major
    • None
    • None
    • General workbench
    • None
    • 2017 Week 40-41-42, 2017 Week 43-44, 2017 Week 45-46, 2017 Week 47-48, 2017 Week 49-50, 2017 Week 51-52, 2018 Week 01-02
    • NEW
    • NEW

    Description

      The testclass contains method shown bellow. This should be replaced be the same method form assertj library.

      Search for the same method in another classes.

      private void assertEqualsIgnoreWhitespace(final String expected,
                                                    final String actual) {
              final String cleanExpected = expected.replaceAll("\\s+",
                                                               "");
              final String cleanActual = actual.replaceAll("\\s+",
                                                           "");
      
              assertEquals(cleanExpected,
                           cleanActual);
          }
      

      Attachments

        Activity

          People

            rh-ee-jomarko Jozef Marko
            rh-ee-jomarko Jozef Marko
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: