Package com.linkedin.venice.utils
Class VeniceEnumValueTest<T extends VeniceEnumValue>
- java.lang.Object
-
- com.linkedin.venice.utils.VeniceEnumValueTest<T>
-
- Type Parameters:
T
- the enum class under test
public abstract class VeniceEnumValueTest<T extends VeniceEnumValue> extends java.lang.Object
Abstract class which makes it as easy as possible to generically test all the assumptions for enums which implement theVeniceEnumValue
interface. Subclasses only need to implement the constructor and the abstract function.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
VeniceEnumValueTest(java.lang.Class<T> enumClass)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract java.util.Map<java.lang.Integer,T>
expectedMapping()
void
test()
-