Searched refs:shouldTriggerBlock (Results 1 – 4 of 4) sorted by relevance
34 assertFalse(ci.shouldTriggerBlock()); in testNoResultNoBlock()46 assertFalse(ci.shouldTriggerBlock()); in testNoStreakNoBlock()61 assertFalse(ci.shouldTriggerBlock()); in testNoStreakNoBlock_breakStreak()73 assertTrue(ci.shouldTriggerBlock()); in testStreakBlock()86 assertFalse(ci.shouldTriggerBlock()); in testRatio_NoBlockEvenWithStreak()132 assertTrue(ci.shouldTriggerBlock()); in testUpdateThresholds_streakLimitsCorrectlyApplied()133 assertFalse(ci2.shouldTriggerBlock()); in testUpdateThresholds_streakLimitsCorrectlyApplied()158 assertFalse(ci.shouldTriggerBlock()); in testUpdateThresholds_ratioLimitsCorrectlyApplied()159 assertTrue(ci2.shouldTriggerBlock()); in testUpdateThresholds_ratioLimitsCorrectlyApplied()
440 assertEquals(false, ci.shouldTriggerBlock()); in testSettingsProviderUpdate()450 assertEquals(true, ci.shouldTriggerBlock()); in testSettingsProviderUpdate()
296 boolean shouldTriggerBlock;301 shouldTriggerBlock = ci.shouldTriggerBlock();303 if (ranking.getImportance() > IMPORTANCE_MIN && shouldTriggerBlock) {
111 public boolean shouldTriggerBlock() { in shouldTriggerBlock() method in ChannelImpressions