emile test - fix dtata struct init missing initted fields - warn

This commit is contained in:
Carsten Haitzler 2018-11-07 17:06:04 +00:00
parent 603adee731
commit a176524f95
1 changed files with 12 additions and 12 deletions

View File

@ -15,19 +15,19 @@ static const struct {
unsigned int len; unsigned int len;
Eina_Bool not; Eina_Bool not;
} base64_tests[] = { } base64_tests[] = {
{ "any carnal pleasure.", "YW55IGNhcm5hbCBwbGVhc3VyZS4=", "YW55IGNhcm5hbCBwbGVhc3VyZS4", 20 }, { "any carnal pleasure.", "YW55IGNhcm5hbCBwbGVhc3VyZS4=", "YW55IGNhcm5hbCBwbGVhc3VyZS4", 20, EINA_FALSE },
{ "any carnal pleasure.", "YW55IGNhcm5hbCBwbGVhc3VyZQ==", "YW55IGNhcm5hbCBwbGVhc3VyZQ", 19 }, { "any carnal pleasure.", "YW55IGNhcm5hbCBwbGVhc3VyZQ==", "YW55IGNhcm5hbCBwbGVhc3VyZQ", 19, EINA_FALSE },
{ "any carnal pleasure.", "YW55IGNhcm5hbCBwbGVhc3Vy", "YW55IGNhcm5hbCBwbGVhc3Vy", 18 }, { "any carnal pleasure.", "YW55IGNhcm5hbCBwbGVhc3Vy", "YW55IGNhcm5hbCBwbGVhc3Vy", 18, EINA_FALSE },
{ "any carnal pleasure.", "YW55IGNhcm5hbCBwbGVhc3U=", "YW55IGNhcm5hbCBwbGVhc3U", 17 }, { "any carnal pleasure.", "YW55IGNhcm5hbCBwbGVhc3U=", "YW55IGNhcm5hbCBwbGVhc3U", 17, EINA_FALSE },
{ "any carnal pleasure.", "YW55IGNhcm5hbCBwbGVhcw==", "YW55IGNhcm5hbCBwbGVhcw", 16 }, { "any carnal pleasure.", "YW55IGNhcm5hbCBwbGVhcw==", "YW55IGNhcm5hbCBwbGVhcw", 16, EINA_FALSE },
{ "pleasure.", "cGxlYXN1cmUu", "cGxlYXN1cmUu", 9 }, { "pleasure.", "cGxlYXN1cmUu", "cGxlYXN1cmUu", 9, EINA_FALSE },
{ "leasure.", "bGVhc3VyZS4=", "bGVhc3VyZS4", 8 }, { "leasure.", "bGVhc3VyZS4=", "bGVhc3VyZS4", 8, EINA_FALSE },
{ "easure.", "ZWFzdXJlLg==", "ZWFzdXJlLg", 7 }, { "easure.", "ZWFzdXJlLg==", "ZWFzdXJlLg", 7, EINA_FALSE },
{ "asure.", "YXN1cmUu", "YXN1cmUu", 6 }, { "asure.", "YXN1cmUu", "YXN1cmUu", 6, EINA_FALSE },
{ "sure.", "c3VyZS4=", "c3VyZS4", 5 }, { "sure.", "c3VyZS4=", "c3VyZS4", 5, EINA_FALSE },
/* The following 2 cases are manually generated for -/ testing*/ /* The following 2 cases are manually generated for -/ testing*/
{ "aabc123!?", "YWFiYzEyMyE/", "YWFiYzEyMyE_", 9 }, { "aabc123!?", "YWFiYzEyMyE/", "YWFiYzEyMyE_", 9, EINA_FALSE },
{ "abc123!?$*&()'-=@~", "YWJjMTIzIT8kKiYoKSctPUB+", "YWJjMTIzIT8kKiYoKSctPUB-", 18 } { "abc123!?$*&()'-=@~", "YWJjMTIzIT8kKiYoKSctPUB+", "YWJjMTIzIT8kKiYoKSctPUB-", 18, EINA_FALSE }
}; };
EFL_START_TEST(emile_test_base64_normal) EFL_START_TEST(emile_test_base64_normal)