- Companion:
- class
Type members
Inherited classlikes
Matcher to compare the contents of line contents
Matcher to compare the contents of line contents
- Inherited from:
- LinesContentBaseMatchers
- Inherited from:
- LinesContentBeHaveMatchers
- Inherited from:
- LinesContentBaseMatchers
- Inherited from:
- FilesContentMatchers
- Inherited from:
- FilesContentMatchers
Value members
Inherited methods
matches if new File(path).isDirectory
matches if new File(path).isDirectory
- Inherited from:
- PathBaseMatchers
matches if new File(path).isHidden
matches if new File(path).isHidden
- Inherited from:
- PathBaseMatchers
matches if new File(path).canWrite
matches if new File(path).canWrite
- Inherited from:
- PathBaseMatchers
matches if new File(path).isAbsolute
matches if new File(path).isAbsolute
- Inherited from:
- PathBaseMatchers
matches if 2 paths are the same regardless of their separators
matches if 2 paths are the same regardless of their separators
- Inherited from:
- PathBaseMatchers
this method can be overridden to throw exceptions when checking the match result
this method can be overridden to throw exceptions when checking the match result
- Inherited from:
- ExpectationsCreation
this method can be overridden to throw exceptions when checking the match result
this method can be overridden to throw exceptions when checking the match result
- Inherited from:
- ExpectationsCreation
this method can be overridden to throw exceptions when checking the result
this method can be overridden to throw exceptions when checking the result
- Inherited from:
- ExpectationsCreation
- Inherited from:
- TraversableBaseMatchers
- Inherited from:
- TraversableBaseMatchers
- Inherited from:
- TraversableBaseMatchers
- Inherited from:
- TraversableBaseMatchers
- Inherited from:
- TraversableBaseMatchers
- Inherited from:
- TraversableBaseMatchers
- Inherited from:
- TraversableBaseMatchers
- Inherited from:
- TraversableBaseMatchers
- Inherited from:
- TraversableBaseMatchers
- Inherited from:
- TraversableBaseMatchers
- Inherited from:
- TraversableBaseMatchers
- Inherited from:
- TraversableBaseMatchers
- Inherited from:
- TraversableBaseMatchers
- Inherited from:
- TraversableBaseMatchers
- Inherited from:
- TraversableBaseMatchers
- Inherited from:
- TraversableBaseMatchers
- Inherited from:
- TraversableBaseMatchers
- Inherited from:
- TraversableBaseMatchers
- Inherited from:
- TraversableBaseMatchers
Additional contain methods using to avoid automatic tuple conversions
Additional contain methods using to avoid automatic tuple conversions
- Inherited from:
- TraversableBaseMatchers
match if a traversable contains all the elements of seq (and maybe more)
match if a traversable contains all the elements of seq (and maybe more)
- Inherited from:
- TraversableBaseMatchers
match if a traversable contains one of (t1, t2)
match if a traversable contains one of (t1, t2)
- Inherited from:
- TraversableBaseMatchers
matches if 1 lines content contains the lines of the other one
matches if 1 lines content contains the lines of the other one
- Inherited from:
- LinesContentBaseMatchers
match if traversable contains (x matches .+t+.)
match if traversable contains (x matches .+t+.)
- Inherited from:
- TraversableBaseMatchers
match if traversable contains (x matches p)
match if traversable contains (x matches p)
- Inherited from:
- TraversableBaseMatchers
does a containAll comparison in both ways
does a containAll comparison in both ways
- Inherited from:
- TraversableBaseMatchers
matches if file.getAbsolutePath == path
matches if file.getAbsolutePath == path
- Inherited from:
- FileBaseMatchers
matches if new File(path).getAbsolutePath == absolutePath
matches if new File(path).getAbsolutePath == absolutePath
- Inherited from:
- PathBaseMatchers
matches if new File(path).getCanonicalPath == canonicalPath
matches if new File(path).getCanonicalPath == canonicalPath
- Inherited from:
- PathBaseMatchers
matches if file.getCanonicalPath == path
matches if file.getCanonicalPath == path
- Inherited from:
- FileBaseMatchers
matches if new File(path).getParent == parent
matches if new File(path).getParent == parent
- Inherited from:
- PathBaseMatchers
matches if new File(path).getName == name
matches if new File(path).getName == name
- Inherited from:
- PathBaseMatchers
check that all the paths in expectedDir
are the same as the ones in actualDir
then check that all the files in expectedDir
have the same contents as the files in actualDir
when they are present
check that all the paths in expectedDir
are the same as the ones in actualDir
then check that all the files in expectedDir
have the same contents as the files in actualDir
when they are present
- Inherited from:
- FilesContentMatchers
check that all the files in expectedDir
have the same contents as the files in actualDir
when they are present
The default matcher is assuming that files are text files which must be compared line by line
check that all the files in expectedDir
have the same contents as the files in actualDir
when they are present
The default matcher is assuming that files are text files which must be compared line by line
- Inherited from:
- FilesContentMatchers
matches if 2 contents, as a pair, have the same lines
matches if 2 contents, as a pair, have the same lines
- Inherited from:
- LinesContentBaseMatchers
matches if 2 contents have the same lines
matches if 2 contents have the same lines
- Inherited from:
- LinesContentBaseMatchers
match 2 files if they have the same MD5 digest
match 2 files if they have the same MD5 digest
- Inherited from:
- FilesContentMatchers
match 2 files if they have the same MD5 digest
match 2 files if they have the same MD5 digest
- Inherited from:
- FilesContentMatchers
check that all the paths in expectedDir
are the same as the ones in actualDir
check that all the paths in expectedDir
are the same as the ones in actualDir
- Inherited from:
- FilesContentMatchers
match if there is a way to size T
match if there is a way to size T
- Inherited from:
- TraversableBaseMatchers
match if there is a way to size T
match if there is a way to size T
- Inherited from:
- TraversableBaseMatchers
matches if new File(path).list == list(files)
matches if new File(path).list == list(files)
- Inherited from:
- PathBaseMatchers
this method can be overridden to intercept a MatchResult and change its message before it is thrown
this method can be overridden to intercept a MatchResult and change its message before it is thrown
- Inherited from:
- ExpectationsCreation
this method can be overridden to avoid filling-in a stacktrace indicating the location of the result
this method can be overridden to avoid filling-in a stacktrace indicating the location of the result
- Inherited from:
- MatchResultStackTrace
Implicits
Inherited implicits
- Inherited from:
- TraversableBaseMatchersLowImplicits
describe a value with the aka method
describe a value with the aka method
- Inherited from:
- ExpectationsDescription
a function returning an object having an AsResult instance can check a value
a function returning an object having an AsResult instance can check a value
- Inherited from:
- ValueChecksLowImplicits
transform a value to a zero-arg function returning that value
transform a value to a zero-arg function returning that value
- Inherited from:
- LazyParameters
- Inherited from:
- TraversableBeHaveMatchers
This implicit definition allows to declare a number of times
3.times
This implicit definition allows to declare a number of times
3.times
- Inherited from:
- NumberOfTimes
matcher aliases and implicits to use with BeVerb and HaveVerb
matcher aliases and implicits to use with BeVerb and HaveVerb
- Inherited from:
- FileBeHaveMatchers
matcher aliases and implicits to use with BeVerb and HaveVerb
matcher aliases and implicits to use with BeVerb and HaveVerb
- Inherited from:
- LinesContentBeHaveMatchers
matcher aliases and implicits to use with be / have + matcher
matcher aliases and implicits to use with be / have + matcher
- Inherited from:
- PathBeHaveMatchers