summaryrefslogtreecommitdiff
path: root/perl/t/object.t
AgeCommit message (Collapse)Author
2007-09-17Add methods to the base object to set, clear, list, and check flags. WrapRuss Allbery
attribute setting in objects inside eval to catch SQL errors and set the object error accordingly rather than throwing an exception.
2007-09-17In show() for an object, call show() for each of the ACLs on that objectRuss Allbery
and append that information to the object description.
2007-08-31You don't have to explicitly load the driver module for DBI.Russ Allbery
2007-08-30Test clearing attributes.Russ Allbery
2007-08-30Unlink the database before creating it to protect against previous testRuss Allbery
failures.
2007-08-30use all the modules we need.Russ Allbery
2007-08-30Clean up all exception output when storing it in the error variable toRuss Allbery
remove the " at line" stuff added by Perl and the newlines so that the errors stored in objects are consistent. Fix various bugs in the base object, including a few more type vs. name inversions and use of object instead of name. Allow owners to be specified as ACL names instead of IDs, and change the ID to a name in show. Add a new test suite for the base object implementation.