public class PercentAndConstantTimeoutStrategy extends Object implements TimeoutLengthStrategy
Modifier and Type | Field and Description |
---|---|
static long |
DEFAULT_CONSTANT |
static float |
DEFAULT_FACTOR |
Constructor and Description |
---|
PercentAndConstantTimeoutStrategy(float percent,
long constant) |
Modifier and Type | Method and Description |
---|---|
long |
getAllowedTime(long normalDuration) |
public static final float DEFAULT_FACTOR
public static final long DEFAULT_CONSTANT
public PercentAndConstantTimeoutStrategy(float percent, long constant)
public long getAllowedTime(long normalDuration)
getAllowedTime
in interface TimeoutLengthStrategy
Copyright © 2021 org.pitest. All rights reserved.