aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/efl_mono/libefl_mono_native_test.c
diff options
context:
space:
mode:
authorLauro Moura <lauromoura@expertisesolutions.com.br>2018-01-22 18:13:32 -0300
committerLauro Moura <lauromoura@expertisesolutions.com.br>2018-01-25 15:27:05 -0300
commitcf03e3576670ac49fab6965a17609cbcfc1e96eb (patch)
treeb6af2539d539f277361814421698a0010f2a1b4d /src/tests/efl_mono/libefl_mono_native_test.c
parenteolian_mono: Add underlying pointer to ToString (diff)
downloadefl-cf03e3576670ac49fab6965a17609cbcfc1e96eb.tar.gz
efl_mono: Remove unneeded code from tests
Diffstat (limited to 'src/tests/efl_mono/libefl_mono_native_test.c')
-rw-r--r--src/tests/efl_mono/libefl_mono_native_test.c66
1 files changed, 0 insertions, 66 deletions
diff --git a/src/tests/efl_mono/libefl_mono_native_test.c b/src/tests/efl_mono/libefl_mono_native_test.c
index e3543fc20b..f96666380b 100644
--- a/src/tests/efl_mono/libefl_mono_native_test.c
+++ b/src/tests/efl_mono/libefl_mono_native_test.c
@@ -3248,46 +3248,6 @@ Eina_Bool check_and_modify_struct_simple(Test_StructSimple *simple)
}
static
-Eina_Bool check_zeroed_struct_simple(Test_StructSimple *simple)
-{
- Eina_Bool ret =
- simple->fbyte == 0
- && simple->fubyte == 0
- && simple->fchar == '\0'
- && simple->fshort == 0
- && simple->fushort == 0
- && simple->fint == 0
- && simple->fuint == 0
- && simple->flong == 0
- && simple->fulong == 0
- && simple->fllong == 0
- && simple->fullong == 0
- && simple->fint8 == 0
- && simple->fuint8 == 0
- && simple->fint16 == 0
- && simple->fuint16 == 0
- && simple->fint32 == 0
- && simple->fuint32 == 0
- && simple->fint64 == 0
- && simple->fuint64 == 0
- && simple->fssize == 0
- && simple->fsize == 0
- && simple->fintptr == 0x00
- && simple->fptrdiff == 0
- && simple->ffloat == 0
- && simple->fdouble == 0
- && simple->fbool == EINA_FALSE
- && simple->fvoid_ptr == NULL
- && simple->fenum == TEST_SAMPLEENUM_V0
- && simple->fstring == NULL
- && simple->fmstring == NULL
- && simple->fstringshare == NULL
- ;
-
- return ret;
-}
-
-static
void struct_complex_with_values(Test_StructComplex *complex)
{
complex->farray = eina_array_new(4);
@@ -3374,32 +3334,6 @@ Eina_Bool check_and_modify_struct_complex(Test_StructComplex *complex)
return EINA_TRUE;
}
-static
-Eina_Bool check_zeroed_struct_complex(Test_StructComplex *complex)
-{
- Eina_Bool ret =
- complex->farray == NULL
- && complex->finarray == NULL
- && complex->flist == NULL
- && complex->finlist == NULL
- && complex->fhash == NULL
- && complex->fiterator == NULL
-
- && complex->fany_value.type == NULL
- && complex->fany_value.value._guarantee == 0
-
- && complex->fany_value_ptr == NULL
- && complex->fbinbuf == NULL
-
- && complex->fslice.len == 0
- && complex->fslice.mem == NULL
-
- && complex->fobj == NULL
- ;
-
- return ret;
-}
-
// with simple types
EOLIAN