/dports/devel/scalatest/scalatest-1.6.1/src/test/scala/org/scalatest/matchers/ |
H A D | ShouldBePropertyMatcherSpec.scala | 123 val caught8 = intercept[TestFailedException] { constant 126 … assert(caught8.getMessage === "Book(A Tale of Two Cities,Dickens,1859,45,true) was a goodRead") 189 val caught8 = intercept[TestFailedException] { constant 192 assert(caught8.getMessage === "MyFile(temp.txt,true,false) was not an directory") 379 val caught8 = intercept[TestFailedException] { constant 382 …assert(caught8.getMessage === "MyFile(temp.txt,true,false) was not an directory, and MyFile(temp.t… 445 val caught8 = intercept[TestFailedException] { constant 448 …assert(caught8.getMessage === "MyFile(temp.txt,true,false) was not an directory, but MyFile(temp.t… 635 val caught8 = intercept[TestFailedException] { constant 638 …assert(caught8.getMessage === "MyFile(temp.txt,true,false) was an file, and MyFile(temp.txt,true,f…
|
H A D | ShouldIncludeRegexSpec.scala | 150 val caught8 = intercept[TestFailedException] { constant 153 …assert(caught8.getMessage === "\"onedoteight\" did not include substring that matched regex (-)?(\… 352 val caught8 = intercept[TestFailedException] { constant 355 …assert(caught8.getMessage === "\"a1.7b\" included substring that matched regex (-)?(\\d+)(\\.\\d*)… 468 val caught8 = intercept[TestFailedException] { constant 471 …assert(caught8.getMessage === "\"onedoteight\" did not include substring that matched regex (-)?(\… 670 val caught8 = intercept[TestFailedException] { constant 673 …assert(caught8.getMessage === "\"a1.7b\" included substring that matched regex (-)?(\\d+)(\\.\\d*)…
|
H A D | ShouldEndWithSubstringSpec.scala | 108 val caught8 = intercept[TestFailedException] { constant 111 assert(caught8.getMessage === "\"onedoteight\" did not end with substring \"1.7\"") 323 val caught8 = intercept[TestFailedException] { constant 326 …assert(caught8.getMessage === "\"a1.7b\" ended with substring \"1.7b\", and \"a1.7b\" ended with s…
|
H A D | ShouldStartWithSubstringSpec.scala | 107 val caught8 = intercept[TestFailedException] { constant 110 assert(caught8.getMessage === "\"onedoteight\" did not start with substring \"1.7\"") 322 val caught8 = intercept[TestFailedException] { constant 325 …assert(caught8.getMessage === "\"a1.7b\" started with substring \"a1.7\", and \"a1.7b\" started wi…
|
H A D | ShouldIncludeSubstringSpec.scala | 128 val caught8 = intercept[TestFailedException] { constant 131 assert(caught8.getMessage === "\"onedoteight\" did not include substring \"1.7\"") 348 val caught8 = intercept[TestFailedException] { constant 351 …assert(caught8.getMessage === "\"a1.7b\" included substring \"1.7\", and \"a1.7b\" included substr…
|
H A D | ShouldBeMatcherSpec.scala | 131 val caught8 = intercept[TestFailedException] { constant 134 assert(caught8.getMessage === "2 was even") 254 val caught8 = intercept[TestFailedException] { constant 257 assert(caught8.getMessage === "1 was odd, but 1 was odd")
|
H A D | ShouldFullyMatchSpec.scala | 114 val caught8 = intercept[TestFailedException] { constant 117 …assert(caught8.getMessage === "\"one.8\" did not fully match the regular expression (-)?(\\d+)(\\.… 345 val caught8 = intercept[TestFailedException] { constant 348 …assert(caught8.getMessage === "\"one.8\" did not fully match the regular expression (-)?(\\d+)(\\.…
|
H A D | ShouldBeNullSpec.scala | 119 val caught8 = intercept[TestFailedException] { constant 122 assert(caught8.getMessage === "Map(1 -> one) was not null")
|
H A D | ShouldStartWithRegexSpec.scala | 130 val caught8 = intercept[TestFailedException] { constant 133 …assert(caught8.getMessage === "\"onedoteight\" did not start with a substring that matched the reg… 406 val caught8 = intercept[TestFailedException] { constant 409 …assert(caught8.getMessage === "\"onedoteight\" did not start with a substring that matched the reg…
|
H A D | ShouldEndWithRegexSpec.scala | 130 val caught8 = intercept[TestFailedException] { constant 133 …assert(caught8.getMessage === "\"onedoteight\" did not end with a substring that matched the regul… 408 val caught8 = intercept[TestFailedException] { constant 411 …assert(caught8.getMessage === "\"onedoteight\" did not end with a substring that matched the regul…
|
H A D | ShouldMatcherSpec.scala | 550 val caught8 = intercept[TestFailedException] { constant 553 assert(caught8.getMessage === "-7.0 was not -6.5 plus or minus 0.2")
|
H A D | ShouldPlusOrMinusSpec.scala | 947 val caught8 = intercept[TestFailedException] { constant 950 assert(caught8.getMessage === "7.0 was not 17.1 plus or minus 2.0") 1076 val caught8 = intercept[TestFailedException] { constant 1079 assert(caught8.getMessage === "7.0 was 7.1 plus or minus 2.0") 1195 val caught8 = intercept[TestFailedException] { constant 1198 …assert(caught8.getMessage === "7.0 was 6.9 plus or minus 2.0, but 7.0 was not 17.1 plus or minus 2… 1559 val caught8 = intercept[TestFailedException] { constant 1562 …assert(caught8.getMessage === "Range (-2.0) passed to plusOrMinus was zero or negative. Must be a …
|