Catch or silence all warnings in test cases
authorDan Kubb <dan.kubb-cpan@onautopilot.com>
Sat, 13 Aug 2005 18:01:48 +0000 (18:01 +0000)
committerPeter Rabbitson <ribasushi@cpan.org>
Wed, 15 Sep 2010 13:28:27 +0000 (15:28 +0200)
commitc461d5d37454beba1df38a299c0656419c1af623
treee29e09f89cc03190db6d0a0dc3913b2c38c09ae9
parentfd0771a16c86033cf974630c884de4c70a5d2263
Catch or silence all warnings in test cases
Added Test::NoWarnings to make sure warnings in the future cause a test failure
Integrated fields with Inflation code
Moved use_ok/require statements in test cases into BEGIN block.  Class::Std needs to be run from a BEGIN block only.
Removed redundant methods from Validate libraries.  Further simplification of API is warranted.
Removed RESTRICTIVE attribute from methods in Validate/Field libraries.  Impossible for sibling classes to access methods, only parent or child.
25 files changed:
Build.PL
lib/DBIx/Class/Core.pm
lib/DBIx/Class/InflateColumn.pm
lib/DBIx/Class/Table.pm
lib/DBIx/Class/Validation.pm
lib/DBIx/Class/Validation/Type/column.pm
lib/DBIx/Class/Validation/Type/number.pm
lib/DBIx/Class/Validation/Type/object.pm
lib/DBIx/Class/Validation/Type/string.pm
t/01core.t
t/04db.t
t/05multipk.t
t/06relationship.t
t/08inflate.t
t/08inflate_has_a.t
t/09update.t
t/10auto.t
t/15limit.t
t/DBIx/Class/Validation/Type/column/basic.t
t/cdbi-t/01-columns.t
t/cdbi-t/04-lazy.t
t/cdbi-t/08-inheritcols.t
t/cdbi-t/15-accessor.t
t/cdbi-t/16-reserved.t
t/cdbi-t/98-failure.t