Search in sources :

Example 1 with OEmbed

use of com.adobe.cq.wcm.core.components.it.seljup.util.components.embed.UrlProcessors.OEmbed in project aem-core-wcm-components by Adobe-Marketing-Cloud.

the class EmbedIT method testUrlOEmbedTwitter.

/**
 * URL : oEmbed : Twitter
 *
 * 1. verify all test URLs
 */
@Test
@DisplayName("URL : oEmbed : Twitter")
public void testUrlOEmbedTwitter() throws InterruptedException, TimeoutException {
    OEmbed twitter = urlProcessors.getTwitter();
    String[] urls = twitter.getUrls();
    for (int i = 0; i < urls.length; i++) {
        verifyUrl(urls[i], twitter);
    }
}
Also used : OEmbed(com.adobe.cq.wcm.core.components.it.seljup.util.components.embed.UrlProcessors.OEmbed) AuthorBaseUITest(com.adobe.cq.wcm.core.components.it.seljup.AuthorBaseUITest) Test(org.junit.jupiter.api.Test) DisplayName(org.junit.jupiter.api.DisplayName)

Example 2 with OEmbed

use of com.adobe.cq.wcm.core.components.it.seljup.util.components.embed.UrlProcessors.OEmbed in project aem-core-wcm-components by Adobe-Marketing-Cloud.

the class EmbedIT method testUrlOEmbedFlickr.

/**
 * URL : oEmbed : Flickr
 *
 * 1. verify all test URLs
 */
@Test
@DisplayName("URL : oEmbed : Flickr")
public void testUrlOEmbedFlickr() throws InterruptedException, TimeoutException {
    OEmbed flickr = urlProcessors.getFlickr();
    String[] urls = flickr.getUrls();
    for (int i = 0; i < urls.length; i++) {
        verifyUrl(urls[i], flickr);
    }
}
Also used : OEmbed(com.adobe.cq.wcm.core.components.it.seljup.util.components.embed.UrlProcessors.OEmbed) AuthorBaseUITest(com.adobe.cq.wcm.core.components.it.seljup.AuthorBaseUITest) Test(org.junit.jupiter.api.Test) DisplayName(org.junit.jupiter.api.DisplayName)

Example 3 with OEmbed

use of com.adobe.cq.wcm.core.components.it.seljup.util.components.embed.UrlProcessors.OEmbed in project aem-core-wcm-components by Adobe-Marketing-Cloud.

the class EmbedIT method testUrlOEmbedYouTube.

/**
 * URL : oEmbed : YouTube
 *
 * 1. verify all test URLs
 */
@Test
@DisplayName("URL : oEmbed : YouTube")
public void testUrlOEmbedYouTube() throws InterruptedException, TimeoutException {
    OEmbed youTube = urlProcessors.getYouTube();
    String[] urls = youTube.getUrls();
    for (int i = 0; i < urls.length; i++) {
        verifyUrl(urls[i], youTube);
    }
}
Also used : OEmbed(com.adobe.cq.wcm.core.components.it.seljup.util.components.embed.UrlProcessors.OEmbed) AuthorBaseUITest(com.adobe.cq.wcm.core.components.it.seljup.AuthorBaseUITest) Test(org.junit.jupiter.api.Test) DisplayName(org.junit.jupiter.api.DisplayName)

Example 4 with OEmbed

use of com.adobe.cq.wcm.core.components.it.seljup.util.components.embed.UrlProcessors.OEmbed in project aem-core-wcm-components by Adobe-Marketing-Cloud.

the class EmbedIT method testUrlOEmbedSoundCloud.

/**
 * URL : oEmbed : SoundCloud
 *
 * 1. verify all test URLs
 */
@Test
@DisplayName("URL : oEmbed : SoundCloud")
public void testUrlOEmbedSoundCloud() throws InterruptedException, TimeoutException {
    OEmbed soundCloud = urlProcessors.getSoundCloud();
    String[] urls = soundCloud.getUrls();
    for (int i = 0; i < urls.length; i++) {
        verifyUrl(urls[i], soundCloud);
    }
}
Also used : OEmbed(com.adobe.cq.wcm.core.components.it.seljup.util.components.embed.UrlProcessors.OEmbed) AuthorBaseUITest(com.adobe.cq.wcm.core.components.it.seljup.AuthorBaseUITest) Test(org.junit.jupiter.api.Test) DisplayName(org.junit.jupiter.api.DisplayName)

Aggregations

AuthorBaseUITest (com.adobe.cq.wcm.core.components.it.seljup.AuthorBaseUITest)4 OEmbed (com.adobe.cq.wcm.core.components.it.seljup.util.components.embed.UrlProcessors.OEmbed)4 DisplayName (org.junit.jupiter.api.DisplayName)4 Test (org.junit.jupiter.api.Test)4