/dports/devel/scalatest/scalatest-1.6.1/src/test/scala/org/scalatest/matchers/ |
H A D | ShouldStartWithRegexSpec.scala | 163 val caught5 = intercept[TestFailedException] { constant 166 …assert(caught5.getMessage === "\"1.\" started with a substring that matched the regular expression… 233 val caught5 = intercept[TestFailedException] { constant 236 …assert(caught5.getMessage === "\"one.eight\" did not start with a substring that matched the regul… 284 val caught5 = intercept[TestFailedException] { constant 312 val caught5 = intercept[TestFailedException] { constant 439 val caught5 = intercept[TestFailedException] { constant 442 …assert(caught5.getMessage === "\"1.\" started with a substring that matched the regular expression… 509 val caught5 = intercept[TestFailedException] { constant 560 val caught5 = intercept[TestFailedException] { constant [all …]
|
H A D | ShouldEndWithRegexSpec.scala | 163 val caught5 = intercept[TestFailedException] { constant 166 …assert(caught5.getMessage === "\"1.\" ended with a substring that matched the regular expression (… 233 val caught5 = intercept[TestFailedException] { constant 236 …assert(caught5.getMessage === "\"1.eight\" did not end with a substring that matched the regular e… 284 val caught5 = intercept[TestFailedException] { constant 312 val caught5 = intercept[TestFailedException] { constant 441 val caught5 = intercept[TestFailedException] { constant 444 …assert(caught5.getMessage === "\"1.\" ended with a substring that matched the regular expression (… 511 val caught5 = intercept[TestFailedException] { constant 562 val caught5 = intercept[TestFailedException] { constant [all …]
|
H A D | ShouldBeASymbolSpec.scala | 170 val caught5 = intercept[TestFailedException] { constant 173 assert(caught5.getMessage === "IsFileMock was a file, but IsFileMock was not a directory") 198 val caught5 = intercept[TestFailedException] { constant 201 … assert(caught5.getMessage === "IsNotFileMock was not a file, and IsNotFileMock was not a file") 226 val caught5 = intercept[TestFailedException] { constant 229 assert(caught5.getMessage === "IsFileMock was not a directory, but IsFileMock was a file") 259 val caught5 = intercept[TestFailedException] { constant 262 assert(caught5.getMessage === "IsFileMock was a file, and IsFileMock was a file")
|
H A D | ShouldBeAnSymbolSpec.scala | 170 val caught5 = intercept[TestFailedException] { constant 173 assert(caught5.getMessage === "IsAppleMock was an apple, but IsAppleMock was not an orange") 198 val caught5 = intercept[TestFailedException] { constant 201 …assert(caught5.getMessage === "IsNotAppleMock was not an apple, and IsNotAppleMock was not an appl… 226 val caught5 = intercept[TestFailedException] { constant 229 assert(caught5.getMessage === "IsAppleMock was not an orange, but IsAppleMock was an apple") 259 val caught5 = intercept[TestFailedException] { constant 262 assert(caught5.getMessage === "IsAppleMock was an apple, and IsAppleMock was an apple")
|
H A D | ShouldBeNullSpec.scala | 62 val caught5 = intercept[TestFailedException] { constant 65 assert(caught5.getMessage === "The reference was null") 104 val caught5 = intercept[TestFailedException] { constant 107 assert(caught5.getMessage === "Map(1 -> one) contained key 1, but Map(1 -> one) was not null") 158 val caught5 = intercept[TestFailedException] { constant 161 …assert(caught5.getMessage === "Map(1 -> one) did not contain key 7, and Map(1 -> one) was not null…
|
H A D | ShouldIncludeRegexSpec.scala | 183 val caught5 = intercept[TestFailedException] { constant 186 … assert(caught5.getMessage === "\"1.\" included substring that matched regex (-)?(\\d+)(\\.\\d*)?") 253 val caught5 = intercept[TestFailedException] { constant 256 …assert(caught5.getMessage === "\"one.eight\" did not include substring that matched regex (-)?(\\d… 304 val caught5 = intercept[TestFailedException] { constant 337 val caught5 = intercept[TestFailedException] { constant 501 val caught5 = intercept[TestFailedException] { constant 504 … assert(caught5.getMessage === "\"1.\" included substring that matched regex (-)?(\\d+)(\\.\\d*)?") 571 val caught5 = intercept[TestFailedException] { constant 622 val caught5 = intercept[TestFailedException] { constant [all …]
|
H A D | ShouldEndWithSubstringSpec.scala | 143 val caught5 = intercept[TestFailedException] { constant 146 assert(caught5.getMessage === "\"1.\" ended with substring \"1.\"") 209 val caught5 = intercept[TestFailedException] { constant 212 assert(caught5.getMessage === "\"one.eight\" did not end with substring \"1.7\"") 269 val caught5 = intercept[TestFailedException] { constant 272 …assert(caught5.getMessage === "\"b1.7\" did not end with substring \"1.8\", but \"b1.7\" ended wit… 308 val caught5 = intercept[TestFailedException] { constant 311 …assert(caught5.getMessage === "\"a1.7\" ended with substring \".7\", and \"a1.7\" ended with subst…
|
H A D | ShouldStartWithSubstringSpec.scala | 142 val caught5 = intercept[TestFailedException] { constant 145 assert(caught5.getMessage === "\"1.\" started with substring \"1\"") 208 val caught5 = intercept[TestFailedException] { constant 211 assert(caught5.getMessage === "\"one.eight\" did not start with substring \"1.7\"") 268 val caught5 = intercept[TestFailedException] { constant 271 …assert(caught5.getMessage === "\"1.7b\" did not start with substring \"1.8\", but \"1.7b\" started… 307 val caught5 = intercept[TestFailedException] { constant 310 …assert(caught5.getMessage === "\"a1.7\" started with substring \"a1.\", and \"a1.7\" started with …
|
H A D | ShouldIncludeSubstringSpec.scala | 163 val caught5 = intercept[TestFailedException] { constant 166 assert(caught5.getMessage === "\"1.\" included substring \".\"") 234 val caught5 = intercept[TestFailedException] { constant 237 assert(caught5.getMessage === "\"one.eight\" did not include substring \"1.7\"") 294 val caught5 = intercept[TestFailedException] { constant 297 …assert(caught5.getMessage === "\"1.7b\" did not include substring \"1.8\", but \"1.7b\" included s… 333 val caught5 = intercept[TestFailedException] { constant 336 …assert(caught5.getMessage === "\"a1.7\" included substring \"1.7\", and \"a1.7\" included substrin…
|
H A D | ShouldBeSymbolSpec.scala | 213 val caught5 = intercept[TestFailedException] { constant 216 assert(caught5.getMessage === "IsEmptyMock was empty, but IsEmptyMock was not full") 241 val caught5 = intercept[TestFailedException] { constant 244 … assert(caught5.getMessage === "IsNotEmptyMock was not empty, and IsNotEmptyMock was not empty") 269 val caught5 = intercept[TestFailedException] { constant 272 assert(caught5.getMessage === "IsEmptyMock was not full, but IsEmptyMock was empty") 302 val caught5 = intercept[TestFailedException] { constant 305 assert(caught5.getMessage === "IsEmptyMock was empty, and IsEmptyMock was empty")
|
H A D | ShouldFullyMatchSpec.scala | 147 val caught5 = intercept[TestFailedException] { constant 150 … assert(caught5.getMessage === "\"1.\" fully matched the regular expression (-)?(\\d+)(\\.\\d*)?") 201 val caught5 = intercept[TestFailedException] { constant 204 …assert(caught5.getMessage === "\"1.eight\" did not fully match the regular expression (-)?(\\d+)(\… 378 val caught5 = intercept[TestFailedException] { constant 381 … assert(caught5.getMessage === "\"1.\" fully matched the regular expression (-)?(\\d+)(\\.\\d*)?") 432 val caught5 = intercept[TestFailedException] { constant 435 …assert(caught5.getMessage === "\"1.eight\" did not fully match the regular expression (-)?(\\d+)(\…
|
H A D | ShouldBeMatcherSpec.scala | 116 val caught5 = intercept[TestFailedException] { constant 119 assert(caught5.getMessage === "1 was odd") 237 val caught5 = intercept[TestFailedException] { constant 240 assert(caught5.getMessage === "2 was even") 361 val caught5 = intercept[TestFailedException] { constant 364 assert(caught5.getMessage === "2 was even, and 2 was even")
|
H A D | ShouldMatcherSpec.scala | 175 val caught5 = intercept[TestFailedException] { constant 178 assert(caught5.getMessage === "None was equal to None") 486 val caught5 = intercept[TestFailedException] { constant 489 assert(caught5.getMessage === "6.0001 did not equal 6.0") 535 val caught5 = intercept[TestFailedException] { constant 538 assert(caught5.getMessage === "-7.0 was -7.1 plus or minus 0.2")
|
H A D | ShouldBePropertyMatcherSpec.scala | 108 val caught5 = intercept[TestFailedException] { constant 111 … assert(caught5.getMessage === "Book(A Tale of Two Cities,Dickens,1859,45,true) was a goodRead") 173 val caught5 = intercept[TestFailedException] { constant 176 assert(caught5.getMessage === "MyFile(temp.txt,true,false) was not a directory") 363 val caught5 = intercept[TestFailedException] { constant 366 …assert(caught5.getMessage === "MyFile(temp.txt,true,false) was not a directory, and MyFile(temp.tx… 429 val caught5 = intercept[TestFailedException] { constant 432 …assert(caught5.getMessage === "MyFile(temp.txt,true,false) was not a directory, but MyFile(temp.tx… 619 val caught5 = intercept[TestFailedException] { constant 622 …assert(caught5.getMessage === "MyFile(temp.txt,true,false) was a file, and MyFile(temp.txt,true,fa…
|
H A D | ShouldEqualSpec.scala | 161 val caught5 = intercept[TestFailedException] { constant 164 assert(caught5.getMessage === "1 did not equal 2, but 1 equaled 1")
|
H A D | ShouldBeTripleEqualsSpec.scala | 162 val caught5 = intercept[TestFailedException] { constant 165 assert(caught5.getMessage === "2 was not equal to 5") 329 val caught5 = intercept[TestFailedException] { constant 332 assert(caught5.getMessage === "2 was not equal to 5")
|
H A D | ShouldBeAnySpec.scala | 171 val caught5 = intercept[TestFailedException] { constant 174 assert(caught5.getMessage === "1 was not equal to 2, but 1 was equal to 1")
|
H A D | ShouldHavePropertiesSpec.scala | 415 val caught5 = intercept[TestFailedException] { constant 418 …assert(caught5.getMessage === "The title property had its expected value \"A Tale of Two Cities\",…
|
H A D | ShouldPlusOrMinusSpec.scala | 929 val caught5 = intercept[TestFailedException] { constant 932 assert(caught5.getMessage === "7.0 was not 17.1 plus or minus 2.0") 1058 val caught5 = intercept[TestFailedException] { constant 1061 assert(caught5.getMessage === "7.0 was 7.1 plus or minus 2.0") 1181 val caught5 = intercept[TestFailedException] { constant 1184 …assert(caught5.getMessage === "7.0 was 6.9 plus or minus 0.20000000298023224, but 7.0 was not 17.1… 1541 val caught5 = intercept[TestFailedException] { constant 1544 …assert(caught5.getMessage === "Range (-2.0) passed to plusOrMinus was zero or negative. Must be a …
|