efl/legacy/eet/src/tests
Lucas De Marchi 5a8a8c9014 Convert (hopefully) all comparisons to NULL
Apply badzero.cocci, badnull.coci and badnull2.cocci

This should convert all cases where there's a comparison to NULL to simpler
forms. This patch applies the following transformations:

code before patch               ||code after patch
===============================================================

return a == NULL;                 return !a;

return a != NULL;                 return !!a;

func(a == NULL);                  func(!a);

func(a != NULL);                  func(!!a);

b = a == NULL;                    b = !a;

b = a != NULL;                    b = !!a;

b = a == NULL ? c : d;            b = !a ? c : d;

b = a != NULL ? c : d;            b = a ? c : d;


other cases:

a == NULL                         !a
a != NULL                         a




SVN revision: 51487
2010-08-21 13:52:25 +00:00
..
.cvsignore ignore 2008-08-06 04:58:43 +00:00
Makefile.am make eet unit tests compile on Windows 2010-06-27 12:10:46 +00:00
TODO Introducing unit test in EFL using cvs check library for the test 2008-05-16 15:07:03 +00:00
cert.pem Add signature support in eet. 2008-09-08 09:19:57 +00:00
eet_data_suite.c * eet: fix bad allocation case triggered by edje new file format. 2010-08-13 15:21:52 +00:00
eet_suite.c Convert (hopefully) all comparisons to NULL 2010-08-21 13:52:25 +00:00
eet_suite.h formatting. <- uncrustify 2010-07-31 01:54:48 +00:00
key.pem Add signature support in eet. 2008-09-08 09:19:57 +00:00
key_enc.pem Make password callback work (PKCS8 support), fix minor bugs and add more tests. 2008-11-14 17:34:51 +00:00
key_enc_none.pem Make password callback work (PKCS8 support), fix minor bugs and add more tests. 2008-11-14 17:34:51 +00:00