Class BaseTestCase
java.lang.Object
org.jmock.AbstractExpectations
org.jmock.Expectations
org.opendaylight.lispflowmapping.tools.junit.BaseExpectations
org.opendaylight.lispflowmapping.tools.junit.BaseTestCase
- All Implemented Interfaces:
org.jmock.internal.ExpectationBuilder,org.jmock.syntax.ActionClause,org.jmock.syntax.ArgumentConstraintPhrases,org.jmock.syntax.CardinalityClause
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static final classprotected classNested classes/interfaces inherited from class org.opendaylight.lispflowmapping.tools.junit.BaseExpectations
BaseExpectations.ReturnField, BaseExpectations.StringArrayMatcher, BaseExpectations.ValueSaverAction<T> -
Field Summary
FieldsFields inherited from class org.opendaylight.lispflowmapping.tools.junit.BaseExpectations
context, showAllExpectationsFields inherited from class org.jmock.AbstractExpectations
with -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected InetAddressasInet(int intValue) protected static voidassertHexEquals(byte expected, byte actual) protected static voidassertHexEquals(short expected, short actual) static voidassertNotNull(Object object) static voidassertNotNull(String message, Object object) static voidassertNotSame(Object unexpected, Object actual) static voidassertNotSame(String message, Object unexpected, Object actual) static voidassertNull(Object object) static voidassertNull(Object message, Object object) static voidassertSame(Object expected, Object actual) static voidassertSame(String message, Object expected, Object actual) static voidfail()static voidprotected static ByteBufferhexToByteBuffer(String hex) protected Objectprotected Objectinject(Object testedObject, BaseTestCase.FieldData fieldData) protected ObjectinjectStatic(Class<?> clazz, String memberName, Object member) Methods inherited from class org.opendaylight.lispflowmapping.tools.junit.BaseExpectations
after, atLeast, atMost, before, between, contains, doseNotContain, exactly, getCurrentBuilder, ret, retField, rethrow, retMethod, rets, returnValues, sameArbitraryArray, wany, wanybool, wanyint, wanylong, weq, weq, weq, weq, weq, wsame, wStrArrMethods inherited from class org.jmock.Expectations
with, with, with, with, with, with, with, withMethods inherited from class org.jmock.AbstractExpectations
a, addParameterMatcher, allowing, allowing, an, aNonNull, aNull, any, anything, buildExpectations, currentBuilder, doAll, equal, ignoring, ignoring, inSequence, inSequences, never, onConsecutiveCalls, one, oneOf, returnEnumeration, returnEnumeration, returnIterator, returnIterator, returnValue, same, then, throwException, when, will, with, with, with, with, with, with, with, with, with, with
-
Field Details
-
LOG
protected static final org.slf4j.Logger LOG
-
-
Constructor Details
-
BaseTestCase
public BaseTestCase()
-
-
Method Details
-
asInet
-
fail
-
fail
public static void fail() -
assertNotNull
-
assertNotNull
-
assertNull
-
assertNull
-
assertSame
-
assertSame
-
assertNotSame
-
assertNotSame
-
inject
- Throws:
Exception
-
inject
-
injectStatic
- Throws:
Exception
-
hexToByteBuffer
-
assertHexEquals
protected static void assertHexEquals(short expected, short actual) -
assertHexEquals
protected static void assertHexEquals(byte expected, byte actual)
-