summaryrefslogtreecommitdiff
path: root/lib/zephyr_tests.txt
Commit message (Collapse)AuthorAge
* This is small, but -entirely dead-.Gravatar Karl Ramm2013-10-12
|
* rename zephyr python modules to zephyr_ctypesGravatar Karl Ramm2013-09-28
| | | | | Having more plausible claimants to the title of "python zephyr module" installed was interfering with builds.
* Print only some fields of ZGetDestAddr to dodge sin_lenGravatar Karl Ramm2009-10-12
| | | | | | | | | Print only the fields of ZGetDestAddr we care about checking -- the address family and address. We can't just print the whole structure and selectively examine fields, because we can't easily determine whether sin_len will be present or not. (from Ken Raeburn)
* Print more info for certain test failures.Gravatar Karl Ramm2009-10-12
| | | | (from Ken Raeburn)
* Slightly more robust guess at what the noauth ZExpandRealm doesGravatar Karl Ramm2009-08-01
|
* Further refactor the library locater, and make the doctests use itGravatar Karl Ramm2009-08-01
|
* Set up a local UDP socket to drive testingGravatar Karl Ramm2009-04-27
| | | | | | | | | | | | | Using socketpair doesn't work because you end up with an AF_UNIX socket, and it even if you _can_ use sendto with anonymous unix-domain sockets (which the documentation is mute on and it doesn't seem worth experimenting on), the zephyr library doesn't allocate enough storage for a sockaddr_un, and although I'm not above fixing that, I determined that for structural reasons it's too annoying right now. (But once we have a test suite...) Anyway, cons up a udp socket, and extract a port number from the library, and use the python socket interface to send the zephyr packet.
* It turns out that sockpair /does/ work with AF_UNIX, SOCK_DGRAM, just notGravatar Karl Ramm2009-04-27
| | | | | | | | AF_INET, which is not terribly surprising now that I think about it. However, ZPending() still returns -1, and I don't know how to debug why at the moment.
* draft packet tests - using pipe trick turns out not to work, though.Gravatar Mark W. Eichin2009-04-26
|
* take ZGetDestAddr off the listGravatar Mark W. Eichin2009-04-24
|
* 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
|
* more api todosGravatar Mark W. Eichin2009-04-17
| | | | | clarify which ZLocateUser actually exists
* show what ZMakeAscii actually *does*Gravatar Mark W. Eichin2009-04-16
|
* 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.
* test ZOpenPort and ZClosePortGravatar Mark W. Eichin2009-04-14
| | | | | record coverage, start a checklist of what next
* backgroundGravatar Mark W. Eichin2009-04-14
|
* run the tests from makeGravatar Karl Ramm2009-04-14
|
* draft doctest version of the existing tests, to show what they lookGravatar Mark W. Eichin2009-04-13
like; might serve as a start on a "live API guide" once it is fleshed out more. Emphasizes the commentary which actually makes a lot of sense (a bunch of things went into the svn commit logs which really should have been in-line in the test cases; this approach avoids that...)