Commons CLI
  1. Commons CLI
  2. CLI-175

Test class BugCLI162Test fails under Windows

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.2
    • Fix Version/s: 1.2
    • Component/s: CLI-1.x
    • Labels:
      None
    • Environment:

      Windows

      Description

      Two test methods are failing due to system depending line endings:

      Failed tests:
      testLongLineChunking(org.apache.commons.cli.bug.BugCLI162Test)
      testLongLineChunkingIndentIgnored(org.apache.commons.cli.bug.BugCLI162Test

        Activity

        Mark Thomas made changes -
        Workflow jira [ 12453687 ] Default workflow, editable Closed status [ 12601485 ]
        Henri Yandell made changes -
        Resolution Fixed [ 1 ]
        Fix Version/s 1.2 [ 12312674 ]
        Status Open [ 1 ] Closed [ 6 ]
        Hide
        Henri Yandell added a comment -

        svn ci -m "Appling Oliver Heger's patch from CLI-175 to fix the build on Windows"
        Sending src/test/org/apache/commons/cli/bug/BugCLI162Test.java
        Transmitting file data .
        Committed revision 748927.

        Show
        Henri Yandell added a comment - svn ci -m "Appling Oliver Heger's patch from CLI-175 to fix the build on Windows" Sending src/test/org/apache/commons/cli/bug/BugCLI162Test.java Transmitting file data . Committed revision 748927.
        Henri Yandell committed 748927 (1 file)
        Reviews: none

        Appling Oliver Heger's patch from CLI-175 to fix the build on Windows

        Oliver Heger made changes -
        Field Original Value New Value
        Attachment BugCLI162Test.patch [ 12401174 ]
        Hide
        Oliver Heger added a comment -

        This patch fixes the test problems under windows. The system-specific line terminator is determined and used in the tests.

        (Note: There are few formatting changes, but not many. So I think this is okay.)

        Show
        Oliver Heger added a comment - This patch fixes the test problems under windows. The system-specific line terminator is determined and used in the tests. (Note: There are few formatting changes, but not many. So I think this is okay.)
        Oliver Heger created issue -

          People

          • Assignee:
            Unassigned
            Reporter:
            Oliver Heger
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development