MCPcopy Create free account
hub / github.com/cedar-policy/cedar-java / policy_effect_tests

Function policy_effect_tests

CedarJavaFFI/src/interface.rs:1175–1179  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1173
1174 #[test]
1175 fn policy_effect_tests() {
1176 let mut env = JVM.attach_current_thread().unwrap();
1177 policy_effect_test_util(&mut env, "permit(principal,action,resource);", "permit");
1178 policy_effect_test_util(&mut env, "forbid(principal,action,resource);", "forbid");
1179 }
1180 #[test]
1181 fn policy_effect_jni_internal_null() {
1182 let mut env = JVM.attach_current_thread().unwrap();

Callers

nothing calls this directly

Calls 1

policy_effect_test_utilFunction · 0.85

Tested by

no test coverage detected