com.madgag.hamcrest
Class FileExistenceMatcher

java.lang.Object
  extended by org.hamcrest.BaseMatcher<T>
      extended by org.hamcrest.TypeSafeMatcher<File>
          extended by com.madgag.hamcrest.FileExistenceMatcher
All Implemented Interfaces:
org.hamcrest.Matcher<File>, org.hamcrest.SelfDescribing

public class FileExistenceMatcher
extends org.hamcrest.TypeSafeMatcher<File>


Method Summary
 void describeTo(org.hamcrest.Description description)
           
static
<T> org.hamcrest.Matcher<File>
doesNotExist()
           
static
<T> org.hamcrest.Matcher<File>
exists()
           
 boolean matchesSafely(File file)
           
 
Methods inherited from class org.hamcrest.TypeSafeMatcher
describeMismatch, describeMismatchSafely, matches
 
Methods inherited from class org.hamcrest.BaseMatcher
_dont_implement_Matcher___instead_extend_BaseMatcher_, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

matchesSafely

public boolean matchesSafely(File file)
Specified by:
matchesSafely in class org.hamcrest.TypeSafeMatcher<File>

describeTo

public void describeTo(org.hamcrest.Description description)

exists

public static <T> org.hamcrest.Matcher<File> exists()

doesNotExist

public static <T> org.hamcrest.Matcher<File> doesNotExist()


Copyright © 2011. All Rights Reserved.