You are here

DefaultControllerTest.php in Apache Solr Config Generator 8

Contains Drupal\apachesolr_confgen\Tests\DefaultController.

File

Tests/Controller/DefaultControllerTest.php
View source
<?php

/**
 * @file
 * Contains Drupal\apachesolr_confgen\Tests\DefaultController.
 */
namespace Drupal\apachesolr_confgen\Tests;

use Drupal\simpletest\WebTestBase;

/**
 * Provides automated tests for the apachesolr_confgen module.
 */
class DefaultControllerTest extends WebTestBase {

  /**
   * {@inheritdoc}
   */
  public static function getInfo() {
    return array(
      'name' => "apachesolr_confgen DefaultController's controller functionality",
      'description' => 'Test Unit for module apachesolr_confgen and controller DefaultController.',
      'group' => 'Other',
    );
  }

  /**
   * {@inheritdoc}
   */
  public function setUp() {
    parent::setUp();
  }

  /**
   * Tests apachesolr_confgen functionality.
   */
  public function testDefaultController() {

    // Check that the basic functions of module apachesolr_confgen.
    $this
      ->assertEqual(TRUE, TRUE, 'Test Unit Generated via App Console.');
  }

}

Classes

Namesort descending Description
DefaultControllerTest Provides automated tests for the apachesolr_confgen module.