Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 240: Small change in tstutil.check_TypeError(), cleaned up use of ↵ | Jason Gerard DeRose | 2008-09-03 | 2 | -10/+5 |
| | | | | check_TypeError() in test_Option.test_normalize() | ||||
* | 239: Added errors.ConversionError; started big clean up of how ↵ | Jason Gerard DeRose | 2008-09-03 | 3 | -35/+41 |
| | | | | ValidationError is raised so it works well with multivalues | ||||
* | 238: Some docstring cleanup & fixes in test_public.py | Jason Gerard DeRose | 2008-09-03 | 1 | -4/+22 |
| | |||||
* | 237: Ported public.Method to new Option; updated corresponding unit tests | Jason Gerard DeRose | 2008-09-03 | 1 | -14/+13 |
| | |||||
* | 236: Ported pubic.Command to new Option; updated corresponding unit tests | Jason Gerard DeRose | 2008-09-02 | 1 | -27/+21 |
| | |||||
* | 235: Added Public.option instance attribute; updated corresponding unit ↵ | Jason Gerard DeRose | 2008-09-02 | 1 | -11/+53 |
| | | | | tests; disable some broken unit tests | ||||
* | 234: Renamed Option2 to Option | Jason Gerard DeRose | 2008-09-02 | 1 | -8/+8 |
| | |||||
* | 233: Removed public.Option class; removed corresponding unit tests | Jason Gerard DeRose | 2008-09-02 | 1 | -109/+5 |
| | |||||
* | 232: Added Option2.get_values() method; added corresponding unit tests | Jason Gerard DeRose | 2008-09-02 | 1 | -0/+12 |
| | |||||
* | 231: Added Option2.get_default() method; added corresponding unit tests | Jason Gerard DeRose | 2008-09-02 | 1 | -0/+34 |
| | |||||
* | 230: Renamed allow_None kwarg to allow_none | Jason Gerard DeRose | 2008-09-02 | 1 | -8/+8 |
| | |||||
* | 228: plugable.check_name() now uses errors.check_type() | Jason Gerard DeRose | 2008-09-02 | 1 | -0/+2 |
| | |||||
* | 227: check_type() and check_isinstance() now take arguments in (value, ↵ | Jason Gerard DeRose | 2008-09-02 | 2 | -49/+52 |
| | | | | type_, name) order so the first two match the built-in isinstance() call signature | ||||
* | 226: check_type() and check_isinstance() now return the value; updated ↵ | Jason Gerard DeRose | 2008-09-02 | 1 | -5/+5 |
| | | | | corresponding unit tests | ||||
* | 225: Added errors.check_type() and errors.check_isinstance() functions; ↵ | Jason Gerard DeRose | 2008-08-29 | 1 | -8/+80 |
| | | | | added corresponding unit tests | ||||
* | 224: Reworked IPATypeError class into raise_TypeError function | Jason Gerard DeRose | 2008-08-29 | 1 | -35/+27 |
| | |||||
* | 223: IPATypeError takes as first argument, has attribute | Jason Gerard DeRose | 2008-08-29 | 1 | -8/+21 |
| | |||||
* | 222: Fixed broken assertion in IPATypeError; did more work on docstrings in same | Jason Gerard DeRose | 2008-08-29 | 1 | -7/+12 |
| | |||||
* | 221: Added errors.IPATypeError exception; added new test_errors.py module ↵ | Jason Gerard DeRose | 2008-08-29 | 1 | -0/+46 |
| | | | | with corresponding unit tests | ||||
* | 220: Renamed Option2.validate_scalar() to Option2.__validate_scalar(); added ↵ | Jason Gerard DeRose | 2008-08-29 | 1 | -22/+94 |
| | | | | Option2.normalize() method; added corresponding unit tests | ||||
* | 218: Finished unit tests for Option2.validate(), Option2.validate_scalar() | Jason Gerard DeRose | 2008-08-28 | 1 | -1/+56 |
| | |||||
* | 217: Started work on new Option2 class that is more declarative and doesn't ↵ | Jason Gerard DeRose | 2008-08-28 | 1 | -1/+28 |
| | | | | require subclassing from Option | ||||
* | 216: Added ipa_types.Enum.validate() method; added corresponding unit tests | Jason Gerard DeRose | 2008-08-28 | 1 | -3/+14 |
| | |||||
* | 215: Added basics of ipa_types.Enum class; added corresponding unit tests | Jason Gerard DeRose | 2008-08-28 | 1 | -0/+31 |
| | |||||
* | 214: Added ipa_types.Bool.validate() method; added corresponding unit tests | Jason Gerard DeRose | 2008-08-28 | 1 | -0/+9 |
| | |||||
* | 213: Added ipa_type.Bool class; added corresponding unit tests | Jason Gerard DeRose | 2008-08-28 | 1 | -0/+39 |
| | |||||
* | 212: Type.__init__() now can also raise TypeError; added unit tests for ↵ | Jason Gerard DeRose | 2008-08-28 | 1 | -0/+18 |
| | | | | Type.__init__() | ||||
* | 210: Type.__init__() now takes the type as the first argument, does not use ↵ | Jason Gerard DeRose | 2008-08-28 | 1 | -10/+11 |
| | | | | subclass attribute; updated Int, Unicode, and their unit tests accordingly | ||||
* | 209: Added Type.__call__() method; fleshed out Type.convert() method; added ↵ | Jason Gerard DeRose | 2008-08-28 | 1 | -0/+30 |
| | | | | corresponding unit tests | ||||
* | 207: Added Unicode.validate() method and corresponding unit tests | Jason Gerard DeRose | 2008-08-27 | 1 | -1/+16 |
| | |||||
* | 206: Finished unit tests for Unicode.__init__() | Jason Gerard DeRose | 2008-08-27 | 1 | -0/+31 |
| | |||||
* | 205: Continued work on Unicode.__init__() and corresponding unit tests | Jason Gerard DeRose | 2008-08-27 | 1 | -5/+46 |
| | |||||
* | 204: Fixed logic error in check_min_max(); started work on argument ↵ | Jason Gerard DeRose | 2008-08-27 | 1 | -5/+14 |
| | | | | validation for Unicode | ||||
* | 203: Finished ipa_types.check_min_max() function; added corresponding unit ↵ | Jason Gerard DeRose | 2008-08-27 | 1 | -16/+46 |
| | | | | tests; ipa_types.Int now uses check_min_max() | ||||
* | 202: Started work on type classes in ipa_types module; added corresponding ↵ | Jason Gerard DeRose | 2008-08-27 | 1 | -0/+110 |
| | | | | unit tests | ||||
* | 198: Renamed Command.default() to Command.get_default(); ↵ | Jason Gerard DeRose | 2008-08-26 | 1 | -8/+8 |
| | | | | Command.get_default_iter() now correctly calls Option.get_default() instead of Option.default() | ||||
* | 197: Added new public.Option.get_default() method that calls ↵ | Jason Gerard DeRose | 2008-08-26 | 1 | -3/+16 |
| | | | | Option.default_from() if it's a DefaultFrom instance, and otherwise returns Option.default (the static default value) | ||||
* | 195: Started on docstring for public.DefaultFrom | Jason Gerard DeRose | 2008-08-26 | 1 | -0/+6 |
| | |||||
* | 193: Removed depreciated public.PublicAPI class; removed corresponding unit ↵ | Jason Gerard DeRose | 2008-08-26 | 1 | -17/+0 |
| | | | | tests | ||||
* | 190: Renamed public.option class to public.Option | Jason Gerard DeRose | 2008-08-25 | 1 | -15/+15 |
| | |||||
* | 188: Added unit tests for public.Object.finalize() method | Jason Gerard DeRose | 2008-08-22 | 1 | -0/+65 |
| | |||||
* | 187: Renamed plubic.obj to Object; reworked plublic.Object unit tests to use ↵ | Jason Gerard DeRose | 2008-08-22 | 1 | -4/+15 |
| | | | | ClassChecker | ||||
* | 186: Renamed public.attr to Attribute; reworked public.Attribute unit tests ↵ | Jason Gerard DeRose | 2008-08-22 | 1 | -21/+32 |
| | | | | using ClassChecker | ||||
* | 185: Renamed public.prop to Property | Jason Gerard DeRose | 2008-08-22 | 1 | -6/+6 |
| | |||||
* | 184: Renamed public.mthd class to Method | Jason Gerard DeRose | 2008-08-22 | 1 | -4/+4 |
| | |||||
* | 183: Added public.DefaultFrom class; added corresponding unit tests | Jason Gerard DeRose | 2008-08-22 | 1 | -0/+35 |
| | |||||
* | 182: Renamed plublic.cmd base class to Command | Jason Gerard DeRose | 2008-08-15 | 2 | -22/+26 |
| | |||||
* | 179: DictProxy now has __call__() method that iterates through the values; ↵ | Jason Gerard DeRose | 2008-08-15 | 1 | -0/+2 |
| | | | | removed __call__() method from NameSpace as it subclasses from DictProxys; DictProxy unit tests now test __call__() | ||||
* | 178: Registrar now subclasses from DictProxy; made Registrar.__iter__ behave ↵ | Jason Gerard DeRose | 2008-08-15 | 1 | -28/+21 |
| | | | | same as the other container emulation in plugable.py, and made the dictorary interface return the base and the attribute interface return the MagicDict; updated API class and unit tests | ||||
* | 176: PluginProxy now subclasses from SetProxy | Jason Gerard DeRose | 2008-08-15 | 1 | -2/+2 |
| |