indefero/test/data/IDF_DiffTest
Thomas Keller d0e2977746 Add support for line ending detection in our diff parser.
Line endings are now preserved during the diff parsing. When the diff
is then rendered later on, we replace non-printable characters by their
ordinal counterparts, so a user can easily grasp changes when a hunk
comes with edits that might be invisible at first.

The expected format for the diff test suite has changed from serialized
PHP to var_export, which is easier readable, editable and understandable,
while still keeping parsable as well.

Support for old Macintosh line endings could not be added, mainly because
modern SCMs do not support single \r in their unified diff output either
and working around and parsing these "lines" would have been a major
headache with not much outcome (given the fact that all Macs that have been
sold since 2001 or 2002 have been BSD-based and as such used Unix line
endings by default).

This commit fixes issue 636.
2011-10-05 02:44:04 +02:00
..
test-01-svn-new-files.diff Setup a basic PHPUnit test environment. 2011-03-17 01:12:32 +01:00
test-01-svn-new-files.expected Add support for line ending detection in our diff parser. 2011-10-05 02:44:04 +02:00
test-02-svn-new-files-with-properties.diff Add support for line ending detection in our diff parser. 2011-10-05 02:44:04 +02:00
test-02-svn-new-files-with-properties.expected Add support for line ending detection in our diff parser. 2011-10-05 02:44:04 +02:00
test-03-mtn-new-file-single-line.diff Setup a basic PHPUnit test environment. 2011-03-17 01:12:32 +01:00
test-03-mtn-new-file-single-line.expected Add support for line ending detection in our diff parser. 2011-10-05 02:44:04 +02:00
test-04-mtn-new-file-multi-lines.diff Setup a basic PHPUnit test environment. 2011-03-17 01:12:32 +01:00
test-04-mtn-new-file-multi-lines.expected Add support for line ending detection in our diff parser. 2011-10-05 02:44:04 +02:00
test-05-mtn-change-to-single-line.diff Setup a basic PHPUnit test environment. 2011-03-17 01:12:32 +01:00
test-05-mtn-change-to-single-line.expected Add support for line ending detection in our diff parser. 2011-10-05 02:44:04 +02:00
test-06-mtn-single-line.diff Setup a basic PHPUnit test environment. 2011-03-17 01:12:32 +01:00
test-06-mtn-single-line.expected Add support for line ending detection in our diff parser. 2011-10-05 02:44:04 +02:00
test-07-mtn-single-line-to-multiline.diff Setup a basic PHPUnit test environment. 2011-03-17 01:12:32 +01:00
test-07-mtn-single-line-to-multiline.expected Add support for line ending detection in our diff parser. 2011-10-05 02:44:04 +02:00
test-08-mtn-multiline-diff-with-property.diff Setup a basic PHPUnit test environment. 2011-03-17 01:12:32 +01:00
test-08-mtn-multiline-diff-with-property.expected Add support for line ending detection in our diff parser. 2011-10-05 02:44:04 +02:00
test-09-hg-new-file.diff Setup a basic PHPUnit test environment. 2011-03-17 01:12:32 +01:00
test-09-hg-new-file.expected Add support for line ending detection in our diff parser. 2011-10-05 02:44:04 +02:00
test-10-hg-change.diff Setup a basic PHPUnit test environment. 2011-03-17 01:12:32 +01:00
test-10-hg-change.expected Add support for line ending detection in our diff parser. 2011-10-05 02:44:04 +02:00
test-11-git-add-singleline-file.diff Setup a basic PHPUnit test environment. 2011-03-17 01:12:32 +01:00
test-11-git-add-singleline-file.expected Add support for line ending detection in our diff parser. 2011-10-05 02:44:04 +02:00
test-12-git-add-multiline-file.diff Setup a basic PHPUnit test environment. 2011-03-17 01:12:32 +01:00
test-12-git-add-multiline-file.expected Add support for line ending detection in our diff parser. 2011-10-05 02:44:04 +02:00
test-13-git-change-file.diff Setup a basic PHPUnit test environment. 2011-03-17 01:12:32 +01:00
test-13-git-change-file.expected Add support for line ending detection in our diff parser. 2011-10-05 02:44:04 +02:00
test-14-git-change-file-to-singleline.diff Setup a basic PHPUnit test environment. 2011-03-17 01:12:32 +01:00
test-14-git-change-file-to-singleline.expected Add support for line ending detection in our diff parser. 2011-10-05 02:44:04 +02:00
test-15-git-change-single-line-invalid.diff Handle partial incomplete and line-ending munging diffs (resolves issue 633). 2011-03-18 00:55:02 +01:00
test-15-git-change-single-line-invalid.expected Add support for line ending detection in our diff parser. 2011-10-05 02:44:04 +02:00
test-16-git-newline-removed.diff Handle partial incomplete and line-ending munging diffs (resolves issue 633). 2011-03-18 00:55:02 +01:00
test-16-git-newline-removed.expected Add support for line ending detection in our diff parser. 2011-10-05 02:44:04 +02:00
test-17-git-newline-added.diff Handle partial incomplete and line-ending munging diffs (resolves issue 633). 2011-03-18 00:55:02 +01:00
test-17-git-newline-added.expected Add support for line ending detection in our diff parser. 2011-10-05 02:44:04 +02:00
test-18-git-lineendings.diff Add support for line ending detection in our diff parser. 2011-10-05 02:44:04 +02:00
test-18-git-lineendings.expected Add support for line ending detection in our diff parser. 2011-10-05 02:44:04 +02:00