package com.adview.mobile.javademo.testcases;

import com.google.common.collect.Lists;

import com.adview.mobile.javademo.R;
import com.adview.mobile.javademo.activities.ads.admob.*;
import com.adview.mobile.javademo.activities.ads.applovin.*;
import com.adview.mobile.javademo.activities.ads.inapp.*;

import java.util.ArrayList;

public class TestCaseRepository {

    public static TestCase lastTestCase;

    public static ArrayList<TestCase> getList() {
        ArrayList<TestCase> result = Lists.newArrayList(
                // In-App
                new TestCase(
                        R.string.in_app_display_banner_320x50,
                        AdFormat.DISPLAY_BANNER,
                        IntegrationKind.NO_AD_SERVER,
                        InAppDisplayBanner320x50Activity.class
                ),
                new TestCase(
                        R.string.in_app_display_banner_300x250,
                        AdFormat.DISPLAY_BANNER,
                        IntegrationKind.NO_AD_SERVER,
                        InAppDisplayBanner300x250Activity.class
                ),
                new TestCase(
                        R.string.in_app_display_banner_multi_size,
                        AdFormat.DISPLAY_BANNER,
                        IntegrationKind.NO_AD_SERVER,
                        InAppDisplayBannerMultiSizeActivity.class
                ),
                new TestCase(
                        R.string.in_app_display_interstitial,
                        AdFormat.DISPLAY_INTERSTITIAL,
                        IntegrationKind.NO_AD_SERVER,
                        InAppDisplayInterstitialActivity.class
                ),
                new TestCase(
                        R.string.in_app_video_interstitial,
                        AdFormat.VIDEO_INTERSTITIAL,
                        IntegrationKind.NO_AD_SERVER,
                        InAppVideoInterstitialActivity.class
                ),
                new TestCase(
                        R.string.in_app_video_rewarded,
                        AdFormat.VIDEO_REWARDED,
                        IntegrationKind.NO_AD_SERVER,
                        InAppVideoRewardedActivity.class
                ),
                new TestCase(
                        R.string.in_app_native,
                        AdFormat.NATIVE,
                        IntegrationKind.NO_AD_SERVER,
                        InAppNativeActivity.class
                ),

                // AdMob
                new TestCase(
                        R.string.ad_mob_display_banner_320x50,
                        AdFormat.DISPLAY_BANNER,
                        IntegrationKind.ADMOB,
                        AdMobDisplayBanner320x50Activity.class
                ),
                new TestCase(
                        R.string.ad_mob_display_banner_300x250,
                        AdFormat.DISPLAY_BANNER,
                        IntegrationKind.ADMOB,
                        AdMobDisplayBanner300x250Activity.class
                ),
                new TestCase(
                        R.string.ad_mob_display_interstitial,
                        AdFormat.DISPLAY_INTERSTITIAL,
                        IntegrationKind.ADMOB,
                        AdMobDisplayInterstitialActivity.class
                ),
                new TestCase(
                        R.string.ad_mob_video_interstitial,
                        AdFormat.VIDEO_INTERSTITIAL,
                        IntegrationKind.ADMOB,
                        AdMobVideoInterstitialActivity.class
                ),
                new TestCase(
                        R.string.ad_mob_video_rewarded,
                        AdFormat.VIDEO_REWARDED,
                        IntegrationKind.ADMOB,
                        AdMobVideoRewardedActivity.class
                ),
                new TestCase(
                        R.string.ad_mob_native,
                        AdFormat.NATIVE,
                        IntegrationKind.ADMOB,
                        AdMobNativeActivity.class
                ),

                // AppLovin MAX
                new TestCase(
                        R.string.applovin_max_display_banner_320x50,
                        AdFormat.DISPLAY_BANNER,
                        IntegrationKind.MAX,
                        AppLovinMaxDisplayBanner320x50Activity.class
                ),
                new TestCase(
                        R.string.applovin_max_display_banner_300x250,
                        AdFormat.DISPLAY_BANNER,
                        IntegrationKind.MAX,
                        AppLovinMaxDisplayBanner300x250Activity.class
                ),
                new TestCase(
                        R.string.applovin_max_display_interstitial,
                        AdFormat.DISPLAY_INTERSTITIAL,
                        IntegrationKind.MAX,
                        AppLovinMaxDisplayInterstitialActivity.class
                ),
                new TestCase(
                        R.string.applovin_max_video_rewarded,
                        AdFormat.VIDEO_REWARDED,
                        IntegrationKind.MAX,
                        AppLovinMaxVideoRewardedActivity.class
                ),
                new TestCase(
                        R.string.applovin_max_native,
                        AdFormat.NATIVE,
                        IntegrationKind.MAX,
                        AppLovinMaxNativeActivity.class
                )

        );
        return result;
    }

}
