(name string, age int)
| 153 | } |
| 154 | |
| 155 | func newTestSubject(name string, age int) testSub { |
| 156 | s := testSub{} |
| 157 | s.Name = name |
| 158 | s.Age = age |
| 159 | return s |
| 160 | } |
| 161 | |
| 162 | func TestABACNotUsingPolicy(t *testing.T) { |
| 163 | e, _ := NewEnforcer("examples/abac_not_using_policy_model.conf", "examples/abac_rule_effect_policy.csv") |
no outgoing calls
no test coverage detected
searching dependent graphs…