public class DebouncerTests
extends java.lang.Object
| Constructor and Description | 
|---|
DebouncerTests()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
testCallsAboveGracePeriod()
Successive calls are away enough, all of them should be done. 
 | 
void | 
testCallsAboveGracePeriodWithNoDebounceFirstMode()
NoDebounceFirst is on: the first call should always be done. 
 | 
void | 
testCallsBellowGracePeriod()
Successive calls are too close, only the last one should be done. 
 | 
void | 
testCallsBellowGracePeriodWithNoDebounceFirstMode()
NoDebounceFirst is on: the first call should always be done. 
 | 
void | 
testCallsWithDifferentIds()
Calls with different debounce keys should not interfere with each other. 
 | 
void | 
testCallsWithDifferentIdsWithNoDebounceFirstMode()
NoDebounceFirst is on: the first call should always be done. 
 | 
public void testCallsBellowGracePeriod()
public void testCallsBellowGracePeriodWithNoDebounceFirstMode()
public void testCallsAboveGracePeriod()
public void testCallsAboveGracePeriodWithNoDebounceFirstMode()
public void testCallsWithDifferentIds()
public void testCallsWithDifferentIdsWithNoDebounceFirstMode()
Copyright © 2023. All Rights Reserved.