You are here

protected function LinkcheckerLinkLinkExtractorTest::getTestUrlList in Link checker 8

List of links to test.

Return value

array Each element is a URI

2 calls to LinkcheckerLinkLinkExtractorTest::getTestUrlList()
LinkcheckerLinkLinkExtractorTest::getTestLinks in tests/src/Kernel/LinkcheckerLinkLinkExtractorTest.php
Get test link field values.
LinkcheckerLinkLinkExtractorTest::testLinkExtractor in tests/src/Kernel/LinkcheckerLinkLinkExtractorTest.php
Test Link field extractor.

File

tests/src/Kernel/LinkcheckerLinkLinkExtractorTest.php, line 176

Class

LinkcheckerLinkLinkExtractorTest
Test html link extractor.

Namespace

Drupal\Tests\linkchecker\Kernel

Code

protected function getTestUrlList() {
  return [
    'http://www.lagrandeepicerie.fr/#e-boutique/Les_produits_du_moment,2/coffret_vins_doux_naturels,149',
    'http://wetterservice.msn.de/phclip.swf?zip=60329&ort=Frankfurt',
    'http://www.msn.de/',
    'http://www.adobe.com/',
    'http://www.apple.com/qtactivex/qtplugin.cab',
    'http://example.net/video/foo1.mov',
    'http://example.net/video/foo2.mov',
    'http://example.net/video/foo3.mov',
    'http://example.org/video/foo1.mp4',
    'http://example.org/video/foo2.mp4',
    'http://example.org/video/foo3.mp4',
    'http://example.org/video/foo4.mp4',
    'http://example.org/video/foo5.mp4',
    'http://example.org/video/foo6.mp4',
    'http://example.org/video/player1.swf',
    'http://example.org/video/player2.swf',
    'http://example.org/video/player3.swf',
    'http://example.com/iframe/',
    'http://www.theora.org/cortado.jar',
    'http://v2v.cc/~j/theora_testsuite/pixel_aspect_ratio.ogg',
    'http://v2v.cc/~j/theora_testsuite/pixel_aspect_ratio.mov',
    'http://v2v.cc/~j/theora_testsuite/320x240.ogg',
    'http://example.com/foo bar/is_valid-hack.test',
    'http://example.com/ajax.html#key1=value1&key2=value2',
    'http://example.com/test.html#test',
    'http://example.com/test.html#test%20ABC',
    'mailto:test@example.com',
    'javascript:foo()',
  ];
}