Need some help with object tests

2004-02-25 Thread Dan Sugalski
If we're going to hit the February 30th release, I'm gonna need a little help. At the moment I'm most of the way through getting objects done. And, amazingly enough, there's stuff to do that I'm not bottlenecking on. Specifically the object tests. PDD 15, as it stands in the repository,

Re: Need some help with object tests

2004-02-25 Thread Simon Glover
One question: there doesn't appear to be any way to generate a list of the existing attributes of a class or even to determine how many attributes a particular class has. Should there be ops for one or both of these things? Simon

Re: Need some help with object tests

2004-02-25 Thread Dan Sugalski
At 11:59 AM -0500 2/25/04, Simon Glover wrote: One question: there doesn't appear to be any way to generate a list of the existing attributes of a class or even to determine how many attributes a particular class has. Should there be ops for one or both of these things? I hadn't planned on

Re: Need some help with object tests

2004-02-25 Thread Larry Wall
On Wed, Feb 25, 2004 at 11:59:21AM -0500, Simon Glover wrote: : : One question: there doesn't appear to be any way to generate a list of : the existing attributes of a class or even to determine how many : attributes a particular class has. Should there be ops for one or both : of these

Re: Need some help with object tests

2004-02-25 Thread Simon Glover
OK, I've dumped a few of the tests that were purely testing features of the old interface, and converted the rest to use the new object ops. Of the 21 tests that remain, nos. 14-15, 18-19 and 21 are still failing: 14, 15 and 21 due to the subclassing bug mentioned previously, 18, 19