Unit Test Package for Class::MethodMaker
This package tests the scalar type of Class::MethodMaker
Test 1: compilation
This test confirms that the test script and the modules it calls compiled successfully.
Test 2: bless
Tests 3--22: simple non-static
Tests 23--35: lvalue
lvalue support has been dropped (I can't find a consistent way to support it in the presence of read callbacks).
Tests 36--51: typed
Tests 52--69: forward
Tests 70--72: forward_args
Tests 73--85: default
Tests 86--102: default_ctor
Tests 103--114: !syntax
Tests 115--126: nested scope
Tests 127--130: simple name
Tests 131--142: repeated calls
Tests 143--153: *_clear
Tests 154--202: rename
Tests 203--204: v1/2 check
Tests 205--221: tie
Tests 295--301: non-init ctor
This is to test that the default ctor or default is not assigned if a value is supplied. This would particularly be a problem with v1 compatiblity use where a value is explcitly supplied to prevent 'new' being called because there is no 'new' (if the ctor is called anyway, the program barfs).
Tests 302--314 default_ctor (arg)
4 POD Errors
The following errors were encountered while parsing the POD:
- Around line 668:
Unknown directive: =head
- Around line 733:
Unknown directive: =head
- Around line 784:
Unknown directive: =head
- Around line 840:
Unknown directive: =head