Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8314752

Use google test string comparison macros

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 22
    • 22
    • hotspot
    • b12

      The google test suite offers some neat macros for comparing strings. We should use those instead of raw strcmp or strstr where possible. Code is more readable. Also, the macros print out the values of the strings automatically in case of a failure, which saves having to add them via "<<".

            stuefe Thomas Stuefe
            stuefe Thomas Stuefe
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: