Home
last modified time | relevance | path

Searched refs:InitConfig (Results 1 – 1 of 1) sorted by relevance

/bionic/libc/malloc_debug/tests/
Dmalloc_debug_config_tests.cpp36 bool InitConfig(const char* options) { in InitConfig() function in MallocDebugConfigTest
48 ASSERT_FALSE(InitConfig("unknown_option")); in TEST_F()
56 ASSERT_FALSE(InitConfig("backtrace unknown_option")); in TEST_F()
64 ASSERT_FALSE(InitConfig("backtrace=XXX")); in TEST_F()
72 ASSERT_FALSE(InitConfig("backtrace=0")); in TEST_F()
81 ASSERT_FALSE(InitConfig("backtrace=10front_guard")); in TEST_F()
91 ASSERT_FALSE(InitConfig("backtrace=-1")); in TEST_F()
101 ASSERT_FALSE(InitConfig("backtrace=99999999999999999999")); in TEST_F()
111 ASSERT_FALSE(InitConfig("leak_track=12")); in TEST_F()
121 ASSERT_TRUE(InitConfig("backtrace =10")) << getFakeLogPrint(); in TEST_F()
[all …]