aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Schmidt <s.schmidt@samsung.com>2019-09-17 12:48:25 +0200
committerStefan Schmidt <s.schmidt@samsung.com>2019-09-17 12:48:25 +0200
commitf3cfcd8849dc4a7eb04418fcf34d0e4faa3f4aea (patch)
tree0009b8a013b648736602bdde203b4b4ee06edde0
parentRevert "eina - value - test - cats warnings on 32bit to get some silence" (diff)
downloadefl-devs/stefan/travis-i386.tar.gz
Revert "eina: add tests for the new Eina_Value convert functions."devs/stefan/travis-i386
-rw-r--r--src/tests/eina/eina_test_value.c24
1 files changed, 0 insertions, 24 deletions
diff --git a/src/tests/eina/eina_test_value.c b/src/tests/eina/eina_test_value.c
index a9e6e47de2..3ab9df1827 100644
--- a/src/tests/eina/eina_test_value.c
+++ b/src/tests/eina/eina_test_value.c
@@ -55,8 +55,6 @@ EFL_START_TEST(eina_value_test_simple)
fail_unless(c == 'x');
fail_unless(eina_value_char_get(value, &c));
fail_if(eina_value_double_get(value, &d));
- fail_unless(eina_value_int64_convert(value, &i64));
- fail_unless(i64 == 'x');
fail_unless(c == 'x');
eina_value_flush(value);
@@ -66,8 +64,6 @@ EFL_START_TEST(eina_value_test_simple)
fail_unless(s == 300);
fail_unless(eina_value_short_get(value, &s));
fail_if(eina_value_char_get(value, &c));
- fail_unless(eina_value_int_convert(value, &i));
- fail_unless(i == 300);
fail_unless(s == 300);
eina_value_flush(value);
@@ -77,8 +73,6 @@ EFL_START_TEST(eina_value_test_simple)
fail_unless(i == -12345);
fail_unless(eina_value_int_get(value, &i));
fail_if(eina_value_short_get(value, &s));
- fail_unless(eina_value_long_convert(value, &l));
- fail_unless(l == -12345);
fail_unless(i == -12345);
eina_value_flush(value);
@@ -88,8 +82,6 @@ EFL_START_TEST(eina_value_test_simple)
fail_unless(l == 0xb33f);
fail_unless(eina_value_long_get(value, &l));
fail_if(eina_value_int_get(value, &i));
- fail_unless(eina_value_int_convert(value, &i));
- fail_unless(i == 0xb33f);
fail_unless(l == 0xb33f);
eina_value_flush(value);
@@ -99,8 +91,6 @@ EFL_START_TEST(eina_value_test_simple)
fail_unless(i64 == 0x0011223344556677);
fail_unless(eina_value_int64_get(value, &i64));
fail_if(eina_value_long_get(value, &l));
- fail_unless(eina_value_long_convert(value, &l));
- fail_unless(l == 0x0011223344556677);
fail_unless(i64 == 0x0011223344556677);
eina_value_flush(value);
@@ -112,8 +102,6 @@ EFL_START_TEST(eina_value_test_simple)
fail_unless(uc == 200);
fail_unless(eina_value_uchar_get(value, &uc));
fail_if(eina_value_int64_get(value, &i64));
- fail_unless(eina_value_uint64_convert(value, &u64));
- fail_unless(u64 == 200);
fail_unless(uc == 200);
eina_value_flush(value);
@@ -123,8 +111,6 @@ EFL_START_TEST(eina_value_test_simple)
fail_unless(us == 65535);
fail_unless(eina_value_ushort_get(value, &us));
fail_if(eina_value_uchar_get(value, &uc));
- fail_unless(eina_value_uint_convert(value, &ui));
- fail_unless(ui == 65535);
fail_unless(us == 65535);
eina_value_flush(value);
@@ -134,8 +120,6 @@ EFL_START_TEST(eina_value_test_simple)
fail_unless(ui == 4000000000U);
fail_unless(eina_value_uint_get(value, &ui));
fail_if(eina_value_ushort_get(value, &us));
- fail_unless(eina_value_ulong_convert(value, &ul));
- fail_unless(ul == 4000000000U);
fail_unless(ui == 4000000000U);
eina_value_flush(value);
@@ -145,8 +129,6 @@ EFL_START_TEST(eina_value_test_simple)
fail_unless(ul == 3000000001UL);
fail_unless(eina_value_ulong_get(value, &ul));
fail_if(eina_value_uint_get(value, &ui));
- fail_unless(eina_value_uint64_convert(value, &u64));
- fail_unless(u64 == 3000000001UL);
fail_unless(ul == 3000000001UL);
eina_value_flush(value);
@@ -156,8 +138,6 @@ EFL_START_TEST(eina_value_test_simple)
fail_unless(u64 == 0x1122334455667788);
fail_unless(eina_value_uint64_get(value, &u64));
fail_if(eina_value_ulong_get(value, &ul));
- fail_unless(eina_value_ulong_convert(value, &ul));
- fail_unless(ul == 0x1122334455667788);
fail_unless(u64 == 0x1122334455667788);
eina_value_flush(value);
@@ -168,8 +148,6 @@ EFL_START_TEST(eina_value_test_simple)
fail_unless(CHECK_FP(0.1234, f));
fail_unless(eina_value_float_get(value, &f));
fail_if(eina_value_uint64_get(value, &u64));
- fail_unless(eina_value_double_convert(value, &d));
- fail_unless(CHECK_FP(0.1234, d));
fail_unless(CHECK_FP(0.1234, f));
eina_value_flush(value);
@@ -179,9 +157,7 @@ EFL_START_TEST(eina_value_test_simple)
fail_unless(CHECK_FP(34567.8, d));
fail_unless(eina_value_double_get(value, &d));
fail_if(eina_value_float_get(value, &f));
- fail_unless(eina_value_float_convert(value, &f));
fail_unless(CHECK_FP(34567.8, d));
- fail_unless(CHECK_FP(34567.8, f));
eina_value_flush(value);
eina_value_free(value);