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);
}
}
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);
}
}
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);
}
}
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);
}
}
Aggregations