public class TychoMatchers extends Object
Matcher
s for assertions in Tycho's tests.CoreMatchers
Constructor and Description |
---|
TychoMatchers() |
Modifier and Type | Method and Description |
---|---|
static org.hamcrest.Matcher<File> |
exists()
Returns a matcher matching any existing file or directory.
|
static <T> org.hamcrest.Matcher<List<T>> |
hasSequence(T... sequence)
Returns a matcher matching any list that contains the given sequence of elements.
|
static org.hamcrest.Matcher<File> |
isFile()
Returns a matcher matching any existing, regular file.
|
public static <T> org.hamcrest.Matcher<List<T>> hasSequence(T... sequence)
CoreMatchers.hasItem(Matcher)
public static org.hamcrest.Matcher<File> exists()
public static org.hamcrest.Matcher<File> isFile()
Copyright © 2008–2018 Eclipse Foundation. All rights reserved.