trait FilesContentMatchers extends FileMatchers with LinesContentMatchers with TraversableMatchers with ExpectationsCreation
This trait provides matchers to check the presence of some expected files vs the actual ones and also ways to verify the contents of these files
- Alphabetic
- By Inheritance
- FilesContentMatchers
- TraversableMatchers
- NumberOfTimes
- ImplicitParameters
- TraversableBaseMatchersLowImplicits
- ValueChecksLowImplicits
- TraversableBeHaveMatchers
- LazyParameters
- TraversableBaseMatchers
- LinesContentMatchers
- LinesContentBeHaveMatchers
- LinesContentBaseMatchers
- SeqsContents
- Expectations
- ExpectationsDescription
- TypedEqual
- ExpectationsCreation
- MatchResultStackTrace
- DifferenceFilters
- FileMatchers
- FileBeHaveMatchers
- FileBaseMatchers
- PathMatchers
- PathBeHaveMatchers
- BeHaveMatchers
- PathBaseMatchers
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
class
Descriptible[T] extends AnyRef
- Definition Classes
- ExpectationsDescription
-
class
ExpectationDescription extends AnyRef
- Definition Classes
- ExpectationsDescription
-
class
FileResultMatcher[T <: AnyRef { def getPath(): String }] extends AnyRef
- Definition Classes
- FileBeHaveMatchers
-
case class
FirstNDifferencesFilter extends Product with Serializable
- Definition Classes
- DifferenceFilters
-
class
HasSize[T] extends AnyRef
- Definition Classes
- TraversableBeHaveMatchers
-
trait
ImplicitParam extends AnyRef
- Definition Classes
- ImplicitParameters
-
trait
ImplicitParam1 extends AnyRef
- Definition Classes
- ImplicitParameters
-
trait
ImplicitParam10 extends AnyRef
- Definition Classes
- ImplicitParameters
-
trait
ImplicitParam2 extends AnyRef
- Definition Classes
- ImplicitParameters
-
trait
ImplicitParam3 extends AnyRef
- Definition Classes
- ImplicitParameters
-
trait
ImplicitParam4 extends AnyRef
- Definition Classes
- ImplicitParameters
-
trait
ImplicitParam5 extends AnyRef
- Definition Classes
- ImplicitParameters
-
trait
ImplicitParam6 extends AnyRef
- Definition Classes
- ImplicitParameters
-
trait
ImplicitParam7 extends AnyRef
- Definition Classes
- ImplicitParameters
-
trait
ImplicitParam8 extends AnyRef
- Definition Classes
- ImplicitParameters
-
trait
ImplicitParam9 extends AnyRef
- Definition Classes
- ImplicitParameters
-
case class
LinesComparisonMatcher[L1, L2] extends Matcher[L1] with Product with Serializable
Matcher to compare the contents of line contents
Matcher to compare the contents of line contents
- Definition Classes
- LinesContentBaseMatchers
-
class
LinesContentResultMatcher[L1] extends AnyRef
- Definition Classes
- LinesContentBeHaveMatchers
-
case class
LinesPairComparisonMatcher[L1, L2] extends Matcher[(L1, L2)] with Product with Serializable
- Definition Classes
- LinesContentBaseMatchers
- case class LocalFilesContentMatcher(expectedDir: File, filter: (File) ⇒ Boolean = (f: File) => true, filesMatcher: Matcher[(File, File)] = haveSameLines[File, File]) extends Matcher[File] with Product with Serializable
- case class LocalPathsAndFilesContentMatcher(expectedDir: File, filter: (File) ⇒ Boolean = (f: File) => true, filesMatcher: Matcher[(File, File)] = haveSameLines[File, File]) extends Matcher[File] with Product with Serializable
- case class LocalPathsMatcher(expectedDir: File, filter: (File) ⇒ Boolean = (f: File) => true) extends Matcher[File] with Product with Serializable
-
class
OrderedSeqMatchResult[T] extends AnyRef
- Definition Classes
- TraversableBeHaveMatchers
-
class
PathResultMatcher extends AnyRef
- Definition Classes
- PathBeHaveMatchers
-
class
TraversableBeHaveMatchers[T] extends AnyRef
- Definition Classes
- TraversableBeHaveMatchers
-
class
TypedEqualExpectation[T] extends AnyRef
- Definition Classes
- TypedEqual
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
aDirectory[T <: AnyRef { def getPath(): String }]: Matcher[AnyRef { def getPath(): String }]
- Definition Classes
- FileBeHaveMatchers
-
def
aDirectoryPath: PathMatcher
- Definition Classes
- PathBeHaveMatchers
-
def
aFile[T <: AnyRef { def getPath(): String }]: Matcher[AnyRef { def getPath(): String }]
- Definition Classes
- FileBeHaveMatchers
-
def
aFilePath: PathMatcher
- Definition Classes
- PathBeHaveMatchers
-
def
aHiddenPath: PathMatcher
- Definition Classes
- PathBeHaveMatchers
-
def
aReadablePath: PathMatcher
- Definition Classes
- PathBeHaveMatchers
-
def
aWritablePath: PathMatcher
- Definition Classes
- PathBeHaveMatchers
-
def
absolute[T <: AnyRef { def getPath(): String }]: Matcher[AnyRef { def getPath(): String }]
- Definition Classes
- FileBeHaveMatchers
-
def
absolutePath[T <: AnyRef { def getPath(): String }](path: String): Matcher[AnyRef { def getPath(): String }]
- Definition Classes
- FileBeHaveMatchers
-
def
allOf[T](checks: ValueCheck[T]*): ContainWithResultSeq[T]
- Definition Classes
- TraversableBaseMatchers
-
def
anAbsolutePath: PathMatcher
- Definition Classes
- PathBeHaveMatchers
-
def
anExistingPath: PathMatcher
- Definition Classes
- PathBeHaveMatchers
-
def
asAbsolutePath(name: String): PathMatcher
- Definition Classes
- PathBeHaveMatchers
-
def
asCanonicalPath(name: String): PathMatcher
- Definition Classes
- PathBeHaveMatchers
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
atLeast[T](checks: ValueCheck[T]*): ContainWithResultSeq[T]
- Definition Classes
- TraversableBaseMatchers
-
def
atMost[T](checks: ValueCheck[T]*): ContainWithResultSeq[T]
- Definition Classes
- TraversableBaseMatchers
-
def
be: NeutralMatcher[Any]
- Definition Classes
- BeHaveMatchers
-
def
beADirectory[T <: AnyRef { def getPath(): String }]: Matcher[T]
matches if file.isDirectory
matches if file.isDirectory
- Definition Classes
- FileBaseMatchers
-
def
beADirectoryPath: PathMatcher
matches if new File(path).isDirectory
matches if new File(path).isDirectory
- Definition Classes
- PathBaseMatchers
-
def
beAFile[T <: AnyRef { def getPath(): String }]: Matcher[T]
matches if file.isFile
matches if file.isFile
- Definition Classes
- FileBaseMatchers
-
def
beAFilePath: PathMatcher
matches if new File(path).isFile
matches if new File(path).isFile
- Definition Classes
- PathBaseMatchers
-
def
beAHiddenPath: PathMatcher
matches if new File(path).isHidden
matches if new File(path).isHidden
- Definition Classes
- PathBaseMatchers
-
def
beAReadablePath: PathMatcher
matches if new File(path).canRead
matches if new File(path).canRead
- Definition Classes
- PathBaseMatchers
-
def
beAWritablePath: PathMatcher
matches if new File(path).canWrite
matches if new File(path).canWrite
- Definition Classes
- PathBaseMatchers
-
def
beAbsolute[T <: AnyRef { def getPath(): String }]: Matcher[T]
matches if file.isAbsolute
matches if file.isAbsolute
- Definition Classes
- FileBaseMatchers
-
def
beAnAbsolutePath: PathMatcher
matches if new File(path).isAbsolute
matches if new File(path).isAbsolute
- Definition Classes
- PathBaseMatchers
-
def
beAnExistingPath: PathMatcher
matches if new File(path).exists
matches if new File(path).exists
- Definition Classes
- PathBaseMatchers
-
def
beEqualToIgnoringSep(other: String): PathMatcher
matches if 2 paths are the same regardless of their separators
matches if 2 paths are the same regardless of their separators
- Definition Classes
- PathBaseMatchers
-
def
beHidden[T <: AnyRef { def getPath(): String }]: Matcher[T]
matches if file.isHidden
matches if file.isHidden
- Definition Classes
- FileBaseMatchers
-
def
beReadable[T <: AnyRef { def getPath(): String }]: Matcher[T]
matches if file.canRead
matches if file.canRead
- Definition Classes
- FileBaseMatchers
-
def
beSorted[T](implicit arg0: Ordering[T]): OrderingMatcher[T]
- Definition Classes
- TraversableBaseMatchers
-
def
beWritable[T <: AnyRef { def getPath(): String }]: Matcher[T]
matches if file.canWrite
matches if file.canWrite
- Definition Classes
- FileBaseMatchers
-
def
canonicalPath[T <: AnyRef { def getPath(): String }](path: String): Matcher[AnyRef { def getPath(): String }]
- Definition Classes
- FileBeHaveMatchers
-
def
checkFailure[T](m: MatchResult[T]): MatchResult[T]
- Attributes
- protected
- Definition Classes
- ExpectationsCreation
-
def
checkMatchResultFailure[T](m: MatchResult[T]): MatchResult[T]
- Attributes
- protected
- Definition Classes
- ExpectationsCreation
-
def
checkResultFailure(r: ⇒ Result): Result
- Attributes
- protected
- Definition Classes
- ExpectationsCreation
-
implicit
def
checkableSeqIsContainCheckSeq[T](seq: Seq[T])(implicit to: (T) ⇒ ValueCheck[T]): Seq[ValueCheck[T]]
- Definition Classes
- TraversableBaseMatchersLowImplicits
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T], t6: ValueCheck[T], t7: ValueCheck[T], t8: ValueCheck[T], t9: ValueCheck[T], t10: ValueCheck[T], t11: ValueCheck[T], t12: ValueCheck[T], t13: ValueCheck[T], t14: ValueCheck[T], t15: ValueCheck[T], t16: ValueCheck[T], t17: ValueCheck[T], t18: ValueCheck[T], t19: ValueCheck[T], t20: ValueCheck[T], t21: ValueCheck[T], t22: ValueCheck[T]): ContainWithResultSeq[T]
- Definition Classes
- TraversableBaseMatchers
-
def
contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T], t6: ValueCheck[T], t7: ValueCheck[T], t8: ValueCheck[T], t9: ValueCheck[T], t10: ValueCheck[T], t11: ValueCheck[T], t12: ValueCheck[T], t13: ValueCheck[T], t14: ValueCheck[T], t15: ValueCheck[T], t16: ValueCheck[T], t17: ValueCheck[T], t18: ValueCheck[T], t19: ValueCheck[T], t20: ValueCheck[T], t21: ValueCheck[T]): ContainWithResultSeq[T]
- Definition Classes
- TraversableBaseMatchers
-
def
contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T], t6: ValueCheck[T], t7: ValueCheck[T], t8: ValueCheck[T], t9: ValueCheck[T], t10: ValueCheck[T], t11: ValueCheck[T], t12: ValueCheck[T], t13: ValueCheck[T], t14: ValueCheck[T], t15: ValueCheck[T], t16: ValueCheck[T], t17: ValueCheck[T], t18: ValueCheck[T], t19: ValueCheck[T], t20: ValueCheck[T]): ContainWithResultSeq[T]
- Definition Classes
- TraversableBaseMatchers
-
def
contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T], t6: ValueCheck[T], t7: ValueCheck[T], t8: ValueCheck[T], t9: ValueCheck[T], t10: ValueCheck[T], t11: ValueCheck[T], t12: ValueCheck[T], t13: ValueCheck[T], t14: ValueCheck[T], t15: ValueCheck[T], t16: ValueCheck[T], t17: ValueCheck[T], t18: ValueCheck[T], t19: ValueCheck[T]): ContainWithResultSeq[T]
- Definition Classes
- TraversableBaseMatchers
-
def
contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T], t6: ValueCheck[T], t7: ValueCheck[T], t8: ValueCheck[T], t9: ValueCheck[T], t10: ValueCheck[T], t11: ValueCheck[T], t12: ValueCheck[T], t13: ValueCheck[T], t14: ValueCheck[T], t15: ValueCheck[T], t16: ValueCheck[T], t17: ValueCheck[T], t18: ValueCheck[T]): ContainWithResultSeq[T]
- Definition Classes
- TraversableBaseMatchers
-
def
contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T], t6: ValueCheck[T], t7: ValueCheck[T], t8: ValueCheck[T], t9: ValueCheck[T], t10: ValueCheck[T], t11: ValueCheck[T], t12: ValueCheck[T], t13: ValueCheck[T], t14: ValueCheck[T], t15: ValueCheck[T], t16: ValueCheck[T], t17: ValueCheck[T]): ContainWithResultSeq[T]
- Definition Classes
- TraversableBaseMatchers
-
def
contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T], t6: ValueCheck[T], t7: ValueCheck[T], t8: ValueCheck[T], t9: ValueCheck[T], t10: ValueCheck[T], t11: ValueCheck[T], t12: ValueCheck[T], t13: ValueCheck[T], t14: ValueCheck[T], t15: ValueCheck[T], t16: ValueCheck[T]): ContainWithResultSeq[T]
- Definition Classes
- TraversableBaseMatchers
-
def
contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T], t6: ValueCheck[T], t7: ValueCheck[T], t8: ValueCheck[T], t9: ValueCheck[T], t10: ValueCheck[T], t11: ValueCheck[T], t12: ValueCheck[T], t13: ValueCheck[T], t14: ValueCheck[T], t15: ValueCheck[T]): ContainWithResultSeq[T]
- Definition Classes
- TraversableBaseMatchers
-
def
contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T], t6: ValueCheck[T], t7: ValueCheck[T], t8: ValueCheck[T], t9: ValueCheck[T], t10: ValueCheck[T], t11: ValueCheck[T], t12: ValueCheck[T], t13: ValueCheck[T], t14: ValueCheck[T]): ContainWithResultSeq[T]
- Definition Classes
- TraversableBaseMatchers
-
def
contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T], t6: ValueCheck[T], t7: ValueCheck[T], t8: ValueCheck[T], t9: ValueCheck[T], t10: ValueCheck[T], t11: ValueCheck[T], t12: ValueCheck[T], t13: ValueCheck[T]): ContainWithResultSeq[T]
- Definition Classes
- TraversableBaseMatchers
-
def
contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T], t6: ValueCheck[T], t7: ValueCheck[T], t8: ValueCheck[T], t9: ValueCheck[T], t10: ValueCheck[T], t11: ValueCheck[T], t12: ValueCheck[T]): ContainWithResultSeq[T]
- Definition Classes
- TraversableBaseMatchers
-
def
contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T], t6: ValueCheck[T], t7: ValueCheck[T], t8: ValueCheck[T], t9: ValueCheck[T], t10: ValueCheck[T], t11: ValueCheck[T]): ContainWithResultSeq[T]
- Definition Classes
- TraversableBaseMatchers
-
def
contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T], t6: ValueCheck[T], t7: ValueCheck[T], t8: ValueCheck[T], t9: ValueCheck[T], t10: ValueCheck[T]): ContainWithResultSeq[T]
- Definition Classes
- TraversableBaseMatchers
-
def
contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T], t6: ValueCheck[T], t7: ValueCheck[T], t8: ValueCheck[T], t9: ValueCheck[T]): ContainWithResultSeq[T]
- Definition Classes
- TraversableBaseMatchers
-
def
contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T], t6: ValueCheck[T], t7: ValueCheck[T], t8: ValueCheck[T]): ContainWithResultSeq[T]
- Definition Classes
- TraversableBaseMatchers
-
def
contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T], t6: ValueCheck[T], t7: ValueCheck[T]): ContainWithResultSeq[T]
- Definition Classes
- TraversableBaseMatchers
-
def
contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T], t6: ValueCheck[T]): ContainWithResultSeq[T]
- Definition Classes
- TraversableBaseMatchers
-
def
contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T]): ContainWithResultSeq[T]
- Definition Classes
- TraversableBaseMatchers
-
def
contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T]): ContainWithResultSeq[T]
- Definition Classes
- TraversableBaseMatchers
-
def
contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T]): ContainWithResultSeq[T]
- Definition Classes
- TraversableBaseMatchers
-
def
contain[T](t1: ValueCheck[T], t2: ValueCheck[T]): ContainWithResultSeq[T]
- Definition Classes
- TraversableBaseMatchers
-
def
contain[T](cm: ContainWithResultSeq[T]): ContainWithResultSeq[T]
- Definition Classes
- TraversableBaseMatchers
-
def
contain[T](check: ValueCheck[T]): ContainWithResult[T]
- Definition Classes
- TraversableBaseMatchers
-
def
containAllOf[T](seq: Seq[T])(implicit arg0: Diffable[T]): ContainWithResultSeq[T]
- Definition Classes
- TraversableBaseMatchers
-
def
containAnyOf[T](seq: Seq[T]): ContainWithResult[T]
- Definition Classes
- TraversableBaseMatchers
-
def
containLines[L1, L2](ls2: L2)(implicit arg0: LinesContent[L1], arg1: LinesContent[L2]): LinesComparisonMatcher[L1, L2]
matches if 1 lines content contains the lines of the other one
matches if 1 lines content contains the lines of the other one
- Definition Classes
- LinesContentBaseMatchers
-
def
containMatch[T](t: ⇒ String): Matcher[Traversable[T]]
- Definition Classes
- TraversableBaseMatchers
-
def
containPattern[T](t: ⇒ String): Matcher[Traversable[T]]
- Definition Classes
- TraversableBaseMatchers
-
def
containTheSameElementsAs[T](seq: Seq[T], equality: (T, T) ⇒ Boolean): Matcher[Traversable[T]]
- Definition Classes
- TraversableBaseMatchers
-
def
createExpectable[T](t: ⇒ T, alias: Option[(String) ⇒ String]): Expectable[T]
- Definition Classes
- ExpectationsCreation
-
def
createExpectable[T](t: ⇒ T, alias: (String) ⇒ String): Expectable[T]
- Definition Classes
- ExpectationsCreation
-
def
createExpectable[T](t: ⇒ T, alias: ⇒ String): Expectable[T]
- Definition Classes
- ExpectationsCreation
-
def
createExpectable[T](t: ⇒ T): Expectable[T]
- Definition Classes
- ExpectationsCreation
-
def
createExpectableWithShowAs[T](t: ⇒ T, showAs: ⇒ String): Expectable[T]
- Definition Classes
- ExpectationsCreation
-
implicit
def
describe[T](t: ⇒ T): Descriptible[T]
- Definition Classes
- ExpectationsDescription
-
implicit
def
describeExpectation(description: String): ExpectationDescription
- Definition Classes
- ExpectationsDescription
-
def
eachOf[T](checks: ValueCheck[T]*): ContainWithResultSeq[T]
- Definition Classes
- TraversableBaseMatchers
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equalToIgnoringSep(other: String): PathMatcher
- Definition Classes
- PathBeHaveMatchers
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
exactly[T](checks: ValueCheck[T]*): ContainWithResultSeq[T]
- Definition Classes
- TraversableBaseMatchers
-
def
exist[T <: AnyRef { def getPath(): String }]: Matcher[T]
matches if file.exists
matches if file.exists
- Definition Classes
- FileBaseMatchers
-
implicit
val
fileContentForMatchers: LinesContent[File]
- Attributes
- protected
- Definition Classes
- LinesContentBaseMatchers
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
implicit
def
functionIsValueCheck[T, R](f: (T) ⇒ R)(implicit arg0: AsResult[R]): ValueCheck[T]
- Definition Classes
- ValueChecksLowImplicits
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
have: NeutralMatcher[Any]
- Definition Classes
- BeHaveMatchers
-
def
haveAbsolutePath[T <: AnyRef { def getPath(): String }](path: String): Matcher[T]
matches if file.getAbsolutePath == path
matches if file.getAbsolutePath == path
- Definition Classes
- FileBaseMatchers
-
def
haveAsAbsolutePath(path: String): PathMatcher
matches if new File(path).getAbsolutePath == absolutePath
matches if new File(path).getAbsolutePath == absolutePath
- Definition Classes
- PathBaseMatchers
-
def
haveAsCanonicalPath(path: String): PathMatcher
matches if new File(path).getCanonicalPath == canonicalPath
matches if new File(path).getCanonicalPath == canonicalPath
- Definition Classes
- PathBaseMatchers
-
def
haveCanonicalPath[T <: AnyRef { def getPath(): String }](path: String): Matcher[T]
matches if file.getCanonicalPath == path
matches if file.getCanonicalPath == path
- Definition Classes
- FileBaseMatchers
-
def
haveLength[T](check: ValueCheck[Int])(implicit arg0: Sized[T]): SizedCheckedMatcher[T]
- Definition Classes
- TraversableBaseMatchers
-
def
haveLength[T](n: Int)(implicit arg0: Sized[T]): SizedMatcher[T]
- Definition Classes
- TraversableBaseMatchers
-
def
haveList[T <: AnyRef { def getPath(): String }](list: String): Matcher[T]
matches if file.list == list
matches if file.list == list
- Definition Classes
- FileBaseMatchers
-
def
haveName[T <: AnyRef { def getPath(): String }](name: String): Matcher[T]
matches if file.getName == name
matches if file.getName == name
- Definition Classes
- FileBaseMatchers
-
def
haveParent[T <: AnyRef { def getPath(): String }](path: String): Matcher[T]
matches if file.getParent == path
matches if file.getParent == path
- Definition Classes
- FileBaseMatchers
-
def
haveParentPath(parent: String): PathMatcher
matches if new File(path).getParent == parent
matches if new File(path).getParent == parent
- Definition Classes
- PathBaseMatchers
-
def
havePathName(name: String): PathMatcher
matches if new File(path).getName == name
matches if new File(path).getName == name
- Definition Classes
- PathBaseMatchers
-
def
haveSameFilesAs(expectedDir: File): LocalPathsAndFilesContentMatcher
check that all the paths in
expectedDirare the same as the ones inactualDirthen check that all the files inexpectedDirhave the same contents as the files inactualDirwhen they are present -
def
haveSameFilesContentAs(expectedDir: File): LocalFilesContentMatcher
check that all the files in
expectedDirhave the same contents as the files inactualDirwhen they are present The default matcher is assuming that files are text files which must be compared line by line -
def
haveSameLines[L1, L2](implicit arg0: LinesContent[L1], arg1: LinesContent[L2]): LinesPairComparisonMatcher[L1, L2]
matches if 2 contents, as a pair, have the same lines
matches if 2 contents, as a pair, have the same lines
- Definition Classes
- LinesContentBaseMatchers
-
def
haveSameLinesAs[L1, L2](ls2: L2)(implicit arg0: LinesContent[L1], arg1: LinesContent[L2]): LinesComparisonMatcher[L1, L2]
matches if 2 contents have the same lines
matches if 2 contents have the same lines
- Definition Classes
- LinesContentBaseMatchers
-
def
haveSameMD5: Matcher[(File, File)]
match 2 files if they have the same MD5 digest
-
def
haveSameMD5As(expected: File): Matcher[File]
match 2 files if they have the same MD5 digest
-
def
haveSamePathsAs(expectedDir: File): LocalPathsMatcher
check that all the paths in
expectedDirare the same as the ones inactualDir -
def
haveSize[T](check: ValueCheck[Int])(implicit arg0: Sized[T]): SizedCheckedMatcher[T]
- Definition Classes
- TraversableBaseMatchers
-
def
haveSize[T](n: Int)(implicit arg0: Sized[T]): SizedMatcher[T]
- Definition Classes
- TraversableBaseMatchers
-
def
hidden[T <: AnyRef { def getPath(): String }]: Matcher[AnyRef { def getPath(): String }]
- Definition Classes
- FileBeHaveMatchers
-
implicit
lazy val
implicitParameter: ImplicitParam
- Definition Classes
- ImplicitParameters
-
implicit
lazy val
implicitParameter1: ImplicitParam1
- Definition Classes
- ImplicitParameters
-
implicit
lazy val
implicitParameter10: ImplicitParam10
- Definition Classes
- ImplicitParameters
-
implicit
lazy val
implicitParameter2: ImplicitParam2
- Definition Classes
- ImplicitParameters
-
implicit
lazy val
implicitParameter3: ImplicitParam3
- Definition Classes
- ImplicitParameters
-
implicit
lazy val
implicitParameter4: ImplicitParam4
- Definition Classes
- ImplicitParameters
-
implicit
lazy val
implicitParameter5: ImplicitParam5
- Definition Classes
- ImplicitParameters
-
implicit
lazy val
implicitParameter6: ImplicitParam6
- Definition Classes
- ImplicitParameters
-
implicit
lazy val
implicitParameter7: ImplicitParam7
- Definition Classes
- ImplicitParameters
-
implicit
lazy val
implicitParameter8: ImplicitParam8
- Definition Classes
- ImplicitParameters
-
implicit
lazy val
implicitParameter9: ImplicitParam9
- Definition Classes
- ImplicitParameters
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
implicit
def
lazyParameter[T](value: ⇒ T): LazyParameter[T]
- Definition Classes
- LazyParameters
-
def
length[T](check: ValueCheck[Int])(implicit arg0: Sized[T]): SizedCheckedMatcher[T]
- Definition Classes
- TraversableBaseMatchers
-
def
length[T](n: Int)(implicit arg0: Sized[T]): SizedMatcher[T]
- Definition Classes
- TraversableBaseMatchers
-
def
listPaths(list: String*): PathMatcher
matches if new File(path).list == list(files)
matches if new File(path).list == list(files)
- Definition Classes
- PathBaseMatchers
-
def
mapMatchResult[T](m: MatchResult[T]): MatchResult[T]
- Attributes
- protected
- Definition Classes
- ExpectationsCreation
-
implicit
def
matcherSeqIsContainCheckSeq[T](seq: Seq[Matcher[T]]): Seq[ValueCheck[T]]
- Definition Classes
- TraversableBaseMatchersLowImplicits
-
def
name[T <: AnyRef { def getPath(): String }](name: String): Matcher[AnyRef { def getPath(): String }]
- Definition Classes
- FileBeHaveMatchers
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
not: NotMatcher[Any]
- Definition Classes
- BeHaveMatchers
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
implicit
def
orderedSeqMatchResult[T](result: MatchResult[Seq[T]])(implicit arg0: Ordering[T]): OrderedSeqMatchResult[T]
- Definition Classes
- TraversableBeHaveMatchers
-
def
parent[T <: AnyRef { def getPath(): String }](path: String): Matcher[AnyRef { def getPath(): String }]
- Definition Classes
- FileBeHaveMatchers
-
def
parentPath(parent: String): PathMatcher
- Definition Classes
- PathBeHaveMatchers
-
def
pathName(name: String): PathMatcher
- Definition Classes
- PathBeHaveMatchers
-
def
paths[T <: AnyRef { def getPath(): String }](list: String): Matcher[AnyRef { def getPath(): String }]
- Definition Classes
- FileBeHaveMatchers
-
def
readable[T <: AnyRef { def getPath(): String }]: Matcher[AnyRef { def getPath(): String }]
- Definition Classes
- FileBeHaveMatchers
-
def
sameLinesAs[L1, L2](ls2: L2)(implicit arg0: LinesContent[L1], arg1: LinesContent[L2]): LinesComparisonMatcher[L1, L2]
- Definition Classes
- LinesContentBeHaveMatchers
-
def
sandboxMatchResult[T](mr: ⇒ MatchResult[T]): MatchResult[T]
- Attributes
- protected
- Definition Classes
- ExpectationsCreation
-
implicit
def
seqContentForMatchers[T, CC[_] <: Traversable[_]]: LinesContent[CC[T]]
- Attributes
- protected
- Definition Classes
- SeqsContents
-
def
setStacktrace[T](m: MatchResult[T]): MatchResult[T]
- Attributes
- protected
- Definition Classes
- MatchResultStackTrace
-
def
size[T](check: ValueCheck[Int])(implicit arg0: Sized[T]): SizedCheckedMatcher[T]
- Definition Classes
- TraversableBaseMatchers
-
def
size[T](n: Int)(implicit arg0: Sized[T]): SizedMatcher[T]
- Definition Classes
- TraversableBaseMatchers
-
implicit
def
sized[T](s: MatchResult[T])(implicit arg0: Sized[T]): HasSize[T]
- Definition Classes
- TraversableBeHaveMatchers
-
def
sorted[T](implicit arg0: Ordering[T]): OrderingMatcher[T]
- Definition Classes
- TraversableBaseMatchers
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
implicit
def
timesFor(n: Int): Times
- Definition Classes
- NumberOfTimes
-
implicit
def
toDifferenceFilter(n: Int): FirstNDifferencesFilter
- Definition Classes
- DifferenceFilters
-
implicit
def
toFileResultMatcher[T <: AnyRef { def getPath(): String }](result: MatchResult[T]): FileResultMatcher[T]
matcher aliases and implicits to use with BeVerb and HaveVerb
matcher aliases and implicits to use with BeVerb and HaveVerb
- Definition Classes
- FileBeHaveMatchers
-
implicit
def
toLinesContentResultMatcher[L1](result: MatchResult[L1])(implicit arg0: LinesContent[L1]): LinesContentResultMatcher[L1]
matcher aliases and implicits to use with BeVerb and HaveVerb
matcher aliases and implicits to use with BeVerb and HaveVerb
- Definition Classes
- LinesContentBeHaveMatchers
-
implicit
def
toPathResultMatcher(result: MatchResult[String]): PathResultMatcher
matcher aliases and implicits to use with be / have + matcher
matcher aliases and implicits to use with be / have + matcher
- Definition Classes
- PathBeHaveMatchers
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
implicit
def
traversable[T](s: MatchResult[Traversable[T]]): TraversableBeHaveMatchers[T]
- Definition Classes
- TraversableBeHaveMatchers
-
implicit
def
typedEqualExpectation[T](t: ⇒ T): TypedEqualExpectation[T]
- Definition Classes
- TypedEqual
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
writable[T <: AnyRef { def getPath(): String }]: Matcher[AnyRef { def getPath(): String }]
- Definition Classes
- FileBeHaveMatchers