Commit Graph

13 Commits

Author SHA1 Message Date
Jason Gerard DeRose
085ea3f62f 239: Added errors.ConversionError; started big clean up of how ValidationError is raised so it works well with multivalues 2008-09-03 18:32:49 +00:00
Jason Gerard DeRose
283c6f8fce 216: Added ipa_types.Enum.validate() method; added corresponding unit tests 2008-08-28 07:57:07 +00:00
Jason Gerard DeRose
c83c478ae1 215: Added basics of ipa_types.Enum class; added corresponding unit tests 2008-08-28 06:56:45 +00:00
Jason Gerard DeRose
07ac867ed3 214: Added ipa_types.Bool.validate() method; added corresponding unit tests 2008-08-28 05:06:13 +00:00
Jason Gerard DeRose
b865b30511 213: Added ipa_type.Bool class; added corresponding unit tests 2008-08-28 04:54:48 +00:00
Jason Gerard DeRose
d121a729aa 212: Type.__init__() now can also raise TypeError; added unit tests for Type.__init__() 2008-08-28 02:45:04 +00:00
Jason Gerard DeRose
039b9a2a9b 210: Type.__init__() now takes the type as the first argument, does not use subclass attribute; updated Int, Unicode, and their unit tests accordingly 2008-08-28 02:02:03 +00:00
Jason Gerard DeRose
2b01bdc112 209: Added Type.__call__() method; fleshed out Type.convert() method; added corresponding unit tests 2008-08-28 01:38:29 +00:00
Jason Gerard DeRose
5da1d4bb86 207: Added Unicode.validate() method and corresponding unit tests 2008-08-27 23:40:34 +00:00
Jason Gerard DeRose
2984041d00 205: Continued work on Unicode.__init__() and corresponding unit tests 2008-08-27 22:26:35 +00:00
Jason Gerard DeRose
e6cecfdcf2 204: Fixed logic error in check_min_max(); started work on argument validation for Unicode 2008-08-27 21:52:13 +00:00
Jason Gerard DeRose
89ea3acd0a 203: Finished ipa_types.check_min_max() function; added corresponding unit tests; ipa_types.Int now uses check_min_max() 2008-08-27 21:20:19 +00:00
Jason Gerard DeRose
6b214cbccf 202: Started work on type classes in ipa_types module; added corresponding unit tests 2008-08-27 20:09:19 +00:00