3 * Copyright (c) 2015 Nest Labs, Inc.
6 * This document is the property of Nest. It is considered
7 * confidential and proprietary information.
9 * This document may not be reproduced or transmitted in any form,
10 * in whole or in part, without the express written permission of
17 * This file defines configuration mnemonics that can be enabled
18 * or disabled to effect different test configurations for the
19 * runtime assertion library.
23 #ifndef NLASSSERT_TEST_CONFIG_H
24 #define NLASSSERT_TEST_CONFIG_H
27 * @def NL_ASSERT_TEST_WANT_STATIC_SUCCESS
33 #ifndef NL_ASSERT_TEST_WANT_STATIC_SUCCESS
34 #define NL_ASSERT_TEST_WANT_STATIC_SUCCESS 1
38 * @def NL_ASSERT_TEST_WANT_PRODUCTION
44 #ifndef NL_ASSERT_TEST_WANT_PRODUCTION
45 #define NL_ASSERT_TEST_WANT_PRODUCTION 0
49 * @def NL_ASSERT_TEST_WANT_DEFAULTS
55 #ifndef NL_ASSERT_TEST_WANT_DEFAULTS
56 #define NL_ASSERT_TEST_WANT_DEFAULTS 0
60 * @def NL_ASSERT_TEST_WANT_ABORT
63 * Enable (1) or disable (0) a test harness-specific override for
66 * Enabling this enables tests to ensure that abort functionality
70 #ifndef NL_ASSERT_TEST_WANT_ABORT
71 #define NL_ASSERT_TEST_WANT_ABORT 1
75 * @def NL_ASSERT_TEST_WANT_LOG
83 #ifndef NL_ASSERT_TEST_WANT_LOG
84 #define NL_ASSERT_TEST_WANT_LOG 0
88 * @def NL_ASSERT_TEST_WANT_BACKTRACE
91 * Enable (1) or disable (0) a test harness-specific override for
92 * #NL_ASSERT_BACKTRACE().
94 * Enabling this enables tests to ensure that backtrace functionality
98 #ifndef NL_ASSERT_TEST_WANT_BACKTRACE
99 #define NL_ASSERT_TEST_WANT_BACKTRACE 0
103 * @def NL_ASSERT_TEST_WANT_TRAP
106 * Enable (1) or disable (0) a test harness-specific override for
109 * Enabling this enables tests to ensure that trap functionality
113 #ifndef NL_ASSERT_TEST_WANT_TRAP
114 #define NL_ASSERT_TEST_WANT_TRAP 0
117 #endif /* NLASSSERT_TEST_CONFIG_H */