]> source.dussan.org Git - jgit.git/commit
Add tests for ObjectFilter 06/48006/4
authorJonathan Nieder <jrn@google.com>
Tue, 19 May 2015 01:28:31 +0000 (18:28 -0700)
committerJonathan Nieder <jrn@google.com>
Thu, 21 May 2015 23:16:31 +0000 (16:16 -0700)
commit02418ede592c9c6fc22a957d237c2f217fdb582d
treeef92060f1fa44308bb4635a74101c38dfb1d6d8a
parentadbcbc791b854071f0d2ca60a85832a025982ef8
Add tests for ObjectFilter

Test that

 - the default ObjectFilter is ALL
 - ObjectFilter affects nextObject() and not next()
 - omitting a tree implies omitting its subtrees
 - a blob or tree reached by another path is still returned
 - ObjectFilter can be mixed with RevFilter

Change-Id: I144a53fe677070fff8c3ddf8cba07a848773bc1b
Signed-off-by: Jonathan Nieder <jrn@google.com>
org.eclipse.jgit.test/tst/org/eclipse/jgit/revwalk/ObjectWalkFilterTest.java [new file with mode: 0644]