| 1 | #cxx . . $ `<file>/tests/environment_variables_tests.c`/define _POSIX_C_SOURCEcxx . . $ `tests/environment_variables_tests.c:1:9`! 200809L |
| 2 | #include <cgreen/cgreen.h>cxx . . $ `<file>/include/cgreen/cgreen.h`/ |
| 3 | |
| 4 | /* TODO: are these include necessary? */ |
| 5 | #include <stdio.h> |
| 6 | #include <unistd.h> |
| 7 | #include <stdlib.h> |
| 8 | |
| 9 | |
| 10 | #ifdef __cpluspluscxx . . $ `<built-in>:440:9`! |
| 11 | using namespace cgreen; |
| 12 | #endif |
| 13 | |
| 14 | Describecxx . . $ Dummy_EnvironmentVariables#x.(EnvironmentVariables); |
| 15 | BeforeEachcxx . . $ BeforeEach_For_EnvironmentVariables.(EnvironmentVariables) { setenvcxx . . $ setenv(f0be30763a490cce).("TEST", "test", truecxx . . $ `<external>/13015445228558014418/stdbool.h:37:9`!); } |
| 16 | AfterEachcxx . . $ `include/cgreen/unit.h:18:9`!(EnvironmentVariables) {} |
| 17 | |
| 18 | Ensurecxx . . $ CgreenSpec__EnvironmentVariables__set_in_before_each_should_be_set_in_test__.(EnvironmentVariables, set_in_before_each_should_be_set_in_test) { |
| 19 | assert_thatcxx . . $ cgreen/(getenv("TEST"), is_equal_to_stringcxx . . $ `include/cgreen/constraint_syntax_helpers.h:41:9`!("test")); |
| 20 | } |