Hi sheridan are you talking about Pharo 40? Stef Le 22/12/14 23:42, sheridan@sheridan-mahoney.com a écrit :
Hi, There is an open bug (12435 - skip JobTest>>#testCurrent to test) saying a test failure with JobTest>>#testCurrent had been fixed, but I am seeing a re-occurrence of the problem on my Windows 8.1 Pro when I run the full body of test cases available. However when I run the test case on its own, the test passes. This seems like an anomaly but is it bug-worthy? Here is the code:
testCurrent self assert: Job current isNil.
[ :aJob | self assert: Job current equals: aJob.
[ :anotherJob | self assert: Job current equals: anotherJob. ] asJob run.
self assert: Job current equals: aJob. ] asJob run.
self assert: Job current isNil.
Thanks, Sheridan