Export to GitHub

hamcrest - issue #155

Add Matcher implementation for files to the distribution


Posted on Jul 27, 2011 by Happy Giraffe

The wiki points to the implementation http://www.time4tea.net/wiki/display/MAIN/Testing+Files+with+Hamcrest

However the library should contain various Matcher implementations for java.io.File since file handling inside tests is very common.

Comment #1

Posted on Apr 25, 2012 by Swift Cat

Nat, can you pick this up from James?

Comment #2

Posted on May 19, 2012 by Massive Hippo

I've just emailed James to see if he is OK with us including a derivative of his file matchers in hamcrest-library. If he responds in the positive then I'll port it over -- with some tests.

Comment #3

Posted on Jul 18, 2012 by Massive Hippo

Checked in a version of the FileMathchers on this commit.

https://github.com/hamcrest/JavaHamcrest/commit/23a8337e4f332f9520a3547f4415882392dd6667

Comment #4

Posted on Jul 18, 2012 by Massive Hippo

(No comment was entered for this change.)

Status: Fixed

Labels:
Java Type-Enhancement