aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2019-02-12 22:01:52 +0100
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2019-02-12 22:01:52 +0100
commit0942febae727ed4fdc5d8fdac04c0a181143c0ed (patch)
tree04e032891577640c66b3f8ee7d0e6b377826229c
parentRevert "Revert command line array object because it's broken by design" (diff)
downloadefl-devs/bu5hm4n/raster_usecase.tar.gz
-rw-r--r--src/tests/ecore/efl_app_test_env.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/tests/ecore/efl_app_test_env.c b/src/tests/ecore/efl_app_test_env.c
index 63bad166a2..a054524728 100644
--- a/src/tests/ecore/efl_app_test_env.c
+++ b/src/tests/ecore/efl_app_test_env.c
@@ -124,6 +124,19 @@ EFL_START_TEST(efl_core_env_test_undepend_fork)
}
EFL_END_TEST
+EFL_START_TEST(rasters_usecase)
+{
+ Efl_Core_Env *env = efl_env_self(EFL_CORE_PROC_ENV_CLASS);
+
+ ck_assert(env);
+
+ ck_assert_ptr_eq(efl_core_env_get(env, "BLAH"), NULL);
+ putenv("BLAH=10");
+ ck_assert_str_eq(efl_core_env_get(env, "BLAH"), "10");
+ efl_unref(env);
+}
+EFL_END_TEST
+
void efl_test_efl_env(TCase *tc)
{
tcase_add_test(tc, efl_core_env_test_set_get);
@@ -132,4 +145,5 @@ void efl_test_efl_env(TCase *tc)
tcase_add_test(tc, efl_core_env_test_fork);
tcase_add_test(tc, efl_core_env_test_process);
tcase_add_test(tc, efl_core_env_test_undepend_fork);
+ tcase_add_test(tc, rasters_usecase);
}