[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gzz] Re: Tests (was: Re: [Gzz-commits] gzz/gzz/view LinebrokenCellConte
From: |
Tuomas Lukka |
Subject: |
[Gzz] Re: Tests (was: Re: [Gzz-commits] gzz/gzz/view LinebrokenCellContentView.java) |
Date: |
Sat, 11 Jan 2003 17:20:49 +0200 |
User-agent: |
Mutt/1.4i |
> >Why is the view hierarchy not testable in its current form?
>
> Hm, I think I can explain easier by giving some examples of what we need:
>
> - Mock fonts (could be a mock TextStyle class maybe) for which we know
> the return values in advance, so that we don't depend on the fonts
> and particularities of one specific computer/GraphicsAPI.
That sounds like a good idea.
> - A way to test vob hierarchies easily. It should be possible to give
> the expected vob hierarchy declaratively.
At least the interpolation hierarchy can be queried.
> - A way to test, 'which vob will be shown at window coordinates (x,y)?'
> This should allow testing of the *results* of vob hierarchies
> without actually looking into the hierarchies themselves.
That's aready easy.
> That's what I can think of at the moment, but there may be more...
> anyways, with tools like these, testing should become substantially easier.
Well, put them into TODO and we'll start thinking about scheduling them.
> I guess that could work... hmmm... I think I'd prefer a "plan gzz.view
> testing" item after the ht'03 deadline :-)
Ok, go right ahead since you seem to have a very nice vision of it.
Tuomas