aboutsummaryrefslogtreecommitdiff
path: root/tools/aconfig/aconfig/tests/aconfig_force_read_only_mode_test.rs
blob: 4f05e26add352ecb4ea359db69bff96011294e57 (plain)
1
2
3
4
5
6
7
8
9
10
#[cfg(not(feature = "cargo"))]
#[test]
fn test_flags() {
    assert!(!aconfig_test_rust_library::disabled_ro());
    assert!(!aconfig_test_rust_library::disabled_rw());
    assert!(!aconfig_test_rust_library::disabled_rw_in_other_namespace());
    assert!(aconfig_test_rust_library::enabled_fixed_ro());
    assert!(aconfig_test_rust_library::enabled_ro());
    assert!(aconfig_test_rust_library::enabled_rw());
}