Revision history for Perl extension Test::C2FIT.
0.08 Wed Jan 24 2008
0.07 Sun Jun 04 2006 Martin Busik <martin.busik@busik.de>
0.05 Wed May 10 2006
0.04 Fri May 5 2006 Tony Byrne
0.03 Tue May 2 2006 Tony Byrne
0.02 Mon May 1 2006 Martin Busik <martin.busik@busik.de>
perl -MTest::C2FIT -e file_runner <input-file> <output-file>
the reference implementation (java implementation, version 1.1).
The specification requires the usage of java-style package
separators ("." instead of the perl-style "::"). Further, the
(input) documents shall use fully qualified package names. In
order to allow the usage of at least the specification documents
without change, special care is taken of the "fit." names.
Similar rules apply to "eg." and "fat." names.
The loader does not require each referenced package to be in a
separate file now.
Test::C2FIT::Fixture implements the following methods which,
given a field or method name, returns the (fully qualified) package
name of the appropriate TypeAdapter:
suggestFieldType - used in ColumnFixture an RowFixture
suggestMethodResultType - used in ColumnFixture, RowFixture and
ActionFixture
suggestMethodParamType - used in ActionFixture
by default, these methods make a lookup in an instance's hash. So
either these methods are to overload or the appropriate hashes
are to be filled.
loading of fixtures (see above)
added TypeAdapter-support in do_enter
Bug in check() fixed. When execute() was called within the check()
method and execute() raised an exception, further handling ignored
this. (This bug is still exists in V1.1 of the java implementation)
TypeAdapter support (see above)
Bug in doRows fixed. Wrong iterator implementation, causing endless
loops if doRow() added further rows to the output.
implementation of exception() now identical to the java impl.
Implementation of check() regarding empty cells modified, behavior
now identical to the java impl.
Error text in loadFixture() modified according to the specification
(less verbose)
implementation of equals modified.
Empty tags, e.g. "<td/>" will be now correctly parsed. Until yet,
there were an exeption (same problem occurs in the V1.1 of the
reference implementation)
Added dummy implementation of footnote()
Printout of surplus rows corrected.
Time is printed in human readable form now
Added better support for (specific) TypeAdapters
Implmenentation of equals() changed. In java, equals() is a method
of Object, it can be generally used. This is not required in perl,
but needed, when (propably) blessed objects are in place (e.g.
{ a => 1, b => 2 } eq { a => 1, b => 2} is not true).
The current implementation accomodates this.
For numeric comparison, the ScientificDouble is used
(as this is the lesser evil than abs($a - b) < 0.00001 :)
Given an undef, toString return now "null" (as in the V1.1 of
the reference implementation)
implementation.
The results are as identical to the reference implementation as
possible (e.g. "integer overflow")
Some files contained path specifiations with wildcards (e.g. "Documents/AllFiles/magnitude/*.html) In order to get these running, "Documents" was replaced by "input". The WebPageExample refers now to URLs which (at present: 2006-05-01) exist.
Contains an example which uses the above mentioned TypeAdapter features.
0.01 Wed Apr 27 17:10:52 2005