You are here

QueryPathXmlParserTest.php in Feeds extensible parsers 8

File

tests/src/Functional/Feeds/Parser/QueryPathXmlParserTest.php
View source
<?php

namespace Drupal\Tests\feeds_ex\Functional\Feeds\Parser;


/**
 * @coversDefaultClass \Drupal\feeds_ex\Feeds\Parser\QueryPathXmlParser
 * @group feeds_ex
 */
class QueryPathXmlParserTest extends ParserTestBase {
  use ContextTestTrait;

  /**
   * The ID of the parser to test.
   *
   * @var string
   */
  protected $parserId = 'querypathxml';

  /**
   * {@inheritdoc}
   */
  public function dataProviderValidContext() {
    return [
      [
        'items item',
      ],
    ];
  }

  /**
   * {@inheritdoc}
   */
  public function dataProviderInvalidContext() {
    return [
      [
        '!! ',
        'CSS selector is not well formed.',
      ],
    ];
  }

}

Classes

Namesort descending Description
QueryPathXmlParserTest @coversDefaultClass \Drupal\feeds_ex\Feeds\Parser\QueryPathXmlParser @group feeds_ex