Issue Details (XML | Word | Printable)

Key: CLI-175
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Unassigned
Reporter: Oliver Heger
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Commons CLI

Test class BugCLI162Test fails under Windows

Created: 28/Feb/09 09:00 PM   Updated: 28/Feb/09 09:56 PM
Return to search
Component/s: CLI-1.x
Affects Version/s: 1.2
Fix Version/s: 1.2

Time Tracking:
Not Specified

File Attachments:
  Size
Text File Licensed for inclusion in ASF works BugCLI162Test.patch 2009-02-28 09:03 PM Oliver Heger 6 kB
Environment: Windows

Resolution Date: 28/Feb/09 09:56 PM


 Description  « Hide
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



 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Oliver Heger added a comment - 28/Feb/09 09:03 PM
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 made changes - 28/Feb/09 09:03 PM
Field Original Value New Value
Attachment BugCLI162Test.patch [ 12401174 ]
Repository Revision Date User Message
ASF #748927 Sat Feb 28 21:55:47 UTC 2009 bayard Appling Oliver Heger's patch from CLI-175 to fix the build on Windows
Files Changed
MODIFY /commons/proper/cli/branches/cli-1.x/src/test/org/apache/commons/cli/bug/BugCLI162Test.java

Henri Yandell added a comment - 28/Feb/09 09:56 PM
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 made changes - 28/Feb/09 09:56 PM
Resolution Fixed [ 1 ]
Fix Version/s 1.2 [ 12312674 ]
Status Open [ 1 ] Closed [ 6 ]