summaryrefslogtreecommitdiff
path: root/lib/Class/Struct.t
Commit message (Collapse)AuthorAgeFilesLines
* silence override warningRobin Barker2012-07-131-1/+4
| | | | | The test is trying to test the behaviour being warned about, so the code is right but the warning can be suppressed.
* Add tests for all the error paths in Class::Struct.Nicholas Clark2012-06-181-0/+91
|
* Add tests for Class::Struct constructors called with initialiser lists.Nicholas Clark2012-06-181-1/+34
|
* add tests for overridden Class::Struct accessorsRenee Bäcker2012-06-151-1/+25
|
* Remove duplicate my() declaration giving warnings from change #18105.Hugo van der Sanden2002-11-191-1/+1
| | | | | p4raw-link: @18105 on //depot/perl: dd58e686a56f2e2b79be702b8652140afcbfc717 p4raw-id: //depot/perl@18158
* Re: Class::Struct, simple patch, testsMarty Pauley2002-11-051-43/+57
| | | | | Message-ID: <20021018212638.GB3764@soto.kasei.com> p4raw-id: //depot/perl@18105
* From Damian: Class::Struct was unable to defineJarkko Hietaniemi2001-09-051-6/+19
| | | | | | | | | recursive classes. After the patch an object reference (rather than a hash) is required to initialize an object attribute. If no such initializer is given to the constructor, object attributes are now default initialized to C<undef>. p4raw-id: //depot/perl@11877
* The Grand Trek: move the *.t files from t/ to lib/ and ext/.Jarkko Hietaniemi2001-06-181-0/+76
No doubt I made some mistakes like missed some files or misnamed some files. The naming rules were more or less: (1) if the module is from CPAN, follows its ways, be it t/*.t or test.pl. (2) otherwise if there are multiple tests for a module put them in a t/ (3) otherwise if there's only one test put it in Module.t (4) helper files go to module/ (locale, strict, warnings) (5) use longer filenames now that we can (but e.g. the compat-0.6.t and the Text::Balanced test files still were renamed to be more civil against the 8.3 people) installperl was updated appropriately not to install the *.t files or the help files from under lib. TODO: some helper files still remain under t/ that could follow their 'masters'. UPDATE: On second thoughts, why should they. They can continue to live under t/lib, and in fact the locale/strict/warnings helpers that were moved could be moved back. This way the amount of non-installable stuff under lib/ stays smaller. p4raw-id: //depot/perl@10676