I'm running this test in Pharo2.0 using TestRunner. Can someone explain to me
why this test would PASS while:
- the debugger is not brought up
- the description of the exception _is_ displayed in the transcript
Error reading repository properties (.filetree):
/Users/dhenrich/Pharo2.0/Pharo2.0-portable.app/Contents/Resources/temp/repo ::
Error: end of input expected
Here's the test method:
testWrite
[
| packageName version versionInfo |
#('CCC') do: [ :pn | self deny: (self hasPackage: pn) ].
packageName := 'CCC'.
Gofer new
disablePackageCache;
repository: (self getTestRepository: 'issue33');
package: packageName;
load.
self validateTimestamp: 'dkh 11/2/1954 16:15'.
#('CCC')
do: [ :pn |
versionInfo := (MCWorkingCopy allManagers detect: [ :wc | wc
packageName = pn ]) ancestors first.
version := (self getTestRepository: 'issue33') versionWithInfo:
versionInfo.
(self getTestRepository: 'empty') storeVersion: version ]
]
on: Error
do:
[:ex |
self halt.
Transcript cr; show: ex description.
ex pass]
The test passes with flying colors if I run it from a workspace as well:
MCFileTreeIssue33Test debug: #testWrite
I'd kinda like to debug this test failure:(
Using Pharo2.0-20610 from Pharo2.0-portable download (in the last day or two).
Dale