2016-03-30 7:49 GMT+02:00 Anthony Walter <sys...@gmail.com>: > I put up a testing page for your modifications here: > > http://www.getlazarus.org/language/smart/ > > The tests are rather simple and sloppy, but so far the few tests I've > written have passed using revision 33384. If anyone wants to add/change the > test source code you can use the edit feature on that page. I will post > your test/results when I run them myself. >
Thanks for nice page :) Note that in tests directory exists set of tests for management operators (and for related RTTI): toperator89.pp - simple syntax test for new operators { %NORUN } toperator90.pp - management operators for global variables, local variables, fields in classes, New and Dispose, InitializeArray and FinalizeArray, Initialize and Finalize toperator91.pp - similar to toperator90 but for record without managed field toperator92.pp - test for fields in classes with inheritance toperator93.pp - test for fields in objects with inheritance as global/local variable + related objects usages for New, Dispose, InitializeArray, FinalizeArray, Initialize, Finalize. toperator94.pp - simple syntax test for expected error { %FAIL } trtti10.pp - record RTTI pointer to init table new in r33384: toperator95.pp - dynamic array test for records and objects -- Best regards, Maciej Izak
_______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel