summaryrefslogtreecommitdiff
path: root/lib/zephyr_tests.py
Commit message (Collapse)AuthorAge
* Further refactor the library locater, and make the doctests use itGravatar Karl Ramm2009-08-01
|
* actually look search for the shared library, and hopefully also find it onGravatar Karl Ramm2009-08-01
| | | | a mac
* Factor the python library stuff out of the test suite and stickGravatar Karl Ramm2009-07-15
| | | | | it in it's own file. And then put it in a debian package.
* Don't assume that we can guess the canonical name of localhostGravatar Karl Ramm2009-06-20
|
* add safety net for non-svn users.Gravatar Mark W. Eichin2009-05-02
| | | | | | (really once I pull the duplicate tests out of here there's no reason for this to be runnable anyway...)
* draft packet tests - using pipe trick turns out not to work, though.Gravatar Mark W. Eichin2009-04-26
|
* test that the file descriptor ZGetFD returns is actually a socketGravatar Mark W. Eichin2009-04-24
|
* test ZGetDestAddrGravatar Mark W. Eichin2009-04-24
|
* populate_enum - instantiate the enum values as actual objectsGravatar Mark W. Eichin2009-04-18
| | | | | | (in 2.6, do this with a class decorator?) expand the ZFormatNotice/ZParseNotice round trip, but it needs more...
* More i18n infrastructureGravatar Karl Ramm2009-04-17
| | | | | | | | | | | | | | | | lib/charset.c h/zephyr/zephyr.h Refactor ZGetCharset into ZGetCharset and a function that does all the same defaulting but returns a string. ZTransliterate is a zephyr-metaphor wrapper for iconv. lib/zephyr-tests.py Wrappers for the functions in charset.c (but not tests) lib/zephyr_tests.txt Tests for the functions in charset.c
* basic Zcode testGravatar Mark W. Eichin2009-04-17
|
* wrap ZMakeAsciiGravatar Mark W. Eichin2009-04-16
| | | | | | | | | clone it too test the wrapper against the clone fix typo in description add todos add future-coverage list
* Export a new variable, Zauthtype, which indicates what sort of authenticationGravatar Karl Ramm2009-04-14
| | | | | | | | | the library was compiled for. Use this variable in the tests such that they will pass (and, like, test something) if the library was not compiled with authentication.
* ZOpenPort, ZClosePortGravatar Mark W. Eichin2009-04-14
|
* allow zephyr_run_doctests -v to workGravatar Mark W. Eichin2009-04-14
|
* run the tests from makeGravatar Karl Ramm2009-04-14
|
* test ZExpandRealmGravatar Mark W. Eichin2009-04-10
|
* m-x untabifyGravatar Mark W. Eichin2009-04-09
|
* move run from ZephyrTestSuite to TestSuite where it belongs (easier toGravatar Mark W. Eichin2009-04-09
| | | | | | | | | | replace that way too) add starting/done/failed to TestSuite.run output wrap ZCompareUID test ZCompareUID
* discovered by looking at code that uniqueid timestamps are in networkGravatar Mark W. Eichin2009-04-08
| | | | | | | | byte order. They're really bytestrings so it shouldn't matter... but since this is half testing, half debugging, and half API exploration, we might as well make them human-displayable...
* reworked with a pprint/pformat distinction (mostly to stop propating indent)Gravatar Mark W. Eichin2009-04-07
| | | | | | | added comments z_sender_sockaddr now displays only the branch implied by sa_family
* allow a class to override the display of individual fields; since thisGravatar Mark W. Eichin2009-04-07
| | | | | | | | | | | is at the class level, it can look at other fields (ie. z_num_hdr_fields) for lengths or other parameters that modify the display. implemented for z_hdr_fields, z_other_fields. probably useful for selecting z_sender_sockaddr values too.
* ctypes docs say "enums are easy" but don't give any further guidance.Gravatar Mark W. Eichin2009-04-07
| | | | | | | | Turns out they are easy :-) Also added "fake" enums to render address family tags correctly; cheat a little and lift the values from the python socket module directly, to avoid duplication.
* add type-specific pretty-printers (yay classes)Gravatar Mark W. Eichin2009-04-07
| | | | | | | | the mess around _ZTimeval.pprint is that either they're not getting initialized, not getting converted properly, or aren't really timestamps anymore.
* generic pretty-printer for ctypes Structures and UnionsGravatar Mark W. Eichin2009-04-07
| | | | | | use it to display fields of interest for testing fix the immediately exposed bug (tv_sec/tv_usec sign)
* allow callers to specify the installed shared libGravatar Mark W. Eichin2009-04-07
|
* split libzephyr wrappers apart from the tests; eventually they'llGravatar Mark W. Eichin2009-04-07
| | | | | | be a useful module on their own.
* fix keywords magic (by changing Id to Id: which won't be visible in the diff)Gravatar Mark W. Eichin2009-04-06
|
* unit tests for libzephyr.Gravatar Mark W. Eichin2009-04-06
uses python ctypes to build structs and call functions; minimal current case is an empty ZFormatNotice/ZParseNotice round trip.