summaryrefslogtreecommitdiff
path: root/lib/Symbol.t
Commit message (Collapse)AuthorAgeFilesLines
* do not count tests, instead use done_testing()Michiel Beijen2021-12-041-1/+3
| | | | | | | | | | | | | | | Having to count tests is annoying for maintainers. Also, manually updating count tests is problematic when multiple people are working on the same code; it causes merge conflicts and recounts. done_testing() is available since Test::More 0.88 which was released in 2009. This commit changes all tests under lib/ that use Test::More and were planning the number of tests. Michiel Beijen is now a Perl author
* Fix enough code to get make test_prep working with -dDusedefaultstrictTodd Rinaldo2020-10-131-0/+4
| | | | | | | | | This change fixes enough code that it's possible to run make test_prep when perl is compiled with -Dusedefaultstrict. There are 2 caveats to this: - Does not address XSLoader/DynaLoader already submitted in another PR. - Does not address cpan/Pod-Usage or cpan/Text-Tabs which continue to be outstanding upstream.
* lib/Symbol.t: Exercise qualify_to_ref()James E Keenan2020-08-221-5/+24
| | | | | | | | Symbol::qualify_to_ref() has not previously been exercised in this test file. Do so. Also, exercise certain usages of qualify() that are documented in SYNOPSIS but were also previously unexercised. Bring test file into compliance with stricture.
* Add tests for two previously unexercised sections of lib/Symbol.pm.James E Keenan2013-07-081-1/+14
|
* Mark all .t and .pm files as non executableRafael Garcia-Suarez2009-06-061-0/+0
|
* Add caveats and tests for Symbol::delete_package().Rafael Garcia-Suarez2003-08-271-1/+11
| | | p4raw-id: //depot/perl@20922
* Perl interface to newIO()Yitzchak Scott-Thoennes2002-02-261-1/+22
| | | | | Message-ID: <ZMse8gzkg6oQ092yn@efn.org> p4raw-id: //depot/perl@14878
* bugfixes Rafael Garcia-Suarez2001-11-051-22/+16
| | | | | Message-ID: <20011105142624.C31977@rafael> p4raw-id: //depot/perl@12850
* The Grand Trek: move the *.t files from t/ to lib/ and ext/.Jarkko Hietaniemi2001-06-181-0/+52
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