@PrepareForTest(value={ServiceRunner.class,org.apache.commons.csv.CSVParser.class,LogUtils.class}) @PowerMockIgnore(value={"javax.crypto.*","javax.management.*"}) public class AdXAdapterSpec_convertRequest extends Object
Modifier and Type | Field and Description |
---|---|
private AdXAdapter |
adapter |
private AdXConfig |
adxCfg |
private Lot49Config |
configMock |
private static int |
GEO_RECORD_ID |
private static String |
GEO_TABLE_FILE_NAME |
private ServiceRunner |
serviceRunnerSimpleMock |
private static String |
TEST_URL |
private static String |
WRONG_TEST_URL |
Constructor and Description |
---|
AdXAdapterSpec_convertRequest() |
private static final String GEO_TABLE_FILE_NAME
private static final int GEO_RECORD_ID
private ServiceRunner serviceRunnerSimpleMock
private AdXConfig adxCfg
private Lot49Config configMock
private AdXAdapter adapter
private static final String TEST_URL
private static final String WRONG_TEST_URL
public void setUp() throws Lot49Exception, IOException
Lot49Exception
IOException
private void prepareAdxConfigSecurity(AdXConfig adxCfg)
public void prepareAdapter() throws Lot49Exception, IOException
Lot49Exception
IOException
public void positiveFlow_shouldSetAdapter() throws Lot49Exception
Lot49Exception
public void positiveFlow_shouldSetIdAndIp() throws Lot49Exception
Lot49Exception
public void positiveFlow_shouldSetGeo() throws Lot49Exception
Lot49Exception
public void positiveFlow_shouldSetUAAndMobile() throws Lot49Exception
Lot49Exception
public void positiveFlow_shouldSetSite() throws Lot49Exception
Lot49Exception
public void negativeFlow_wrongURL() throws Lot49Exception
Lot49Exception
public void positiveFlow_shouldSetLanguage() throws Lot49Exception
Lot49Exception
public void positiveFlow_shouldSetVerticals() throws Lot49Exception
Lot49Exception
public void positiveFlow_shouldSetImpBanner() throws Lot49Exception
Lot49Exception
public void positiveFlow_shouldSetImpVideo() throws Lot49Exception
Lot49Exception
public void positiveFlow_shouldSetImpVideoMimeParams() throws Lot49Exception
Lot49Exception
public void positiveFlow_shouldSetImpVideoOtherParams() throws Lot49Exception
Lot49Exception
public void positiveFlow_shouldSetExcludedMarkups_EXCLUDED_CREATIVETYPE_HTML() throws Lot49Exception
Lot49Exception
public void positiveFlow_shouldSetExcludedMarkups_EXCLUDED_CREATIVETYPE_VASTVIDEO() throws Lot49Exception
Lot49Exception
public void positiveFlow_shouldSetExcludedMarkups_EXCLUDED_INSTREAMVASTVIDEOTYPE_VPAID_FLASH() throws Lot49Exception
Lot49Exception
public void positiveFlow_shouldSetExcludedMarkups_EXCLUDED_RICHMEDIACAPABILITYTYPE_RICHMEDIACAPABILITYNONSSL() throws Lot49Exception
Lot49Exception
public void positiveFlow_shouldSetExcludedMarkups_EXCLUDED_RICHMEDIACAPABILITYTYPE_RICHMEDIACAPABILITYFLASH() throws Lot49Exception
Lot49Exception
public void positiveFlow_shouldSetExcludedMarkups_EXCLUDED_RICHMEDIACAPABILITYTYPE_RICHMEDIACAPABILITYHTML5() throws Lot49Exception
Lot49Exception
public void positiveFlow_shouldSetImpressionAdxTargeting() throws Lot49Exception
Lot49Exception
public void positiveFlow_shouldSetImpressionBidfloor() throws Lot49Exception
Lot49Exception
public void positiveFlow_shouldSetImpressionDeals() throws Lot49Exception
Lot49Exception
public void positiveFlow_shouldSetImpressionDealBidfloor() throws Lot49Exception
Lot49Exception
public void positiveFlow_shouldSetImpressionDealType_UNKNOWN_DEAL_TYPE() throws Lot49Exception
Lot49Exception
public void positiveFlow_shouldSetImpressionDealType_PREFERRED_DEAL() throws Lot49Exception
Lot49Exception
public void positiveFlow_shouldSetImpressionDealType_PRIVATE_AUCTION() throws Lot49Exception
Lot49Exception
public void positiveFlow_shouldSetIsTest() throws Lot49Exception
Lot49Exception
public void positiveFlow_shouldSetGoogleUserId() throws Lot49Exception
Lot49Exception
public void positiveFlow_shouldSetHostedMatchData()
public void test_parseRequest()