All Methods Instance Methods Concrete Methods
Modifier and Type |
Method and Description |
private void |
configAdMock(Ad adMock,
List<Tag> tags) |
private void |
configMocks(String host,
Ad[] allAds,
String exchangeName,
boolean isNurlRequired) |
private void |
configMocksForAdaptvAdapter() |
private void |
configServletRequestMock(String exchangeName,
String macroType,
String macroKey,
String macroVal) |
private void |
configTagMock(Tag tagMock,
boolean isBanner,
Bid bid) |
private Bid |
createBid(String id,
String impId,
String adId) |
private ExchangeAdapter<?,?> |
createExchangeAdapterMock(String exchangeName,
org.mockito.stubbing.Answer<Object> defaultAnswer,
boolean isNurlRequired) |
void |
negativeFlow_throwsExceptionIfAdNotFound() |
void |
negativeFlow_throwsExceptionIfErrorOccursInConvertResponse() |
void |
negativeFlow_throwsExceptionIfExchangeAdapterNotFound() |
void |
negativeFlow_throwsExceptionIfExchangeIsNull() |
void |
negativeFlow_throwsExceptionIfResponseTypeIsFullJsonAndErrorOccursInWriteValueAsString() |
void |
negativeFlow_throwsExceptionIfResponseTypeIsTagContainerAndTagIsVideoAndBaseUrlIsBad() |
void |
negativeFlow_throwsExceptionIfResponseTypeIsUnknown() |
void |
negativeFlow_throwsExceptionIfTagNotFound() |
void |
positiveFlow_avoidsHangProgramWithSomeCombinationsOfMacro() |
void |
positiveFlow_returnsExpectedResponseIfResponseTypeIsFullJsonAndConvertResponseReturnsString() |
void |
positiveFlow_returnsExpectedResponseIfTagIsBanner(String responseType) |
void |
positiveFlow_returnsExpectedResponseIfTagIsVideo(String responseType) |
void |
setUp() |
void |
tearDown() |
private void |
testDebug2(boolean isBanner,
String exchangeName,
boolean isNurlRequired) |
private void |
testDebug2(boolean isBanner,
String exchangeName,
boolean isNurlRequired,
String responseType,
String actionType) |