> All SUnit test resources are cached, so running tests themselves does not exercise the resource code .. `MBMonticelloPackagesResource current` accesses the cached value ... `MBMonticelloPackagesResource reset` clears the cache and all of the methods should then be executed....but I cannot remember if the cache is filled immediately on reset or lazily ... a peek at the code should answer the question...
Exact! Thanks,
Alexandre
>
> On Mar 27, 2011, at 8:35 AM, Alexandre Bergel wrote:
>
>> Hi Dale,
>>
>> MBMonticelloPackagesResource is solely used as:
>> MBMonticelloPackagesResource current monticelloRepository.
>>
>> Many of its methods are not used when I run the tests, especially setUp. Is this setUp and its called methods dead code?
>>
>> Cheers,
>> Alexandre
>> --
>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>> Alexandre Bergel
http://www.bergel.eu>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>
>>
>>
>>
>>
>
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel
http://www.bergel.eu^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.