Menu

Announcements, 2/28/2001

Got some new code finally going up! Unfortunately, it consists of mostly test code and a new defect.

The defect works like this:

Select a node. Modify it. Select another node. Go to a terminal and kill the program.

For some reason, the program goes into an infinite loop. I suspect problems with the little flag that the NodePanel keeps about whether or not a node has been changed. Unfortunately, this is kind of a messy issue that I still haven't come up with a good solution for. Read my comments in the NodePanel.py code for more details.

Also, I recommend comments on the structure of the automated test code. I am currently writing the automated tests as a set of external classes which will poke and prod various aspects of the actual program classes. I do, however, violate encapsulation when doing this by assuming that the test code for, say, the ThreadedDocument class needs to know that the ThreadedDocument is implemented as a set of functions around a DOM tree. With this model, the tester will call ThreadedDocument functions, and then it will poke and prod the actual DOM objects to make sure that the functions actually worked correctly.

I welcome comments on better ways to do that.

As of this round of code, Open File is the only additional feature implemented.

Posted by Mark Humphrey 2001-03-01

Log in to post a comment.