Searched refs:getMatchedRules (Results 1 – 4 of 4) sorted by relevance
102 assertThat(result.getMatchedRules()).containsExactly(rule1); in testEvaluateRules_oneMatch_deny()132 assertThat(result.getMatchedRules()).containsExactly(rule1, rule2); in testEvaluateRules_multipleMatches_deny()151 assertThat(result.getMatchedRules()).containsExactly(rule); in testEvaluateRules_ruleWithNot_deny()166 assertThat(result.getMatchedRules()).containsExactly(rule); in testEvaluateRules_ruleWithIntegerOperators_deny()189 assertThat(result.getMatchedRules()).containsExactly(rule); in testEvaluateRules_validForm_deny()212 assertThat(result.getMatchedRules()).containsExactly(rule); in testEvaluateRules_orRules()237 assertThat(result.getMatchedRules()).containsExactly(rule); in testEvaluateRules_compoundFormulaWithNot_deny()267 assertThat(result.getMatchedRules()).containsExactly(rule1); in testEvaluateRules_forceAllow()297 assertThat(result.getMatchedRules()).containsExactly(rule1, rule2); in testEvaluateRules_multipleMatches_forceAllow()
53 public List<Rule> getMatchedRules() { in getMatchedRules() method in IntegrityCheckResult91 } else if (getEffect() == Effect.ALLOW && getMatchedRules().isEmpty()) { in getLoggingResponse()93 } else if (getEffect() == Effect.ALLOW && !getMatchedRules().isEmpty()) { in getLoggingResponse()
42 assertThat(allowResult.getMatchedRules()).isEmpty(); in createAllowResult()60 assertThat(allowResult.getMatchedRules()).containsExactly(forceAllowRule); in createAllowResultWithRule()79 assertThat(denyResult.getMatchedRules()).containsExactly(failedRule); in createDenyResultWithRule()
340 if (!result.getMatchedRules().isEmpty() || DEBUG_INTEGRITY_COMPONENT) { in handleIntegrityVerification()345 packageName, result.getEffect(), result.getMatchedRules())); in handleIntegrityVerification()