Commit Graph
6 Commits
Author SHA1 Message Date
Gonzalo Paniagua Javier 6809d60afc 2006-10-18 Gonzalo Paniagua Javier <[email protected]>
* test/array.c: new test for insertion in the middle of other values.
	* src/garray.c: fixed destination index.


svn path=/trunk/mono/; revision=66798
2006-10-18 18:39:12 +00:00
Miguel de Icaza 402dc2b092 2006-10-17 Miguel de Icaza <[email protected]>
* src/garray.c (g_array_insert_vals): Shift the elements the
        correct amount.


svn path=/trunk/mono/; revision=66772
2006-10-17 23:29:36 +00:00
Miguel de Icaza a2b2f87a22 2006-10-17 Miguel de Icaza <[email protected]>
* src/garray.c (g_array_insert_vals): Should actually use the
	number of elements to insert.

	* test/array.c: Add new test case, this was happening in the JIT. 


svn path=/trunk/mono/; revision=66771
2006-10-17 23:20:14 +00:00
Aaron Bockover c1228dfc99 2006-08-21 Aaron Bockover <[email protected]>
* src/gstr.c: fixed bug/invalid read/write on malloc-only case (no
    realloc/delimiter token not found); use memcpy instead of strncpy for
    better performance

    * test/test.c (run_group): allow running specific tests under a group;
    added copied g_strsplit/g_strfreev from EGlib source as eg_strsplit
    and eg_strfreev to avoid performance skews in the driver

    * test/driver.c: allow user-specified group name to contain specific
    test to run under the group as 'group_name:test1,test2,...testN'

    * test/string-util.c: Added more g_strsplit tests

    * test/slist.c:
    * test/ptrarray.c:
    * test/fake.c:
    * test/string.c:
    * test/list.c:
    * test/array.c:
    * test/hashtable.c: make test names shorter (no need to prefix with
    the group since it runs under the group)


svn path=/trunk/mono/; revision=64167
2006-08-21 22:22:50 +00:00
Chris Toshok 14abb7c355 * test/array.c (test_array_big): add a test from the glib
documentation.

2006-08-20  Chris Toshok  <[email protected]>


svn path=/trunk/mono/; revision=64107
2006-08-20 15:33:32 +00:00
Chris Toshok ba24bbec85 2006-08-20 Chris Toshok <[email protected]>
* test/tests.h: add array tests to the mix.

	* test/array.c: a few array tests.

	* src/glib.h: add array prototypes.

	* src/garray.c: initial array foo.

	* test/Makefile.am (SOURCES): add array.c

	* src/Makefile.am (libeglib_la_SOURCES): add garray.c


svn path=/trunk/mono/; revision=64106
2006-08-20 15:30:31 +00:00