Searched refs:TIMEOUT_IN_MILLISECONDS (Results 1 – 1 of 1) sorted by relevance
34 private static final int TIMEOUT_IN_MILLISECONDS = 500; field in AsyncResultHolderTests57 final int resultValue = holder.get(DEFAULT_VALUE, TIMEOUT_IN_MILLISECONDS); in testGetWithoutSet()64 setAfterGivenTime(holder, SET_VALUE, TIMEOUT_IN_MILLISECONDS + MARGIN_IN_MILLISECONDS); in testGetBeforeSet()65 final int resultValue = holder.get(DEFAULT_VALUE, TIMEOUT_IN_MILLISECONDS); in testGetBeforeSet()73 final int resultValue = holder.get(DEFAULT_VALUE, TIMEOUT_IN_MILLISECONDS); in testGetAfterSet()80 setAfterGivenTime(holder, SET_VALUE, TIMEOUT_IN_MILLISECONDS - MARGIN_IN_MILLISECONDS); in testGetBeforeTimeout()81 final int resultValue = holder.get(DEFAULT_VALUE, TIMEOUT_IN_MILLISECONDS); in testGetBeforeTimeout()