Commit e9d7edb7 authored by tim.plunkett's avatar tim.plunkett

Issue #1757154 by tim.plunkett: Convert certain tests to use ViewsSchemaTestBase.

parent 0fcf20f6
......@@ -12,7 +12,7 @@
/**
* Basic test for pluggable access.
*/
class AccessTest extends ViewsSqlTest {
class AccessTest extends ViewsSchemaTestBase {
public static function getInfo() {
return array(
'name' => 'Access',
......
......@@ -12,7 +12,7 @@
/**
* Basic test for pluggable argument default.
*/
class ArgumentDefaultTest extends ViewsSqlTest {
class ArgumentDefaultTest extends ViewsSchemaTestBase {
protected $profile = 'standard';
......
......@@ -10,7 +10,7 @@
/**
* Basic test class for Views query builder tests.
*/
class BasicTest extends ViewsSqlTest {
class BasicTest extends ViewsSchemaTestBase {
public static function getInfo() {
return array(
'name' => 'Basic query test',
......
......@@ -14,7 +14,8 @@
*
* @see views_plugin_cache
*/
class CacheTest extends ViewsSqlTest {
class CacheTest extends ViewsSchemaTestBase {
public static function getInfo() {
return array(
'name' => 'Cache',
......
......@@ -10,7 +10,7 @@
/**
* Tests exposed forms.
*/
class ExposedFormTest extends ViewsSqlTest {
class ExposedFormTest extends ViewsSchemaTestBase {
protected $profile = 'standard';
......
......@@ -7,12 +7,12 @@
namespace Drupal\views\Tests\Handler;
use Drupal\views\Tests\ViewsSqlTest;
use Drupal\views\Tests\ViewsSchemaTestBase;
/**
* Tests the core Drupal\views\Plugin\views\argument\Null handler.
*/
class ArgumentNullTest extends ViewsSqlTest {
class ArgumentNullTest extends ViewsSchemaTestBase {
public static function getInfo() {
return array(
'name' => 'Argument: Null',
......
......@@ -7,12 +7,12 @@
namespace Drupal\views\Tests\Handler;
use Drupal\views\Tests\ViewsSqlTest;
use Drupal\views\Tests\ViewsSchemaTestBase;
/**
* Tests the core Drupal\views\Plugin\views\field\Boolean handler.
*/
class FieldBooleanTest extends ViewsSqlTest {
class FieldBooleanTest extends ViewsSchemaTestBase {
public static function getInfo() {
return array(
'name' => 'Field: Boolean',
......
......@@ -7,12 +7,12 @@
namespace Drupal\views\Tests\Handler;
use Drupal\views\Tests\ViewsSqlTest;
use Drupal\views\Tests\ViewsSchemaTestBase;
/**
* Tests the Drupal\views\Plugin\views\field\Counter handler.
*/
class FieldCounterTest extends ViewsSqlTest {
class FieldCounterTest extends ViewsSchemaTestBase {
public static function getInfo() {
return array(
'name' => 'Field: Counter',
......
......@@ -7,12 +7,12 @@
namespace Drupal\views\Tests\Handler;
use Drupal\views\Tests\ViewsSqlTest;
use Drupal\views\Tests\ViewsSchemaTestBase;
/**
* Tests the core Drupal\views\Plugin\views\field\Custom handler.
*/
class FieldCustomTest extends ViewsSqlTest {
class FieldCustomTest extends ViewsSchemaTestBase {
public static function getInfo() {
return array(
'name' => 'Field: Custom',
......
......@@ -7,12 +7,12 @@
namespace Drupal\views\Tests\Handler;
use Drupal\views\Tests\ViewsSqlTest;
use Drupal\views\Tests\ViewsSchemaTestBase;
/**
* Tests the core Drupal\views\Plugin\views\field\Date handler.
*/
class FieldDateTest extends ViewsSqlTest {
class FieldDateTest extends ViewsSchemaTestBase {
public static function getInfo() {
return array(
'name' => 'Field: Date',
......
......@@ -7,14 +7,14 @@
namespace Drupal\views\Tests\Handler;
use Drupal\views\Tests\ViewsSqlTest;
use Drupal\views\Tests\ViewsSchemaTestBase;
/**
* Tests the core Drupal\views\Plugin\views\field\FileSize handler.
*
* @see CommonXssUnitTest
*/
class FieldFileSizeTest extends ViewsSqlTest {
class FieldFileSizeTest extends ViewsSchemaTestBase {
public static function getInfo() {
return array(
'name' => 'Field: file_size',
......
......@@ -7,14 +7,14 @@
namespace Drupal\views\Tests\Handler;
use Drupal\views\Tests\ViewsSqlTest;
use Drupal\views\Tests\ViewsSchemaTestBase;
/**
* Tests the generic field handler
*
* @see views_handler_field
*/
class FieldTest extends ViewsSqlTest {
class FieldTest extends ViewsSchemaTestBase {
public static function getInfo() {
return array(
'name' => 'Field',
......
......@@ -7,11 +7,11 @@
namespace Drupal\views\Tests\Handler;
use Drupal\views\Tests\ViewsSqlTest;
use Drupal\views\Tests\ViewsSchemaTestBase;
/**
* Tests the core Drupal\views\Plugin\views\field\Url handler.
*/
class FieldUrlTest extends ViewsSqlTest {
class FieldUrlTest extends ViewsSchemaTestBase {
public static function getInfo() {
return array(
'name' => 'Field: Url',
......
......@@ -7,14 +7,14 @@
namespace Drupal\views\Tests\Handler;
use Drupal\views\Tests\ViewsSqlTest;
use Drupal\views\Tests\ViewsSchemaTestBase;
/**
* Tests the core Drupal\views\Plugin\views\field\Xss handler.
*
* @see CommonXssUnitTest
*/
class FieldXssTest extends ViewsSqlTest {
class FieldXssTest extends ViewsSchemaTestBase {
public static function getInfo() {
return array(
'name' => 'Field: Xss',
......
......@@ -7,12 +7,12 @@
namespace Drupal\views\Tests\Handler;
use Drupal\views\Tests\ViewsSqlTest;
use Drupal\views\Tests\ViewsSchemaTestBase;
/**
* Tests the combine filter handler.
*/
class FilterCombineTest extends ViewsSqlTest {
class FilterCombineTest extends ViewsSchemaTestBase {
var $column_map = array();
public static function getInfo() {
......
......@@ -7,12 +7,12 @@
namespace Drupal\views\Tests\Handler;
use Drupal\views\Tests\ViewsSqlTest;
use Drupal\views\Tests\ViewsSchemaTestBase;
/**
* Tests the core Drupal\views\Plugin\views\filter\Equality handler.
*/
class FilterEqualityTest extends ViewsSqlTest {
class FilterEqualityTest extends ViewsSchemaTestBase {
public static function getInfo() {
return array(
'name' => 'Filter: Equality',
......
......@@ -7,12 +7,12 @@
namespace Drupal\views\Tests\Handler;
use Drupal\views\Tests\ViewsSqlTest;
use Drupal\views\Tests\ViewsSchemaTestBase;
/**
* Tests the core Drupal\views\Plugin\views\filter\InOperator handler.
*/
class FilterInOperatorTest extends ViewsSqlTest {
class FilterInOperatorTest extends ViewsSchemaTestBase {
public static function getInfo() {
return array(
'name' => 'Filter: in_operator',
......
......@@ -7,12 +7,12 @@
namespace Drupal\views\Tests\Handler;
use Drupal\views\Tests\ViewsSqlTest;
use Drupal\views\Tests\ViewsSchemaTestBase;
/**
* Tests the numeric filter handler.
*/
class FilterNumericTest extends ViewsSqlTest {
class FilterNumericTest extends ViewsSchemaTestBase {
var $column_map = array();
public static function getInfo() {
......
......@@ -7,12 +7,12 @@
namespace Drupal\views\Tests\Handler;
use Drupal\views\Tests\ViewsSqlTest;
use Drupal\views\Tests\ViewsSchemaTestBase;
/**
* Tests the core Drupal\views\Plugin\views\filter\String handler.
*/
class FilterStringTest extends ViewsSqlTest {
class FilterStringTest extends ViewsSchemaTestBase {
var $column_map = array();
public static function getInfo() {
......
......@@ -7,12 +7,12 @@
namespace Drupal\views\Tests\Handler;
use Drupal\views\Tests\ViewsSqlTest;
use Drupal\views\Tests\ViewsSchemaTestBase;
/**
* Tests for core Drupal\views\Plugin\views\sort\Date handler.
*/
class SortDateTest extends ViewsSqlTest {
class SortDateTest extends ViewsSchemaTestBase {
public static function getInfo() {
return array(
'name' => 'Sort: date',
......
......@@ -7,12 +7,12 @@
namespace Drupal\views\Tests\Handler;
use Drupal\views\Tests\ViewsSqlTest;
use Drupal\views\Tests\ViewsSchemaTestBase;
/**
* Tests for core Drupal\views\Plugin\views\sort\Random handler.
*/
class SortRandomTest extends ViewsSqlTest {
class SortRandomTest extends ViewsSchemaTestBase {
public static function getInfo() {
return array(
'name' => 'Sort: random',
......
......@@ -7,12 +7,12 @@
namespace Drupal\views\Tests\Handler;
use Drupal\views\Tests\ViewsSqlTest;
use Drupal\views\Tests\ViewsSchemaTestBase;
/**
* Tests for core Drupal\views\Plugin\views\sort\SortPluginBase handler.
*/
class SortTest extends ViewsSqlTest {
class SortTest extends ViewsSchemaTestBase {
public static function getInfo() {
return array(
'name' => 'Sort: generic',
......
......@@ -10,7 +10,7 @@
/**
* Tests abstract handlers of views.
*/
class HandlersTest extends ViewsSqlTest {
class HandlersTest extends ViewsSchemaTestBase {
public static function getInfo() {
return array(
......
......@@ -10,7 +10,7 @@
/**
* Tests basic functions from the Views module.
*/
class ModuleTest extends ViewsSqlTest {
class ModuleTest extends ViewsSchemaTestBase {
public static function getInfo() {
return array(
'name' => 'Tests views.module',
......
......@@ -9,12 +9,12 @@
use stdClass;
use DOMDocument;
use Drupal\views\Tests\ViewsSqlTest;
use Drupal\views\Tests\ViewsSchemaTestBase;
/**
* Tests some general style plugin related functionality.
*/
class PluginStyleTest extends ViewsSqlTest {
class PluginStyleTest extends ViewsSchemaTestBase {
public static function getInfo() {
return array(
'name' => 'Styles',
......
......@@ -8,12 +8,12 @@
namespace Drupal\views\Tests\Style;
use DOMDocument;
use Drupal\views\Tests\ViewsSqlTest;
use Drupal\views\Tests\ViewsSchemaTestBase;
/**
* Tests the default/unformatted row style.
*/
class PluginStyleUnformattedTest extends ViewsSqlTest {
class PluginStyleUnformattedTest extends ViewsSchemaTestBase {
/**
* Stores all created nodes.
......
......@@ -10,7 +10,7 @@
/**
* Tests UI of aggregate functionality..
*/
class UiGroupByTest extends ViewsSqlTest {
class UiGroupByTest extends ViewsSchemaTestBase {
protected $profile = 'standard';
......
......@@ -14,7 +14,7 @@
*
* You can find all conversions by searching for "moved to".
*/
class UpgradeTestCase extends ViewsSqlTest {
class UpgradeTestCase extends ViewsSchemaTestBase {
/**
* Modules to enable.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment