summaryrefslogtreecommitdiff
path: root/src/tests/emile
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2018-11-07 17:06:04 +0000
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2018-11-09 11:43:59 +0000
commita176524f955984af28fa88e2af70958f5a87d228 (patch)
treed6b4ffc22160190b7d2c9e1745585dfa6105bad3 /src/tests/emile
parent603adee731dd92cda683b8de0bc642af25853432 (diff)
emile test - fix dtata struct init missing initted fields - warn
Diffstat (limited to 'src/tests/emile')
-rw-r--r--src/tests/emile/emile_test_base64.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/tests/emile/emile_test_base64.c b/src/tests/emile/emile_test_base64.c
index 6ddbd82849..0ffcf2acc9 100644
--- a/src/tests/emile/emile_test_base64.c
+++ b/src/tests/emile/emile_test_base64.c
@@ -15,19 +15,19 @@ static const struct {
15 unsigned int len; 15 unsigned int len;
16 Eina_Bool not; 16 Eina_Bool not;
17} base64_tests[] = { 17} base64_tests[] = {
18 { "any carnal pleasure.", "YW55IGNhcm5hbCBwbGVhc3VyZS4=", "YW55IGNhcm5hbCBwbGVhc3VyZS4", 20 }, 18 { "any carnal pleasure.", "YW55IGNhcm5hbCBwbGVhc3VyZS4=", "YW55IGNhcm5hbCBwbGVhc3VyZS4", 20, EINA_FALSE },
19 { "any carnal pleasure.", "YW55IGNhcm5hbCBwbGVhc3VyZQ==", "YW55IGNhcm5hbCBwbGVhc3VyZQ", 19 }, 19 { "any carnal pleasure.", "YW55IGNhcm5hbCBwbGVhc3VyZQ==", "YW55IGNhcm5hbCBwbGVhc3VyZQ", 19, EINA_FALSE },
20 { "any carnal pleasure.", "YW55IGNhcm5hbCBwbGVhc3Vy", "YW55IGNhcm5hbCBwbGVhc3Vy", 18 }, 20 { "any carnal pleasure.", "YW55IGNhcm5hbCBwbGVhc3Vy", "YW55IGNhcm5hbCBwbGVhc3Vy", 18, EINA_FALSE },
21 { "any carnal pleasure.", "YW55IGNhcm5hbCBwbGVhc3U=", "YW55IGNhcm5hbCBwbGVhc3U", 17 }, 21 { "any carnal pleasure.", "YW55IGNhcm5hbCBwbGVhc3U=", "YW55IGNhcm5hbCBwbGVhc3U", 17, EINA_FALSE },
22 { "any carnal pleasure.", "YW55IGNhcm5hbCBwbGVhcw==", "YW55IGNhcm5hbCBwbGVhcw", 16 }, 22 { "any carnal pleasure.", "YW55IGNhcm5hbCBwbGVhcw==", "YW55IGNhcm5hbCBwbGVhcw", 16, EINA_FALSE },
23 { "pleasure.", "cGxlYXN1cmUu", "cGxlYXN1cmUu", 9 }, 23 { "pleasure.", "cGxlYXN1cmUu", "cGxlYXN1cmUu", 9, EINA_FALSE },
24 { "leasure.", "bGVhc3VyZS4=", "bGVhc3VyZS4", 8 }, 24 { "leasure.", "bGVhc3VyZS4=", "bGVhc3VyZS4", 8, EINA_FALSE },
25 { "easure.", "ZWFzdXJlLg==", "ZWFzdXJlLg", 7 }, 25 { "easure.", "ZWFzdXJlLg==", "ZWFzdXJlLg", 7, EINA_FALSE },
26 { "asure.", "YXN1cmUu", "YXN1cmUu", 6 }, 26 { "asure.", "YXN1cmUu", "YXN1cmUu", 6, EINA_FALSE },
27 { "sure.", "c3VyZS4=", "c3VyZS4", 5 }, 27 { "sure.", "c3VyZS4=", "c3VyZS4", 5, EINA_FALSE },
28 /* The following 2 cases are manually generated for -/ testing*/ 28 /* The following 2 cases are manually generated for -/ testing*/
29 { "aabc123!?", "YWFiYzEyMyE/", "YWFiYzEyMyE_", 9 }, 29 { "aabc123!?", "YWFiYzEyMyE/", "YWFiYzEyMyE_", 9, EINA_FALSE },
30 { "abc123!?$*&()'-=@~", "YWJjMTIzIT8kKiYoKSctPUB+", "YWJjMTIzIT8kKiYoKSctPUB-", 18 } 30 { "abc123!?$*&()'-=@~", "YWJjMTIzIT8kKiYoKSctPUB+", "YWJjMTIzIT8kKiYoKSctPUB-", 18, EINA_FALSE }
31}; 31};
32 32
33EFL_START_TEST(emile_test_base64_normal) 33EFL_START_TEST(emile_test_base64_normal)