Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/src/bin/tests/object


Modified Files:
        ewl_object_test.c 


Log Message:
Add unit test checks for default fill policy and alignment.

===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/object/ewl_object_test.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -3 -r1.8 -r1.9
--- ewl_object_test.c   26 Dec 2007 21:50:53 -0000      1.8
+++ ewl_object_test.c   27 Dec 2007 05:47:19 -0000      1.9
@@ -158,6 +158,16 @@
                goto DONE;
        }
 
+       if (ewl_object_fill_policy_get(EWL_OBJECT(w)) != EWL_FLAG_FILL_NORMAL) {
+               LOG_FAILURE(buf, len, "fill policy incorrect");
+               goto DONE;
+       }
+
+       if (ewl_object_alignment_get(EWL_OBJECT(w)) != EWL_FLAG_ALIGN_CENTER) {
+               LOG_FAILURE(buf, len, "alignment incorrect");
+               goto DONE;
+       }
+
        ret = 1;
 DONE:
        ewl_widget_destroy(w);



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to