Home
last modified time | relevance | path

Searched refs:caught3 (Results 1 – 25 of 29) sorted by relevance

12

/dports/devel/scalatest/scalatest-1.6.1/src/test/scala/org/scalatest/matchers/
H A DShouldContainValueSpec.scala86 val caught3 = intercept[TestFailedException] { constant
104 val caught3 = intercept[TestFailedException] { constant
122 val caught3 = intercept[TestFailedException] { constant
140 val caught3 = intercept[TestFailedException] { constant
158 val caught3 = intercept[TestFailedException] { constant
224 val caught3 = intercept[TestFailedException] { constant
242 val caught3 = intercept[TestFailedException] { constant
260 val caught3 = intercept[TestFailedException] { constant
278 val caught3 = intercept[TestFailedException] { constant
296 val caught3 = intercept[TestFailedException] { constant
[all …]
H A DShouldContainKeySpec.scala86 val caught3 = intercept[TestFailedException] { constant
104 val caught3 = intercept[TestFailedException] { constant
122 val caught3 = intercept[TestFailedException] { constant
140 val caught3 = intercept[TestFailedException] { constant
158 val caught3 = intercept[TestFailedException] { constant
224 val caught3 = intercept[TestFailedException] { constant
242 val caught3 = intercept[TestFailedException] { constant
260 val caught3 = intercept[TestFailedException] { constant
278 val caught3 = intercept[TestFailedException] { constant
296 val caught3 = intercept[TestFailedException] { constant
[all …]
H A DShouldSizeSpec.scala96 val caught3 = intercept[TestFailedException] { constant
114 val caught3 = intercept[TestFailedException] { constant
132 val caught3 = intercept[TestFailedException] { constant
150 val caught3 = intercept[TestFailedException] { constant
223 val caught3 = intercept[TestFailedException] { constant
241 val caught3 = intercept[TestFailedException] { constant
259 val caught3 = intercept[TestFailedException] { constant
277 val caught3 = intercept[TestFailedException] { constant
352 val caught3 = intercept[TestFailedException] { constant
370 val caught3 = intercept[TestFailedException] { constant
[all …]
H A DShouldContainElementSpec.scala90 val caught3 = intercept[TestFailedException] { constant
135 val caught3 = intercept[TestFailedException] { constant
153 val caught3 = intercept[TestFailedException] { constant
215 val caught3 = intercept[TestFailedException] { constant
259 val caught3 = intercept[TestFailedException] { constant
277 val caught3 = intercept[TestFailedException] { constant
341 val caught3 = intercept[TestFailedException] { constant
385 val caught3 = intercept[TestFailedException] { constant
403 val caught3 = intercept[TestFailedException] { constant
467 val caught3 = intercept[TestFailedException] { constant
[all …]
H A DShouldLengthSpec.scala94 val caught3 = intercept[TestFailedException] { constant
112 val caught3 = intercept[TestFailedException] { constant
130 val caught3 = intercept[TestFailedException] { constant
148 val caught3 = intercept[TestFailedException] { constant
232 val caught3 = intercept[TestFailedException] { constant
250 val caught3 = intercept[TestFailedException] { constant
268 val caught3 = intercept[TestFailedException] { constant
286 val caught3 = intercept[TestFailedException] { constant
356 val caught3 = intercept[TestFailedException] { constant
374 val caught3 = intercept[TestFailedException] { constant
[all …]
H A DShouldOrderedSpec.scala145 val caught3 = intercept[TestFailedException] { constant
172 val caught3 = intercept[TestFailedException] { constant
198 val caught3 = intercept[TestFailedException] { constant
216 val caught3 = intercept[TestFailedException] { constant
234 val caught3 = intercept[TestFailedException] { constant
252 val caught3 = intercept[TestFailedException] { constant
271 val caught3 = intercept[TestFailedException] { constant
289 val caught3 = intercept[TestFailedException] { constant
307 val caught3 = intercept[TestFailedException] { constant
325 val caught3 = intercept[TestFailedException] { constant
[all …]
H A DShouldFullyMatchSpec.scala99 val caught3 = intercept[TestFailedException] { constant
137 val caught3 = intercept[TestFailedException] { constant
190 val caught3 = intercept[TestFailedException] { constant
224 val caught3 = intercept[TestFailedException] { constant
242 val caught3 = intercept[TestFailedException] { constant
260 val caught3 = intercept[TestFailedException] { constant
330 val caught3 = intercept[TestFailedException] { constant
368 val caught3 = intercept[TestFailedException] { constant
421 val caught3 = intercept[TestFailedException] { constant
455 val caught3 = intercept[TestFailedException] { constant
[all …]
H A DShouldStartWithRegexSpec.scala115 val caught3 = intercept[TestFailedException] { constant
153 val caught3 = intercept[TestFailedException] { constant
222 val caught3 = intercept[TestFailedException] { constant
256 val caught3 = intercept[TestFailedException] { constant
274 val caught3 = intercept[TestFailedException] { constant
302 val caught3 = intercept[TestFailedException] { constant
391 val caught3 = intercept[TestFailedException] { constant
429 val caught3 = intercept[TestFailedException] { constant
498 val caught3 = intercept[TestFailedException] { constant
532 val caught3 = intercept[TestFailedException] { constant
[all …]
H A DShouldEndWithRegexSpec.scala115 val caught3 = intercept[TestFailedException] { constant
153 val caught3 = intercept[TestFailedException] { constant
222 val caught3 = intercept[TestFailedException] { constant
256 val caught3 = intercept[TestFailedException] { constant
274 val caught3 = intercept[TestFailedException] { constant
302 val caught3 = intercept[TestFailedException] { constant
393 val caught3 = intercept[TestFailedException] { constant
431 val caught3 = intercept[TestFailedException] { constant
500 val caught3 = intercept[TestFailedException] { constant
534 val caught3 = intercept[TestFailedException] { constant
[all …]
H A DShouldBeSymbolSpec.scala186 val caught3 = intercept[TestFailedException] { constant
205 val caught3 = intercept[TestFailedException] { constant
233 val caught3 = intercept[TestFailedException] { constant
261 val caught3 = intercept[TestFailedException] { constant
294 val caught3 = intercept[TestFailedException] { constant
297 assert(caught3.getMessage === "EmptyMock was empty, and EmptyMock was empty")
328 val caught3 = intercept[TestFailedException] { constant
394 val caught3 = intercept[TestFailedException] { constant
422 val caught3 = intercept[TestFailedException] { constant
441 val caught3 = intercept[TestFailedException] { constant
[all …]
H A DShouldMatcherSpec.scala116 val caught3 = intercept[TestFailedException] { constant
169 val caught3 = intercept[TestFailedException] { constant
172 assert(caught3.getMessage === "None equaled None")
300 val caught3 = intercept[TestFailedException] { constant
331 val caught3 = intercept[TestFailedException] { constant
334 assert(caught3.getMessage.indexOf("had size") != -1)
371 val caught3 = intercept[TestFailedException] { constant
403 val caught3 = intercept[TestFailedException] { constant
438 val caught3 = intercept[TestFailedException] { constant
474 val caught3 = intercept[TestFailedException] { constant
[all …]
H A DShouldIncludeRegexSpec.scala135 val caught3 = intercept[TestFailedException] { constant
173 val caught3 = intercept[TestFailedException] { constant
242 val caught3 = intercept[TestFailedException] { constant
276 val caught3 = intercept[TestFailedException] { constant
294 val caught3 = intercept[TestFailedException] { constant
327 val caught3 = intercept[TestFailedException] { constant
453 val caught3 = intercept[TestFailedException] { constant
491 val caught3 = intercept[TestFailedException] { constant
560 val caught3 = intercept[TestFailedException] { constant
594 val caught3 = intercept[TestFailedException] { constant
[all …]
H A DShouldBeTripleEqualsSpec.scala152 val caught3 = intercept[TestFailedException] { constant
155 assert(caught3.getMessage === "2 was equal to 2, but 2 was not equal to 5")
182 val caught3 = intercept[TestFailedException] { constant
206 val caught3 = intercept[TestFailedException] { constant
225 val caught3 = intercept[TestFailedException] { constant
229 assert(caught3.getMessage === "5 was equal to 5, and 5 was equal to 5")
319 val caught3 = intercept[TestFailedException] { constant
349 val caught3 = intercept[TestFailedException] { constant
373 val caught3 = intercept[TestFailedException] { constant
392 val caught3 = intercept[TestFailedException] { constant
[all …]
H A DShouldEndWithSubstringSpec.scala93 val caught3 = intercept[TestFailedException] { constant
96 assert(caught3.getMessage === "\"1.78\" did not end with substring \"1.7\"")
133 val caught3 = intercept[TestFailedException] { constant
136 assert(caught3.getMessage === "\"-1.8\" ended with substring \".8\"")
198 val caught3 = intercept[TestFailedException] { constant
201 …assert(caught3.getMessage === "\"1.7\" ended with substring \".7\", but \"1.7\" did not end with s…
234 val caught3 = intercept[TestFailedException] { constant
259 val caught3 = intercept[TestFailedException] { constant
262 …assert(caught3.getMessage === "\"1.7\" did not end with substring \"1.8\", but \"1.7\" ended with …
298 val caught3 = intercept[TestFailedException] { constant
[all …]
H A DShouldStartWithSubstringSpec.scala92 val caught3 = intercept[TestFailedException] { constant
95 assert(caught3.getMessage === "\"-one.eight\" did not start with substring \"1.7\"")
132 val caught3 = intercept[TestFailedException] { constant
135 assert(caught3.getMessage === "\"-1.8\" started with substring \"-1\"")
197 val caught3 = intercept[TestFailedException] { constant
200 …assert(caught3.getMessage === "\"1.7\" started with substring \"1.7\", but \"1.7\" did not start w…
233 val caught3 = intercept[TestFailedException] { constant
258 val caught3 = intercept[TestFailedException] { constant
261 …assert(caught3.getMessage === "\"1.7\" did not start with substring \"1.8\", but \"1.7\" started w…
297 val caught3 = intercept[TestFailedException] { constant
[all …]
H A DShouldBeAnySpec.scala102 val caught3 = intercept[TestFailedException] { constant
105 assert(caught3.getMessage === "\"hi\" was not null")
129 val caught3 = intercept[TestFailedException] { constant
132 assert(caught3.getMessage === "1 was equal to 1")
161 val caught3 = intercept[TestFailedException] { constant
164 assert(caught3.getMessage === "1 was equal to 1")
194 val caught3 = intercept[TestFailedException] { constant
197 assert(caught3.getMessage === "1 was equal to 1, and 1 was equal to 1")
H A DShouldSameInstanceAsSpec.scala101 val caught3 = intercept[TestFailedException] { constant
104 …assert(caught3.getMessage === "\"Hi\" was the same instance as \"Hi\", but \"Hi\" was not the same…
117 val caught3 = intercept[TestFailedException] { constant
120 …assert(caught3.getMessage === "\"Hi\" was not the same instance as \"Hi\", and \"Hi\" was not the …
133 val caught3 = intercept[TestFailedException] { constant
136 …assert(caught3.getMessage === "\"Hi\" was not the same instance as \"Hi\", but \"Hi\" was the same…
154 val caught3 = intercept[TestFailedException] { constant
157 …assert(caught3.getMessage === "\"Hi\" was the same instance as \"Hi\", and \"Hi\" was the same ins…
H A DShouldIncludeSubstringSpec.scala113 val caught3 = intercept[TestFailedException] { constant
116 assert(caught3.getMessage === "\"-one.eight\" did not include substring \"1.7\"")
153 val caught3 = intercept[TestFailedException] { constant
156 assert(caught3.getMessage === "\"-1.8\" included substring \"1.8\"")
223 val caught3 = intercept[TestFailedException] { constant
226 …assert(caught3.getMessage === "\"1.7\" included substring \"1.7\", but \"1.7\" did not include sub…
259 val caught3 = intercept[TestFailedException] { constant
284 val caught3 = intercept[TestFailedException] { constant
287 …assert(caught3.getMessage === "\"1.7\" did not include substring \"1.8\", but \"1.7\" included sub…
323 val caught3 = intercept[TestFailedException] { constant
[all …]
H A DShouldBeASymbolSpec.scala143 val caught3 = intercept[TestFailedException] { constant
162 val caught3 = intercept[TestFailedException] { constant
165 assert(caught3.getMessage === "FileMock was a file, but FileMock was not a directory")
190 val caught3 = intercept[TestFailedException] { constant
193 assert(caught3.getMessage === "NotFileMock was not a file, and NotFileMock was not a file")
218 val caught3 = intercept[TestFailedException] { constant
221 assert(caught3.getMessage === "FileMock was not a directory, but FileMock was a file")
251 val caught3 = intercept[TestFailedException] { constant
254 assert(caught3.getMessage === "FileMock was a file, and FileMock was a file")
H A DShouldBeAnSymbolSpec.scala143 val caught3 = intercept[TestFailedException] { constant
162 val caught3 = intercept[TestFailedException] { constant
165 assert(caught3.getMessage === "AppleMock was an apple, but AppleMock was not an orange")
190 val caught3 = intercept[TestFailedException] { constant
193 … assert(caught3.getMessage === "NotAppleMock was not an apple, and NotAppleMock was not an apple")
218 val caught3 = intercept[TestFailedException] { constant
221 assert(caught3.getMessage === "AppleMock was not an orange, but AppleMock was an apple")
251 val caught3 = intercept[TestFailedException] { constant
254 assert(caught3.getMessage === "AppleMock was an apple, and AppleMock was an apple")
H A DShouldEqualSpec.scala119 val caught3 = intercept[TestFailedException] { constant
122 assert(caught3.getMessage === "1 equaled 1")
151 val caught3 = intercept[TestFailedException] { constant
154 assert(caught3.getMessage === "1 equaled 1")
184 val caught3 = intercept[TestFailedException] { constant
187 assert(caught3.getMessage === "1 equaled 1, and 1 equaled 1")
H A DShouldBeMatcherSpec.scala78 val caught3 = intercept[TestFailedException] { constant
81 assert(caught3.getMessage === "6 was even")
104 val caught3 = intercept[TestFailedException] { constant
107 assert(caught3.getMessage === "1 was odd")
194 val caught3 = intercept[TestFailedException] { constant
197 assert(caught3.getMessage === "1 was odd, and 1 was odd")
227 val caught3 = intercept[TestFailedException] { constant
230 assert(caught3.getMessage === "1 was odd")
351 val caught3 = intercept[TestFailedException] { constant
354 assert(caught3.getMessage === "1 was odd, and 1 was odd")
H A DShouldBeNullSpec.scala52 val caught3 = intercept[TestFailedException] { constant
55 assert(caught3.getMessage === "The reference was null")
90 val caught3 = intercept[TestFailedException] { constant
93 assert(caught3.getMessage === "Map(1 -> one) did not contain key 7")
H A DShouldBePropertyMatcherSpec.scala74 val caught3 = intercept[TestFailedException] { constant
77 …assert(caught3.getMessage === "Book(A Tale of Two Cities,Dickens,1859,45,false) was not an goodRea…
98 val caught3 = intercept[TestFailedException] { constant
101 … assert(caught3.getMessage === "Book(A Tale of Two Cities,Dickens,1859,45,true) was an goodRead")
162 val caught3 = intercept[TestFailedException] { constant
165 assert(caught3.getMessage === "MyFile(temp.txt,true,false) was not directory")
352 val caught3 = intercept[TestFailedException] { constant
418 val caught3 = intercept[TestFailedException] { constant
421 …assert(caught3.getMessage === "MyFile(temp.txt,true,false) was not directory, but MyFile(temp.txt,…
608 val caught3 = intercept[TestFailedException] { constant
[all …]
/dports/devel/scalatest/scalatest-1.6.1/src/test/scala/org/scalatest/junit/
H A DAssertionsForJUnitWordSpec.scala94 val caught3 = intercept[AssertionFailedError] { constant
97 assert(caught3.getMessage === "hi there")
98 assert(caught3.getCause eq illegalArgumentException)

12