You are here

phpunit-bootstrap.php in Convert Media Tags to Markup 8

Same filename and directory in other branches
  1. 2.x phpunit-bootstrap.php

PHPUnit bootstrap: our bare-bones version of Drupal.

PHPUnit knows nothing about Drupal, so provide PHPUnit with the bare minimum it needs to know in order to test classes which use Drupal core and contrib classes.

Used by the PHPUnit test runner and referenced in ./phpunit-autoload.xml.

Namespace

Drupal\filter

File

phpunit-bootstrap.php
View source
<?php

/**
 * @file
 * PHPUnit bootstrap: our bare-bones version of Drupal.
 *
 * PHPUnit knows nothing about Drupal, so provide PHPUnit with the bare
 * minimum it needs to know in order to test classes which use Drupal
 * core and contrib classes.
 *
 * Used by the PHPUnit test runner and referenced in ./phpunit-autoload.xml.
 */
namespace Drupal\filter;

class FilterProcessResult {

}
namespace Drupal\filter\Plugin;

class FilterBase {

}
namespace Drupal\Component\Serialization;

class Json {

}
namespace Drupal\file\Entity;

class File {

}
namespace Drupal\Component\Utility;

class Html {

}