@PrepareForTest(value={AuctionsSvc.class,ServiceRunner.class,Utils.class,BidCandidateManager.class}) @PowerMockIgnore(value={"javax.crypto.*","javax.management.*"}) public class AuctionsSvcSpec_onBidRequestDelegate extends Object
Modifier and Type | Field and Description |
---|---|
private AdXAdapter |
adxAdapterMock |
private com.google.protos.adx.NetworkBid.BidRequest |
req |
private OpenRtbRequest |
req2 |
private ServiceRunner |
serviceRunnerSimpleMock |
private ScheduledThreadPoolExecutor |
sExecutor |
Constructor and Description |
---|
AuctionsSvcSpec_onBidRequestDelegate() |
Modifier and Type | Method and Description |
---|---|
void |
negativeFlow_needAdCacheOutsideLot49Test_noAdsSituation() |
void |
negativeFlow_noAds() |
void |
negativeFlow_noImpressions() |
void |
negativeFlow_optOutNoOneEligible() |
void |
positiveFlow_checkBidCandidateManagerConstruction() |
void |
positiveFlow_constructsBidCandidateManager() |
void |
positiveFlow_extractingIPDataFromRequest() |
void |
positiveFlow_extractingRemoteHostPortAndAddr() |
void |
positiveFlow_feedingOpenRTBResponse() |
void |
positiveFlow_noOptOut() |
void |
positiveFlow_settingProvidersData() |
void |
positiveFlow_settingXFFAndXRIPData() |
void |
setUp() |
private ServiceRunner serviceRunnerSimpleMock
private AdXAdapter adxAdapterMock
private ScheduledThreadPoolExecutor sExecutor
private com.google.protos.adx.NetworkBid.BidRequest req
private OpenRtbRequest req2
public AuctionsSvcSpec_onBidRequestDelegate()
public void negativeFlow_optOutNoOneEligible() throws Exception
Exception
public void negativeFlow_noImpressions() throws Exception
Exception
public void positiveFlow_extractingIPDataFromRequest() throws Exception
Exception
public void positiveFlow_extractingRemoteHostPortAndAddr() throws Exception
Exception
public void positiveFlow_settingProvidersData() throws Exception
Exception
public void positiveFlow_settingXFFAndXRIPData() throws Exception
Exception
public void negativeFlow_needAdCacheOutsideLot49Test_noAdsSituation() throws Exception
Exception
public void positiveFlow_constructsBidCandidateManager() throws Exception
Exception
public void positiveFlow_feedingOpenRTBResponse() throws Exception
Exception