@PrepareForTest(value={ServiceRunner.class,LogUtils.class})
@PowerMockIgnore(value={"javax.crypto.*","javax.management.*"})
public class OpenXAdapterSpec
extends Object
| Modifier and Type | Field and Description |
|---|---|
(package private) Lot49Config |
configMock |
private ServiceRunner |
serviceRunnerSimpleMock |
private AuctionsSvc |
svc |
| Constructor and Description |
|---|
OpenXAdapterSpec() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkExchangeTargeting_negativeTest_bannerExtIsEmpty() |
void |
checkExchangeTargeting_negativeTest_noBannerOrVideoExt() |
void |
checkExchangeTargeting_negativeTest_noBannerOrVideoInImp() |
void |
checkExchangeTargeting_positiveTest_bannerExtContainsEmptyListOfMatchingAdIds() |
void |
checkExchangeTargeting_positiveTest_matchingAds() |
void |
convertResponse_negativeTest_requestImpIsEmpty() |
void |
convertResponse_negativeTest_requestImpIsNull() |
void |
convertResponse_positiveTest_Banner() |
void |
convertResponse_positiveTest_CustomUserData_cases() |
void |
convertResponse_positiveTest_CustomUserData() |
void |
convertResponse_positiveTest_isTest() |
void |
convertResponse_positiveTest_noEmptyUser() |
void |
convertResponse_positiveTest() |
void |
setUp() |
Iterable<String[]> |
testData() |
private ServiceRunner serviceRunnerSimpleMock
private AuctionsSvc svc
Lot49Config configMock
public void convertResponse_negativeTest_requestImpIsNull()
throws Lot49Exception
Lot49Exceptionpublic void convertResponse_negativeTest_requestImpIsEmpty()
throws Lot49Exception,
Throwable
Lot49ExceptionThrowablepublic void convertResponse_positiveTest()
throws Lot49Exception,
Throwable
Lot49ExceptionThrowablepublic void convertResponse_positiveTest_noEmptyUser()
throws Lot49Exception,
Throwable
Lot49ExceptionThrowablepublic void convertResponse_positiveTest_CustomUserData()
throws Lot49Exception,
Throwable
Lot49ExceptionThrowablepublic void convertResponse_positiveTest_CustomUserData_cases()
throws Lot49Exception,
Throwable
Lot49ExceptionThrowablepublic void convertResponse_positiveTest_Banner()
throws Lot49Exception,
Throwable
Lot49ExceptionThrowablepublic void convertResponse_positiveTest_isTest()
throws Lot49Exception,
Throwable
Lot49ExceptionThrowablepublic void checkExchangeTargeting_negativeTest_noBannerOrVideoInImp()
throws Lot49Exception,
Throwable
Lot49ExceptionThrowablepublic void checkExchangeTargeting_negativeTest_noBannerOrVideoExt()
throws Lot49Exception,
Throwable
Lot49ExceptionThrowablepublic void checkExchangeTargeting_negativeTest_bannerExtIsEmpty()
throws Lot49Exception,
Throwable
Lot49ExceptionThrowablepublic void checkExchangeTargeting_positiveTest_bannerExtContainsEmptyListOfMatchingAdIds()
throws Lot49Exception,
Throwable
Lot49ExceptionThrowablepublic void checkExchangeTargeting_positiveTest_matchingAds()
throws Lot49Exception,
Throwable
Lot49ExceptionThrowable