[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Fenfire-dev] unit testing Scrollbar
From: |
Tuukka Hastrup |
Subject: |
Re: [Fenfire-dev] unit testing Scrollbar |
Date: |
Sun, 19 Dec 2004 21:05:33 +0200 (EET) |
On Sat, 18 Dec 2004, Benja Fallenstein wrote:
> Tuukka Hastrup wrote:
> > Getting Scrollbar to work correctly in all cases is not simple, and I
> > suppose keeping it correct is not simple either. I would propose unit
> > tests for Scrollbar, so are there plans for a unit test framework for
> > lobs?
> Nope, since unit testing graphical elements is so hard (unit tests for
> the models would be much easier), and have to be changed when you want
> the graphical element to look or feel slightly differently (viz. the
> former Loom tests). But feel free to start a test framework :-)
We'll see :-) Perhaps the component implementations will stabilize. But
just to clarify what I meant with a framework: some way to say that if
there's a scrollbar and the models have these values, then check that
the resulting lob hierarchy should be this and the layout of the lobs
be under these constraints.
--
-- Trying to catch me? Just follow up my Electric Fingerprints
-- To help you: address@hidden
http://www.iki.fi/Tuukka.Hastrup/
IRCNet: tuukkah/Stugge @#pii,#fenfire,#toys
Jabber ID: address@hidden, ICQ #11321669