public class ChangeFileMatcher extends org.hamcrest.TypeSafeMatcher<ChangeFile>
| Constructor and Description |
|---|
ChangeFileMatcher(String fileName,
org.hamcrest.Matcher<String> versionMatcher) |
| Modifier and Type | Method and Description |
|---|---|
static org.hamcrest.Matcher<ChangeFile> |
changeFile(String fileName) |
static org.hamcrest.Matcher<ChangeFile> |
changeFile(String fileName,
org.hamcrest.Matcher<String> versionMatcher) |
void |
describeTo(org.hamcrest.Description desc) |
boolean |
matchesSafely(ChangeFile changeFile) |
describeMismatch, describeMismatchSafely, matchespublic ChangeFileMatcher(String fileName, org.hamcrest.Matcher<String> versionMatcher)
public boolean matchesSafely(ChangeFile changeFile)
matchesSafely in class org.hamcrest.TypeSafeMatcher<ChangeFile>public void describeTo(org.hamcrest.Description desc)
public static org.hamcrest.Matcher<ChangeFile> changeFile(String fileName)
public static org.hamcrest.Matcher<ChangeFile> changeFile(String fileName, org.hamcrest.Matcher<String> versionMatcher)
Copyright © 2003–2016 The Apache Software Foundation. All rights reserved.