summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2016-01-22 15:23:15 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2016-01-22 15:54:27 +0900
commit7336b7ed9f9ea7c5f8b1e7ff46529ec8bf1845e4 (patch)
treede44b566e88b839af91f0b7696285c835e09e48f
parent26e74c421967eb1e9fa8016bdf81e1c597b709b6 (diff)
downloadefl-7336b7ed9f9ea7c5f8b1e7ff46529ec8bf1845e4.tar.gz
Evas filters: Re-enable transform test case, remove dead code
Now that transform is fixed, this should be reenabled.
-rw-r--r--src/tests/evas/evas_test_filters.c23
1 files changed, 0 insertions, 23 deletions
diff --git a/src/tests/evas/evas_test_filters.c b/src/tests/evas/evas_test_filters.c
index 43232e3d09..5301af859c 100644
--- a/src/tests/evas/evas_test_filters.c
+++ b/src/tests/evas/evas_test_filters.c
@@ -188,16 +188,6 @@ START_TEST(evas_filter_parser)
"White"
};
-#if 0
- // New color class defaults to black
- static const char *colors_bad[] = {
- "newcolor",
- "ABC",
- "#ZZZ",
- "#-10"
- };
-#endif
-
for (size_t c = 0; c < sizeof(colors) / sizeof(colors[0]); c++)
{
char buf[64];
@@ -205,17 +195,6 @@ START_TEST(evas_filter_parser)
CHKGOOD(buf);
}
-#if 0
- fprintf(stderr, "Evas filters tests: start invalid cases. Ignore the following ERRs.\n");
- for (size_t c = 0; c < sizeof(colors_bad) / sizeof(colors_bad[0]); c++)
- {
- char buf[64];
- sprintf(buf, "blend { color = '%s' }", colors_bad[c]);
- CHKBAAD(buf);
- }
- fprintf(stderr, "Evas filters tests: end of invalid cases.\n");
-#endif
-
// fillmodes are parsed when converting from instructions to commands
}
END_TEST
@@ -277,11 +256,9 @@ static struct Filter_Test_Case _test_cases[] = {
{ 7, 7, 7, 7, "a = buffer ({ 'rgba' }) b = buffer ({ 'rgba' }) blend ({ dst = b, color = '#330' }) blend ({ dst = a }) displace ({ map = b, src = a, intensity = 7, flags = 'smooth_stretch' })", NULL },
/* FIXME Fix transform filter!!! FIXME */
-#if 0
{ 0, 0, 0, 40, "a = buffer ({ 'alpha' }) transform ({ a, 'vflip', oy = 20 }) blend ({ src = a })", NULL },
{ 0, 0, 40, 0, "a = buffer ({ 'alpha' }) transform ({ a, 'vflip', oy = -20 }) blend ({ src = a })", NULL },
{ 0, 0, 0, 40, "a = buffer ({ 'alpha' }) blend ({ dst = a }) transform ({ a, 'vflip', oy = 20, src = a }) blend ({ src = a })", NULL },
-#endif
// Filter combos. TODO: Add some more tricky cases : })
{ 3, 5, 7, 11, "blend ({ ox = -3, oy = 11 }) blend ({ ox = 5, oy = -7 })", NULL },