module documentation

Tests for ignore files.

Class IgnoreFilterManagerTests Undocumented
Class IgnoreFilterStackTests Undocumented
Class IgnoreFilterTests Undocumented
Class MatchPatternTests Undocumented
Class ReadIgnorePatterns Undocumented
Class TranslateTests Undocumented
Constant NEGATIVE_MATCH_TESTS Undocumented
Constant POSITIVE_MATCH_TESTS Undocumented
Constant TRANSLATE_TESTS Undocumented
NEGATIVE_MATCH_TESTS: list =

Undocumented

Value
[(b'foo.c', b'foo.[dh]'),
 (b'foo/foo.c', b'/foo.c'),
 (b'foo/foo.c', b'/*.c'),
 (b'foo/bar/', b'/bar/'),
 (b'foo/bar/', b'foo/bar/*'),
 (b'foo/bar', b'foo?bar')]
POSITIVE_MATCH_TESTS: list =

Undocumented

Value
[(b'foo.c', b'*.c'),
 (b'.c', b'*.c'),
 (b'foo/foo.c', b'*.c'),
 (b'foo/foo.c', b'foo.c'),
 (b'foo.c', b'/*.c'),
 (b'foo.c', b'/foo.c'),
 (b'foo.c', b'foo.c'),
...
TRANSLATE_TESTS: list =

Undocumented

Value
[(b'*.c', b'(?ms)(.*/)?[^/]*\\.c/?\\Z'),
 (b'foo.c', b'(?ms)(.*/)?foo\\.c/?\\Z'),
 (b'/*.c', b'(?ms)[^/]*\\.c/?\\Z'),
 (b'/foo.c', b'(?ms)foo\\.c/?\\Z'),
 (b'foo.c', b'(?ms)(.*/)?foo\\.c/?\\Z'),
 (b'foo.[ch]', b'(?ms)(.*/)?foo\\.[ch]/?\\Z'),
 (b'bar/', b'(?ms)(.*/)?bar\\/\\Z'),
...