bug in file_database.FileDatabase

Stefan Seefeld seefeld at sympatico.ca
Fri Nov 28 20:30:32 UTC 2003


The _GetRelativeLabelPath() method of the FileDatabase
method is broken. It appears it only works if
_AreLabelsPaths() returns True.

Attached is a fix.

This brings up a question: I'm still confused about the
design of the database classes, specifically about the
terms 'label' and 'path'. Why is 'label' needed at all ?
I would expect the terms 'test' and 'suite' from the qmtest
domain, mapping to 'paths' ('files', 'directories') in the
'file system' domain. Why do we need 'label' as an additional
term ?

Regards,
		Stefan
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch
URL: <http://sourcerytools.com/pipermail/qmtest/attachments/20031128/b729f739/attachment.ksh>


More information about the qmtest mailing list