Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 255: CLI help, console commands now subclass from public.Application; other ↵ | Jason Gerard DeRose | 2008-09-04 | 2 | -8/+10 |
| | | | | tweeking to make CLI utilize Application | ||||
* | 254: Added public.Application base class; added corresponding unit tests | Jason Gerard DeRose | 2008-09-04 | 1 | -0/+33 |
| | |||||
* | 253: Fixed error in Option.get_default() where Option.convert() was being ↵ | Jason Gerard DeRose | 2008-09-04 | 1 | -1/+2 |
| | | | | called on Option.default; updated corresponding unit tests | ||||
* | 252: Added Command.convert() method; added corresponding unit tests | Jason Gerard DeRose | 2008-09-04 | 1 | -0/+19 |
| | |||||
* | 251: Fixed Command.validate() so it raises RequirementError; updated and ↵ | Jason Gerard DeRose | 2008-09-04 | 1 | -9/+13 |
| | | | | re-enabled unit tests for Command.validate() | ||||
* | 250: Updated Option.validate to utilize the ValidationError.index attribute; ↵ | Jason Gerard DeRose | 2008-09-04 | 1 | -24/+16 |
| | | | | updated unit tests for Option.validate to test use of index attribute | ||||
* | 249: Fixed Option.__convert_scalar() to user index=None instead of ↵ | Jason Gerard DeRose | 2008-09-03 | 1 | -18/+38 |
| | | | | position=None; updated unit tests for Option.convert() to test the ConversionError.index attribute | ||||
* | 247: Added unit tests for errors.RequirementError | Jason Gerard DeRose | 2008-09-03 | 1 | -0/+21 |
| | |||||
* | 246: Added unit tests for errors.RuleError | Jason Gerard DeRose | 2008-09-03 | 1 | -0/+28 |
| | |||||
* | 244: Added unit tests for errors.ConversionError | Jason Gerard DeRose | 2008-09-03 | 1 | -0/+30 |
| | |||||
* | 243: Added unit tests for errors.ValidationError | Jason Gerard DeRose | 2008-09-03 | 1 | -0/+33 |
| | |||||
* | 242: Started cleanup of custom exceptions; added unit tests for errors.IPAError | Jason Gerard DeRose | 2008-09-03 | 2 | -2/+33 |
| | |||||
* | 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 |
| |