Trouble running tests
Jason Rogers
jacaetevha at fast-mail.org
Wed Dec 25 14:30:57 UTC 2002
Perhaps I should have gotten more sleep, but I don't see a nil suite
here.
=jason
On Mon, 23 Dec 2002 07:48:59 -0800, "Ned Konz" <ned at bike-nomad.com> said:
> On Sunday 22 December 2002 06:47 pm, Jason Rogers wrote:
> > WATestCounter class(TestCase class)>>suite
> > [] in TestBrowser>>suiteCategory
> > Array(SequenceableCollection)>>do:
> > TestBrowser>>suiteCategory
>
> The problem is that suite is nil.
>
> This runs fine in a stock image in TestRunner if I just load Seaside
> and run the WATestCounter tests.
>
> It runs fine from TestBrowser if I do Run(Class) or Run(Category).
>
> However, if I then load TestRunnerEnhancements, it breaks.
>
> The problem is with TestCase>>buildSuite, which is a method that was
> written by someone else and I included in TestRunnerEnhancements
> without looking carefully enough at.
>
> buildSuite
> | suite |
> suite _ TestSuite new.
> ^ self isAbstract
> ifTrue: [
> suite name: self name asString.
> self allSubclasses
> do: [:each | each isAbstract
> ifFalse: [each addToSuiteFromSelectors: suite]].
> suite]
> ifFalse: [self addToSuiteFromSelectors: suite]
>
> I notice that I also still haven't fixed the window colors in
> TestRunner yet.
>
> Anyway, I'll try to update this, but I have to get up to Vancouver
> today, and may not have a chance.
>
> --
> Ned Konz
> http://bike-nomad.com
> GPG key ID: BEEA7EFE
>
>
>
--
Jason Rogers
jacaetevha at fast-mail.org
More information about the Squeak-dev
mailing list
|