[jira] Created: (CLI-175) Test class BugCLI162Test fails under Windows

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] Created: (CLI-175) Test class BugCLI162Test fails under Windows

JIRA jira@apache.org
Test class BugCLI162Test fails under Windows
--------------------------------------------

                 Key: CLI-175
                 URL: https://issues.apache.org/jira/browse/CLI-175
             Project: Commons CLI
          Issue Type: Bug
          Components: CLI-1.x
    Affects Versions: 1.2
         Environment: Windows
            Reporter: Oliver Heger
            Priority: Minor


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

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (CLI-175) Test class BugCLI162Test fails under Windows

JIRA jira@apache.org

     [ https://issues.apache.org/jira/browse/CLI-175?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Oliver Heger updated CLI-175:
-----------------------------

    Attachment: BugCLI162Test.patch

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.)

> Test class BugCLI162Test fails under Windows
> --------------------------------------------
>
>                 Key: CLI-175
>                 URL: https://issues.apache.org/jira/browse/CLI-175
>             Project: Commons CLI
>          Issue Type: Bug
>          Components: CLI-1.x
>    Affects Versions: 1.2
>         Environment: Windows
>            Reporter: Oliver Heger
>            Priority: Minor
>         Attachments: BugCLI162Test.patch
>
>
> 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

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Closed: (CLI-175) Test class BugCLI162Test fails under Windows

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

     [ https://issues.apache.org/jira/browse/CLI-175?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Henri Yandell closed CLI-175.
-----------------------------

       Resolution: Fixed
    Fix Version/s: 1.2

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.

> Test class BugCLI162Test fails under Windows
> --------------------------------------------
>
>                 Key: CLI-175
>                 URL: https://issues.apache.org/jira/browse/CLI-175
>             Project: Commons CLI
>          Issue Type: Bug
>          Components: CLI-1.x
>    Affects Versions: 1.2
>         Environment: Windows
>            Reporter: Oliver Heger
>            Priority: Minor
>             Fix For: 1.2
>
>         Attachments: BugCLI162Test.patch
>
>
> 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

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.