Home
last modified time | relevance | path

Searched refs:caught2 (Results 1 – 25 of 79) sorted by relevance

1234

/dports/devel/scalatest/scalatest-1.6.1/src/test/scala/org/scalatest/matchers/
H A DShouldContainElementSpec.scala84 val caught2 = intercept[TestFailedException] { constant
104 val caught2 = intercept[TestFailedException] { constant
117 val caught2 = intercept[TestFailedException] { constant
130 val caught2 = intercept[TestFailedException] { constant
148 val caught2 = intercept[TestFailedException] { constant
210 val caught2 = intercept[TestFailedException] { constant
228 val caught2 = intercept[TestFailedException] { constant
241 val caught2 = intercept[TestFailedException] { constant
254 val caught2 = intercept[TestFailedException] { constant
272 val caught2 = intercept[TestFailedException] { constant
[all …]
H A DShouldContainValueSpec.scala81 val caught2 = intercept[TestFailedException] { constant
99 val caught2 = intercept[TestFailedException] { constant
117 val caught2 = intercept[TestFailedException] { constant
135 val caught2 = intercept[TestFailedException] { constant
153 val caught2 = intercept[TestFailedException] { constant
219 val caught2 = intercept[TestFailedException] { constant
237 val caught2 = intercept[TestFailedException] { constant
255 val caught2 = intercept[TestFailedException] { constant
273 val caught2 = intercept[TestFailedException] { constant
291 val caught2 = intercept[TestFailedException] { constant
[all …]
H A DShouldContainKeySpec.scala81 val caught2 = intercept[TestFailedException] { constant
99 val caught2 = intercept[TestFailedException] { constant
117 val caught2 = intercept[TestFailedException] { constant
135 val caught2 = intercept[TestFailedException] { constant
153 val caught2 = intercept[TestFailedException] { constant
219 val caught2 = intercept[TestFailedException] { constant
237 val caught2 = intercept[TestFailedException] { constant
255 val caught2 = intercept[TestFailedException] { constant
273 val caught2 = intercept[TestFailedException] { constant
291 val caught2 = intercept[TestFailedException] { constant
[all …]
H A DShouldSizeSpec.scala91 val caught2 = intercept[TestFailedException] { constant
109 val caught2 = intercept[TestFailedException] { constant
127 val caught2 = intercept[TestFailedException] { constant
145 val caught2 = intercept[TestFailedException] { constant
218 val caught2 = intercept[TestFailedException] { constant
236 val caught2 = intercept[TestFailedException] { constant
254 val caught2 = intercept[TestFailedException] { constant
272 val caught2 = intercept[TestFailedException] { constant
347 val caught2 = intercept[TestFailedException] { constant
365 val caught2 = intercept[TestFailedException] { constant
[all …]
H A DShouldLengthSpec.scala89 val caught2 = intercept[TestFailedException] { constant
107 val caught2 = intercept[TestFailedException] { constant
125 val caught2 = intercept[TestFailedException] { constant
143 val caught2 = intercept[TestFailedException] { constant
161 val caught2 = intercept[TestFailedException] { constant
227 val caught2 = intercept[TestFailedException] { constant
245 val caught2 = intercept[TestFailedException] { constant
263 val caught2 = intercept[TestFailedException] { constant
281 val caught2 = intercept[TestFailedException] { constant
351 val caught2 = intercept[TestFailedException] { constant
[all …]
H A DShouldOrderedSpec.scala139 val caught2 = intercept[TestFailedException] { constant
166 val caught2 = intercept[TestFailedException] { constant
193 val caught2 = intercept[TestFailedException] { constant
211 val caught2 = intercept[TestFailedException] { constant
229 val caught2 = intercept[TestFailedException] { constant
247 val caught2 = intercept[TestFailedException] { constant
266 val caught2 = intercept[TestFailedException] { constant
284 val caught2 = intercept[TestFailedException] { constant
302 val caught2 = intercept[TestFailedException] { constant
320 val caught2 = intercept[TestFailedException] { constant
[all …]
H A DShouldFullyMatchSpec.scala94 val caught2 = intercept[TestFailedException] { constant
132 val caught2 = intercept[TestFailedException] { constant
185 val caught2 = intercept[TestFailedException] { constant
219 val caught2 = intercept[TestFailedException] { constant
237 val caught2 = intercept[TestFailedException] { constant
255 val caught2 = intercept[TestFailedException] { constant
325 val caught2 = intercept[TestFailedException] { constant
363 val caught2 = intercept[TestFailedException] { constant
416 val caught2 = intercept[TestFailedException] { constant
450 val caught2 = intercept[TestFailedException] { constant
[all …]
H A DShouldStartWithRegexSpec.scala110 val caught2 = intercept[TestFailedException] { constant
148 val caught2 = intercept[TestFailedException] { constant
217 val caught2 = intercept[TestFailedException] { constant
251 val caught2 = intercept[TestFailedException] { constant
269 val caught2 = intercept[TestFailedException] { constant
297 val caught2 = intercept[TestFailedException] { constant
386 val caught2 = intercept[TestFailedException] { constant
424 val caught2 = intercept[TestFailedException] { constant
493 val caught2 = intercept[TestFailedException] { constant
527 val caught2 = intercept[TestFailedException] { constant
[all …]
H A DShouldEndWithRegexSpec.scala110 val caught2 = intercept[TestFailedException] { constant
148 val caught2 = intercept[TestFailedException] { constant
217 val caught2 = intercept[TestFailedException] { constant
251 val caught2 = intercept[TestFailedException] { constant
269 val caught2 = intercept[TestFailedException] { constant
297 val caught2 = intercept[TestFailedException] { constant
388 val caught2 = intercept[TestFailedException] { constant
426 val caught2 = intercept[TestFailedException] { constant
495 val caught2 = intercept[TestFailedException] { constant
529 val caught2 = intercept[TestFailedException] { constant
[all …]
H A DShouldBeTripleEqualsSpec.scala123 val caught2 = intercept[TestFailedException] { constant
126 assert(caught2.getMessage === "1 was not equal to 2")
147 val caught2 = intercept[TestFailedException] { constant
177 val caught2 = intercept[TestFailedException] { constant
201 val caught2 = intercept[TestFailedException] { constant
220 val caught2 = intercept[TestFailedException] { constant
290 val caught2 = intercept[TestFailedException] { constant
314 val caught2 = intercept[TestFailedException] { constant
344 val caught2 = intercept[TestFailedException] { constant
368 val caught2 = intercept[TestFailedException] { constant
[all …]
H A DShouldSameInstanceAsSpec.scala86 val caught2 = intercept[TestFailedException] { constant
89 assert(caught2.getMessage === "\"Hi\" was the same instance as \"Hi\"")
97 val caught2 = intercept[TestFailedException] { constant
100 …assert(caught2.getMessage === "\"Hi\" was the same instance as \"Hi\", but \"Hi\" was not the same…
113 val caught2 = intercept[TestFailedException] { constant
116 …assert(caught2.getMessage === "\"Hi\" was not the same instance as \"Hi\", and \"Hi\" was not the …
129 val caught2 = intercept[TestFailedException] { constant
132 …assert(caught2.getMessage === "\"Hi\" was not the same instance as \"Hi\", but \"Hi\" was the same…
150 val caught2 = intercept[TestFailedException] { constant
153 …assert(caught2.getMessage === "\"Hi\" was the same instance as \"Hi\", and \"Hi\" was the same ins…
H A DShouldMatcherSpec.scala97 val caught2 = intercept[TestFailedException] { constant
150 val caught2 = intercept[TestFailedException] { constant
293 val caught2 = intercept[TestFailedException] { constant
324 val caught2 = intercept[TestFailedException] { constant
327 assert(caught2.getMessage.indexOf("had size") != -1)
364 val caught2 = intercept[TestFailedException] { constant
396 val caught2 = intercept[TestFailedException] { constant
435 val caught2 = intercept[TestFailedException] { constant
469 val caught2 = intercept[TestFailedException] { constant
472 assert(caught2.getMessage === "7.0001 did not equal 7.0")
[all …]
H A DShouldEqualSpec.scala92 val caught2 = intercept[TestFailedException] { constant
95 assert(caught2.getMessage === "1 did not equal 2")
104 val caught2 = intercept[TestFailedException] { constant
107 assert(caught2.getMessage === "1 equaled 1")
146 val caught2 = intercept[TestFailedException] { constant
149 assert(caught2.getMessage === "1 equaled 1")
179 val caught2 = intercept[TestFailedException] { constant
182 assert(caught2.getMessage === "1 equaled 1, and 1 equaled 1")
H A DShouldBeSymbolSpec.scala174 assert(caught2.getMessage === "IsNotEmptyMock was not empty")
185 assert(caught2.getMessage === "EmptyMock was empty")
201 val caught2 = intercept[TestFailedException] { constant
229 val caught2 = intercept[TestFailedException] { constant
257 val caught2 = intercept[TestFailedException] { constant
290 val caught2 = intercept[TestFailedException] { constant
327 assert(caught2.getMessage === "Set(1, 2, 3) was hasDefiniteSize")
348 val caught2 = intercept[TestFailedException] { constant
393 assert(caught2.getMessage === "List(1, 2, 3) was hasDefiniteSize")
410 val caught2 = intercept[TestFailedException] { constant
[all …]
H A DShouldIncludeRegexSpec.scala130 val caught2 = intercept[TestFailedException] { constant
168 val caught2 = intercept[TestFailedException] { constant
237 val caught2 = intercept[TestFailedException] { constant
271 val caught2 = intercept[TestFailedException] { constant
289 val caught2 = intercept[TestFailedException] { constant
322 val caught2 = intercept[TestFailedException] { constant
448 val caught2 = intercept[TestFailedException] { constant
486 val caught2 = intercept[TestFailedException] { constant
555 val caught2 = intercept[TestFailedException] { constant
589 val caught2 = intercept[TestFailedException] { constant
[all …]
H A DShouldEndWithSubstringSpec.scala88 val caught2 = intercept[TestFailedException] { constant
91 assert(caught2.getMessage === "\"1.7\" did not end with substring \"21.7\"")
128 val caught2 = intercept[TestFailedException] { constant
131 assert(caught2.getMessage === "\"1.7\" ended with substring \"7\"")
193 val caught2 = intercept[TestFailedException] { constant
196 …assert(caught2.getMessage === "\"1.7\" ended with substring \"7\", but \"1.7\" did not end with su…
229 val caught2 = intercept[TestFailedException] { constant
254 val caught2 = intercept[TestFailedException] { constant
257 …assert(caught2.getMessage === "\"1.7\" did not end with substring \"1.8\", but \"1.7\" ended with …
293 val caught2 = intercept[TestFailedException] { constant
[all …]
H A DShouldStartWithSubstringSpec.scala87 val caught2 = intercept[TestFailedException] { constant
90 assert(caught2.getMessage === "\"1.7\" did not start with substring \"21.7\"")
127 val caught2 = intercept[TestFailedException] { constant
130 assert(caught2.getMessage === "\"1.7\" started with substring \"1.7\"")
192 val caught2 = intercept[TestFailedException] { constant
195 …assert(caught2.getMessage === "\"1.7\" started with substring \"1\", but \"1.7\" did not start wit…
228 val caught2 = intercept[TestFailedException] { constant
253 val caught2 = intercept[TestFailedException] { constant
256 …assert(caught2.getMessage === "\"1.7\" did not start with substring \"1.8\", but \"1.7\" started w…
292 val caught2 = intercept[TestFailedException] { constant
[all …]
H A DShouldBeAnySpec.scala96 val caught2 = intercept[TestFailedException] { constant
99 assert(caught2.getMessage === "1 was not equal to 2")
114 val caught2 = intercept[TestFailedException] { constant
117 assert(caught2.getMessage === "1 was equal to 1")
156 val caught2 = intercept[TestFailedException] { constant
159 assert(caught2.getMessage === "1 was equal to 1")
189 val caught2 = intercept[TestFailedException] { constant
192 assert(caught2.getMessage === "1 was equal to 1, and 1 was equal to 1")
H A DShouldBeASymbolSpec.scala131 assert(caught2.getMessage === "IsNotFileMock was not a file")
142 assert(caught2.getMessage === "FileMock was a file")
158 val caught2 = intercept[TestFailedException] { constant
161 assert(caught2.getMessage === "FileMock was a file, but FileMock was not a directory")
186 val caught2 = intercept[TestFailedException] { constant
189 assert(caught2.getMessage === "NotFileMock was not a file, and NotFileMock was not a file")
214 val caught2 = intercept[TestFailedException] { constant
217 assert(caught2.getMessage === "FileMock was not a directory, but FileMock was a file")
247 val caught2 = intercept[TestFailedException] { constant
250 assert(caught2.getMessage === "FileMock was a file, and FileMock was a file")
H A DShouldBeAnSymbolSpec.scala131 assert(caught2.getMessage === "IsNotAppleMock was not an apple")
142 assert(caught2.getMessage === "AppleMock was an apple")
158 val caught2 = intercept[TestFailedException] { constant
161 assert(caught2.getMessage === "AppleMock was an apple, but AppleMock was not an orange")
186 val caught2 = intercept[TestFailedException] { constant
189 … assert(caught2.getMessage === "NotAppleMock was not an apple, and NotAppleMock was not an apple")
214 val caught2 = intercept[TestFailedException] { constant
217 assert(caught2.getMessage === "AppleMock was not an orange, but AppleMock was an apple")
247 val caught2 = intercept[TestFailedException] { constant
250 assert(caught2.getMessage === "AppleMock was an apple, and AppleMock was an apple")
H A DShouldBeMatcherSpec.scala53 val caught2 = intercept[TestFailedException] { constant
56 assert(caught2.getMessage === "5 was odd")
73 val caught2 = intercept[TestFailedException] { constant
76 assert(caught2.getMessage === "6 was even")
99 val caught2 = intercept[TestFailedException] { constant
102 assert(caught2.getMessage === "2 was even")
189 val caught2 = intercept[TestFailedException] { constant
222 val caught2 = intercept[TestFailedException] { constant
225 assert(caught2.getMessage === "1 was odd")
346 val caught2 = intercept[TestFailedException] { constant
[all …]
H A DShouldIncludeSubstringSpec.scala108 val caught2 = intercept[TestFailedException] { constant
111 assert(caught2.getMessage === "\"1.7\" did not include substring \"21.7\"")
148 val caught2 = intercept[TestFailedException] { constant
151 assert(caught2.getMessage === "\"1.7\" included substring \"1.7\"")
218 val caught2 = intercept[TestFailedException] { constant
221 …assert(caught2.getMessage === "\"1.7\" included substring \"1.7\", but \"1.7\" did not include sub…
254 val caught2 = intercept[TestFailedException] { constant
279 val caught2 = intercept[TestFailedException] { constant
282 …assert(caught2.getMessage === "\"1.7\" did not include substring \"1.8\", but \"1.7\" included sub…
318 val caught2 = intercept[TestFailedException] { constant
[all …]
/dports/devel/scalatest/scalatest-1.6.1/src/test/scala/org/scalatest/junit/
H A DAssertionsForJUnitWordSpec.scala41 val caught2 = intercept[AssertionFailedError] { constant
44 assert(caught2.getMessage === "hi there\n1 did not equal 2")
68 val caught2 = intercept[AssertionFailedError] { constant
73 …assert(caught2.getMessage === "Expected exception java.lang.IllegalArgumentException to be thrown,…
89 val caught2 = intercept[AssertionFailedError] { constant
92 assert(caught2.getCause eq illegalArgumentException)
/dports/devel/scalatest/scalatest-1.6.1/src/test/scala/org/scalatest/concurrent/
H A DConductorSuite.scala122 val caught2 = constant
126caught2.getMessage should be ("A Conductor starts at beat zero, so you can only wait for a beat gr…
127 caught2.failedCodeFileNameAndLineNumberString match {
144 val caught2 = constant
148 caught2.failedCodeFileNameAndLineNumberString match {
152caught2.getMessage should be ("The clockPeriod passed to conduct must be greater than zero. Value …
166 val caught2 = constant
170 caught2.failedCodeFileNameAndLineNumberString match {
174caught2.getMessage should be ("The timeout passed to conduct must be greater than zero. Value pass…
/dports/devel/p5-IO-Async/IO-Async-0.800/t/
H A D23signal.t56 my $caught2 = 0;
60 on_receipt => sub { $caught2++ },
72 is( $caught2, 1, '$caught2 after raise' );
76 undef $caught; undef $caught2;
83 is( $caught2, undef, '$caught2 after raise' );

1234