summary refs log tree commit diff stats
path: root/tests/stdlib
Commit message (Collapse)AuthorAgeFilesLines
* marshalling can be done at compile-timeAraq2015-04-251-17/+0
|
* Add test case for infinite loop in REdef2015-04-091-0/+9
|
* fixes #1845, fixes #2224Araq2015-03-121-0/+29
|
* Fix tests a bit moredef2015-03-101-4/+4
|
* Merge pull request #2279 from nathan-hoad/sni-support-for-opensslDominik Picheta2015-03-101-0/+47
|\ | | | | Add SNI support to client and server sockets.
| * Make IP address checking more obvious, and add tests for the net module.Nathan Hoad2015-03-071-0/+47
| |
* | Replaced repeatStr() and repeatChar() with more natural versions.Hans Raaf2015-03-031-2/+8
|/
* some love for the testsuite; fixed regressionsAraq2015-03-011-6/+6
|
* Added test for toHex().Hans Raaf2015-02-181-24/+27
|
* fixed minor bugs; cleaned up testsAraq2015-02-122-454/+1
|
* apparently the json spacing changedSimon Hafner2015-02-081-1/+1
|
* Clean up tests/stdlibdef2015-02-043-33/+37
| | | | | | | 2 tests still fail: - tircbot would need a benign pragma because of the locks - tgetfileinfo uses os.getFileInfo() on nil, which segfaults instead of throwing an exception as the tester expects
* Adapt the tester for permutationsdef2015-02-021-11/+13
| | | | Uses the bool return value now
* Add nextPermutation and prevPermutationdef2015-02-011-0/+17
| | | | | | Fits best into algorithm module I guess. These are the most general ways, an iterator could easily be implemented from this. Same algorithm as in Rust: http://web.mit.edu/rust-lang_v0.11/doc/src/collections/var/tmp/alexp/rust/rust-0.11.0/src/libcollections/slice.rs.html#644
* Fix SinglyLinkedRing in lists moduledef2015-02-011-0/+29
| | | | | | | - SinglyLinkedRing's prepend was broken - needed a tail so that prepend can work properly - now append works as well, so I added it too - simple testcase added as well
* Add tests for mitemsdef2015-01-291-0/+136
|
* Get rid of deprecation warnings in pegsdef2015-01-161-14/+14
|
* release of 0.10.2Araq2014-12-294-49/+34
|
* strutils.rfind via chardyu2014-12-191-0/+4
|
* fixes #1352Araq2014-12-141-2/+14
|
* Merge branch 'devel' into bigbreakAraq2014-11-031-0/+21
|\ | | | | | | | | Conflicts: lib/pure/osproc.nim
| * Added test caseSimon Krauter2014-11-031-0/+21
| |
* | further adaptationsAraq2014-08-296-15/+15
|/
* Remove unnecessary importSimon Jakobi2014-07-191-1/+0
|
* Merge pull request #1099 from Varriount/os/getFileInfoAndreas Rumpf2014-04-201-0/+93
|\ | | | | Added os.getFileInfo procedure.
| * Added tests for getFileInfo proc.Clay Sweetser2014-04-161-0/+93
| |
* | Tester now appreciates the test target. Modified 'cmd' in specs.Dominik Picheta2014-04-161-1/+1
|/
* Fixes docgen.Dominik Picheta2014-04-151-1/+1
|
* Add checks for invalid socket when creating sockets.Dominik Picheta2014-04-151-0/+1
|
* Merge branch 'devel' of https://github.com/Araq/Nimrod into develAraq2014-03-272-0/+17
|\
| * Merge pull request #1032 from barcharcraz/lowerBoundVarriount2014-03-271-0/+3
| |\ | | | | | | Added lowerBound function to the stdlib
| | * added lowerBound function to algorithm libraryCharlie Barto2014-03-231-0/+3
| | |
| * | Calling randomize() again within 1 second will now provide a different seedJason Livesay2014-03-261-0/+14
| |/
* / made some tests greenAraq2014-03-271-16/+0
|/
* make some tests greenZahary Karadjov2014-03-161-1/+1
|
* fix some trivial errors in the test suite and some more regressions caused ↵Zahary Karadjov2014-02-181-1/+1
| | | | by tyTypeDesc[tyNone]
* Changed tests and tools to use 'discard' statements instead of 'nil' for ↵Clay Sweetser2014-02-154-13/+13
| | | | empty blocks.
* moved the tests for TSet to the correct placeSimon Hafner2014-02-091-0/+15
|
* removed unittest from talgorithmSimon Hafner2014-02-061-12/+6
|
* product more robust against empty inputSimon Hafner2014-01-301-0/+5
|
* added Cartesian productSimon Hafner2014-01-301-0/+9
|
* new tester; all tests categorizedAraq2014-01-1336-0/+3027
an class="w"> Bool selscreen, *seltag; /* seltag is array of Bool */ extern Client *clients, *sel, *stack; /* global client list and stack */ extern Cursor cursor[CurLast]; extern DC dc; /* global draw context */ extern Display *dpy; extern Layout *lt; extern Window root, barwin; /* client.c */ extern void configure(Client *c); /* send synthetic configure event */ extern void focus(Client *c); /* focus c, c may be NULL */ extern void killclient(Arg *arg); /* kill c nicely */ extern void manage(Window w, XWindowAttributes *wa); /* manage new client */ extern void resize(Client *c, int x, int y, int w, int h, Bool sizehints); /* resize with given coordinates c*/ extern void toggleversatile(Arg *arg); /* toggles focused client between versatile/and non-versatile state */ extern void updatesizehints(Client *c); /* update the size hint variables of c */ extern void updatetitle(Client *c); /* update the name of c */ extern void unmanage(Client *c); /* destroy c */ extern void zoom(Arg *arg); /* zooms the focused client to master area, arg is ignored */ /* draw.c */ extern void drawstatus(void); /* draw the bar */ extern void drawtext(const char *text, unsigned long col[ColLast]); /* draw text */ extern unsigned int textw(const char *text); /* return the width of text in px*/ /* event.c */ extern void grabkeys(void); /* grab all keys defined in config.h */ /* layout.c */ extern void focusnext(Arg *arg); /* focuses next visible client, arg is ignored */ extern void focusprev(Arg *arg); /* focuses previous visible client, arg is ignored */ extern void incnmaster(Arg *arg); /* increments nmaster with arg's index value */ extern void initlayouts(void); /* initialize layout array */ extern Client *nexttiled(Client *c); /* returns tiled successor of c */ extern void resizemaster(Arg *arg); /* resizes the master percent with arg's index value */ extern void restack(void); /* restores z layers of all clients */ extern void setlayout(Arg *arg); /* sets layout, -1 toggles */ extern void versatile(void); /* arranges all windows versatile */ /* main.c */ extern void quit(Arg *arg); /* quit dwm nicely */ extern void sendevent(Window w, Atom a, long value); /* send synthetic event to w */ extern int xerror(Display *dsply, XErrorEvent *ee); /* dwm's X error handler */ /* tag.c */ extern void compileregs(void); /* initialize regexps of rules defined in config.h */ extern Bool isvisible(Client *c); /* returns True if client is visible */ extern void settags(Client *c, Client *trans); /* sets tags of c */ extern void tag(Arg *arg); /* tags c with arg's index */ extern void toggletag(Arg *arg); /* toggles c tags with arg's index */ extern void toggleview(Arg *arg); /* toggles the tag with arg's index (in)visible */ extern void view(Arg *arg); /* views the tag with arg's index */ /* util.c */ extern void *emallocz(unsigned int size); /* allocates zero-initialized memory, exits on error */ extern void eprint(const char *errstr, ...); /* prints errstr and exits with 1 */ extern void spawn(Arg *arg); /* forks a new subprocess with arg's cmd */