/dports/devel/scalatest/scalatest-1.6.1/src/test/scala/org/scalatest/matchers/ |
H A D | ShouldBeNullSpec.scala | 114 val caught7 = intercept[TestFailedException] { constant 117 assert(caught7.getMessage === "Map(1 -> one) was not null") 168 val caught7 = intercept[TestFailedException] { constant 171 assert(caught7.getMessage === "Map(1 -> one) was not null, and Map(1 -> one) was not null")
|
H A D | ShouldBePropertyMatcherSpec.scala | 118 val caught7 = intercept[TestFailedException] { constant 121 assert(caught7.getMessage === "Book(A Tale of Two Cities,Dickens,1859,45,true) was goodRead") 184 val caught7 = intercept[TestFailedException] { constant 187 assert(caught7.getMessage === "MyFile(temp.txt,true,false) was not an directory") 374 val caught7 = intercept[TestFailedException] { constant 377 …assert(caught7.getMessage === "MyFile(temp.txt,true,false) was not an directory, and MyFile(temp.t… 440 val caught7 = intercept[TestFailedException] { constant 443 …assert(caught7.getMessage === "MyFile(temp.txt,true,false) was not an directory, but MyFile(temp.t… 630 val caught7 = intercept[TestFailedException] { constant 633 …assert(caught7.getMessage === "MyFile(temp.txt,true,false) was an file, and MyFile(temp.txt,true,f…
|
H A D | ShouldIncludeRegexSpec.scala | 145 val caught7 = intercept[TestFailedException] { constant 148 …assert(caught7.getMessage === "\"one.eight\" did not include substring that matched regex (-)?(\\d… 347 val caught7 = intercept[TestFailedException] { constant 350 …assert(caught7.getMessage === "\"a1.7b\" included substring that matched regex (-)?(\\d+)(\\.\\d*)… 463 val caught7 = intercept[TestFailedException] { constant 466 …assert(caught7.getMessage === "\"one.eight\" did not include substring that matched regex (-)?(\\d… 665 val caught7 = intercept[TestFailedException] { constant 668 …assert(caught7.getMessage === "\"a1.7b\" included substring that matched regex (-)?(\\d+)(\\.\\d*)…
|
H A D | ShouldEndWithSubstringSpec.scala | 103 val caught7 = intercept[TestFailedException] { constant 106 assert(caught7.getMessage === "\"one.eight\" did not end with substring \"1.7\"") 318 val caught7 = intercept[TestFailedException] { constant 321 …assert(caught7.getMessage === "\"a1.7b\" ended with substring \"1.7b\", and \"a1.7b\" ended with s…
|
H A D | ShouldStartWithSubstringSpec.scala | 102 val caught7 = intercept[TestFailedException] { constant 105 assert(caught7.getMessage === "\"one.eight\" did not start with substring \"1.7\"") 317 val caught7 = intercept[TestFailedException] { constant 320 …assert(caught7.getMessage === "\"a1.7b\" started with substring \"a1.7\", and \"a1.7b\" started wi…
|
H A D | ShouldIncludeSubstringSpec.scala | 123 val caught7 = intercept[TestFailedException] { constant 126 assert(caught7.getMessage === "\"one.eight\" did not include substring \"1.7\"") 343 val caught7 = intercept[TestFailedException] { constant 346 …assert(caught7.getMessage === "\"a1.7b\" included substring \"1.7\", and \"a1.7b\" included substr…
|
H A D | ShouldBeMatcherSpec.scala | 126 val caught7 = intercept[TestFailedException] { constant 129 assert(caught7.getMessage === "2 was even") 249 val caught7 = intercept[TestFailedException] { constant 252 assert(caught7.getMessage === "1 was odd, but 1 was odd")
|
H A D | ShouldMatcherSpec.scala | 180 val caught7 = intercept[TestFailedException] { constant 183 assert(caught7.getMessage === "None equaled None") 545 val caught7 = intercept[TestFailedException] { constant 548 assert(caught7.getMessage === "-7.0 was not -7.5 plus or minus 0.2")
|
H A D | ShouldFullyMatchSpec.scala | 109 val caught7 = intercept[TestFailedException] { constant 112 …assert(caught7.getMessage === "\"1.eight\" did not fully match the regular expression (-)?(\\d+)(\… 340 val caught7 = intercept[TestFailedException] { constant 343 …assert(caught7.getMessage === "\"1.eight\" did not fully match the regular expression (-)?(\\d+)(\…
|
H A D | ShouldSameInstanceAsSpec.scala | 138 val caught7 = intercept[TestFailedException] { constant 141 assert(caught7.getMessage === "\"Hi\" was the same instance as \"Hi\"")
|
H A D | ShouldStartWithRegexSpec.scala | 125 val caught7 = intercept[TestFailedException] { constant 128 …assert(caught7.getMessage === "\"one.8\" did not start with a substring that matched the regular e… 401 val caught7 = intercept[TestFailedException] { constant 404 …assert(caught7.getMessage === "\"one.8\" did not start with a substring that matched the regular e…
|
H A D | ShouldEndWithRegexSpec.scala | 125 val caught7 = intercept[TestFailedException] { constant 128 …assert(caught7.getMessage === "\"1.eight\" did not end with a substring that matched the regular e… 403 val caught7 = intercept[TestFailedException] { constant 406 …assert(caught7.getMessage === "\"1.eight\" did not end with a substring that matched the regular e…
|
H A D | ShouldBeASymbolSpec.scala | 235 val caught7 = intercept[TestFailedException] { constant 238 assert(caught7.getMessage === "FileMock was a file")
|
H A D | ShouldBeAnSymbolSpec.scala | 235 val caught7 = intercept[TestFailedException] { constant 238 assert(caught7.getMessage === "AppleMock was an apple")
|
H A D | ShouldBeSymbolSpec.scala | 278 val caught7 = intercept[TestFailedException] { constant 281 assert(caught7.getMessage === "EmptyMock was empty")
|
H A D | ShouldPlusOrMinusSpec.scala | 941 val caught7 = intercept[TestFailedException] { constant 944 assert(caught7.getMessage === "7.0 was not 17.1 plus or minus 0.2") 1070 val caught7 = intercept[TestFailedException] { constant 1073 assert(caught7.getMessage === "7.0 was 7.1 plus or minus 0.2") 1191 val caught7 = intercept[TestFailedException] { constant 1194 assert(caught7.getMessage === "7.0 was not 17.1 plus or minus 2.0") 1553 val caught7 = intercept[TestFailedException] { constant 1556 …assert(caught7.getMessage === "Range (-0.2) passed to plusOrMinus was zero or negative. Must be a …
|