Enlightenment CVS committal Author : ningerso Project : e17 Module : libs/ewl
Dir : e17/libs/ewl/src/bin/tests/object Modified Files: ewl_object.c Log Message: Comment on the purpose of each test case in the object unit tests. =================================================================== RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/object/ewl_object.c,v retrieving revision 1.3 retrieving revision 1.4 diff -u -3 -r1.3 -r1.4 --- ewl_object.c 11 Nov 2007 08:03:40 -0000 1.3 +++ ewl_object.c 11 Nov 2007 08:15:30 -0000 1.4 @@ -48,6 +48,10 @@ test->unit_tests = object_unit_tests; } +/* + * Set the preferred inner size and verify that it gets the same size back under + * various combinations of sizes. + */ static int preferred_inner_size_test_set_get(char *buf, int len) { @@ -88,6 +92,10 @@ return ret; } +/* + * Set the preferred size under a variety of cases and verify that it gets the + * same sizes back. + */ static int preferred_size_test_set_get(char *buf, int len) { @@ -128,6 +136,10 @@ return ret; } +/* + * Set the minimum size and verify that it returns the same minimum size when + * get is called. + */ static int minimum_size_test_set_get(char *buf, int len) { @@ -166,6 +178,10 @@ return ret; } +/* + * Set the maximum size with a variety of aspects and test that get returns the + * same sizes set. + */ static int maximum_size_test_set_get(char *buf, int len) { @@ -204,6 +220,10 @@ return ret; } +/* + * Set the minimum size to different aspects and verify that requesting the size + * for the object respects the minimum sizes properly. + */ static int minimum_size_test_set_request(char *buf, int len) { @@ -258,6 +278,10 @@ return ret; } +/* + * Test that size requests respect the maximum size settings under a variety of + * cases. + */ static int maximum_size_test_set_request(char *buf, int len) { @@ -312,6 +336,10 @@ return ret; } +/* + * Verify that setting a fill policy on an object returns the proper value when + * get is called. + */ static int fill_policy_test_set_get(char *buf, int len) { @@ -346,6 +374,10 @@ return ret; } +/* + * Set the alignment of an object to a variety of options and check that get + * returns the correctly set alignment. + */ static int alignment_test_set_get(char *buf, int len) { ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs