public class AttributesMatcherTest extends Object
Constructor and Description |
---|
AttributesMatcherTest() |
Modifier and Type | Method and Description |
---|---|
void |
assertMatched(String pattern,
String target)
Check for a match.
|
void |
assertNotMatched(String pattern,
String target)
Check for a match.
|
void |
testBasic() |
void |
testFileNameWildcards() |
void |
testGetters() |
void |
testNameOnlyMatches() |
void |
testParentDirectoryGitAttributes() |
void |
testTargetWithoutLeadingSlash() |
void |
testTrailingSlash() |
public void testBasic()
public void testFileNameWildcards()
public void testTargetWithoutLeadingSlash()
public void testParentDirectoryGitAttributes()
public void testTrailingSlash()
public void testNameOnlyMatches()
public void testGetters()
public void assertMatched(String pattern, String target)
pattern
- Pattern as it would appear in a .gitattributes filetarget
- Target file path relative to repository's GIT_DIRpublic void assertNotMatched(String pattern, String target)
pattern
- Pattern as it would appear in a .gitattributes filetarget
- Target file path relative to repository's GIT_DIRCopyright © 2017 Eclipse JGit Project. All rights reserved.