@PrepareForTest(value={ServiceRunner.class,LogUtils.class,BidCandidateManager.class,TargetingIntegral.class})
@PowerMockIgnore(value={"javax.crypto.*","javax.management.*"})
public class BidCandidateManagerSpec
extends Object
| Modifier and Type | Class and Description |
|---|---|
private class |
BidCandidateManagerSpec.Ad_1001001_fake2 |
| Modifier and Type | Field and Description |
|---|---|
private Ad |
adMock |
private BidCandidate |
bc |
private BidCandidateManager |
bcmSpy |
private OpenRtbRequest |
req |
private OpenRtbResponse |
resp |
private ServiceRunner |
serviceRunnerSimpleMock |
| Constructor and Description |
|---|
BidCandidateManagerSpec() |
private ServiceRunner serviceRunnerSimpleMock
private BidCandidate bc
private BidCandidateManager bcmSpy
private OpenRtbRequest req
private OpenRtbResponse resp
private Ad adMock
public void negativeFlow_minimalConditionsForRun()
throws Lot49Exception
Lot49Exceptionpublic void negativeFlow_declaredButNoRealBids()
throws Lot49Exception
Lot49Exceptionpublic void negativeFlow_setBids_EmptySeatBid()
public void positiveFlow_setBids_AdaptvAdapter_0candidates()
public void positiveFlow_setBids_AdaptvAdapter_1candidates()
throws Lot49Exception
Lot49Exceptionpublic void negativeFlow_setBids_UserDataNotReceived()
throws Lot49Exception,
InterruptedException,
ExecutionException
public void positiveFlow_setBids_UserDataReceived()
throws Lot49Exception,
InterruptedException,
ExecutionException
public void negativeFlow_setBids_UserInfoFutureInterruptedException()
throws Lot49Exception,
InterruptedException,
ExecutionException
public void negativeFlow_setBids_FcDataNotReceived()
throws Lot49Exception,
InterruptedException,
ExecutionException
public void positiveFlow_setBids_FcDataReceived()
throws Lot49Exception,
InterruptedException,
ExecutionException
public void negativeFlow_setBids_UserAttributesFutureException()
throws Lot49Exception,
InterruptedException,
ExecutionException
public void negativeFlow_setBids_OptOut_someDataNotReceived()
throws Lot49Exception,
InterruptedException,
ExecutionException
public void positiveFlow_setBids_experimentInfoCompleted()
throws Lot49Exception,
InterruptedException,
ExecutionException
public void negativeFlow_setBids_experimentInfoCompleted_UserAttributesFutureException()
throws Lot49Exception,
InterruptedException,
ExecutionException
public void positiveFlow_setBids_integralCompleted()
throws Lot49Exception,
InterruptedException,
ExecutionException
public void positiveFlow_setBids_adTargetingIntegralNotNull()
throws Exception
Exceptionpublic void positiveFlow_setBids_adTargetingIntegralNotNullButNotValid()
throws Exception
Exceptionpublic void positiveFlow_setBids_adTargetingIntegralIsTraq()
throws Exception
Exceptionpublic void positiveFlow_setBids_adTargetingIntegralIsTraq_traqScoreNotNull()
throws Exception
Exceptionpublic void positiveFlow_setBids_adTargetingIntegralIsViewability()
throws Exception
Exceptionpublic void positiveFlow_setBids_adTargetingIntegralIsViewability_viewabilityDtoNotNull()
throws Exception
Exceptionpublic void positiveFlow_setBids_AdaptvAdapter_bidPriceLongBiggerThenMaxBidPrice_algoMAX()
throws Lot49Exception
Lot49Exceptionpublic void positiveFlow_setBids_AdaptvAdapter_bidPriceLongLessThenMaxBidPrice_algoMAX()
throws Lot49Exception
Lot49Exceptionpublic void positiveFlow_setBids_1candidate_OpenxAdapter()
throws Lot49Exception
Lot49Exceptionpublic void positiveFlow_setBids_2candidate()
throws Lot49Exception
Lot49Exceptionpublic void positiveFlow_setBids_2candidate_LastBidTimeReversed()
throws Lot49Exception
Lot49Exceptionpublic void positiveFlow_setBids_1candidate()
throws Lot49Exception
Lot49Exceptionpublic void positiveFlow_setBids_2candidates()
throws Lot49Exception
Lot49Exception