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

Replace assertEqualsIgnoreWhitespace with assertj implementation

    Details

    • Type: Task
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: General workbench
    • Labels:
      None
    • Sprint:
      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
    • Docs QE Status:
      NEW
    • QE Status:
      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);
          }
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                jomarko Jozef Marko
                Reporter:
                jomarko Jozef Marko
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: