Skip to content
Snippets Groups Projects
Commit f63d35df authored by Pablo Cerda's avatar Pablo Cerda Committed by Tim Plunkett
Browse files

Issue #1637666 by citlacom | Pedro Lozano: Convert user tests to PSR-0.

parent 555bbe11
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
...@@ -2,17 +2,20 @@ ...@@ -2,17 +2,20 @@
/** /**
* @file * @file
* Definition of viewsHandlerFieldUserNameTest. * Definition of Drupal\views\Tests\User\HandlerFieldUserNameTest.
*/ */
namespace Drupal\views\Tests\User;
use Drupal\views\View; use Drupal\views\View;
use ViewsSqlTest;
/** /**
* Tests the field username handler. * Tests the field username handler.
* *
* @see views_handler_field_user_name * @see views_handler_field_user_name
*/ */
class viewsHandlerFieldUserNameTest extends ViewsSqlTest { class HandlerFieldUserNameTest extends ViewsSqlTest {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => 'Tests user: name field', 'name' => 'Tests user: name field',
......
...@@ -2,15 +2,18 @@ ...@@ -2,15 +2,18 @@
/** /**
* @file * @file
* Definition of ViewsUserArgumentDefault. * Definition of Drupal\views\Tests\User\UserArgumentDefault.
*/ */
namespace Drupal\views\Tests\User;
use Drupal\views\View; use Drupal\views\View;
use ViewsSqlTest;
/** /**
* Tests views user argument default plugin. * Tests views user argument default plugin.
*/ */
class ViewsUserArgumentDefault extends ViewsSqlTest { class UserArgumentDefault extends ViewsSqlTest {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => 'Tests user argument default plugin', 'name' => 'Tests user argument default plugin',
......
...@@ -2,15 +2,18 @@ ...@@ -2,15 +2,18 @@
/** /**
* @file * @file
* Definition of ViewsUserArgumentValidate. * Definition of Drupal\views\Tests\User\UserArgumentValidate.
*/ */
namespace Drupal\views\Tests\User;
use Drupal\views\View; use Drupal\views\View;
use ViewsSqlTest;
/** /**
* Tests views user argument argument handler. * Tests views user argument argument handler.
*/ */
class ViewsUserArgumentValidate extends ViewsSqlTest { class UserArgumentValidate extends ViewsSqlTest {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => 'Tests user argument validator', 'name' => 'Tests user argument validator',
......
...@@ -2,15 +2,18 @@ ...@@ -2,15 +2,18 @@
/** /**
* @file * @file
* Definition of ViewsUserTestCase. * Definition of Drupal\views\Tests\User\UserTestCase.
*/ */
namespace Drupal\views\Tests\User;
use Drupal\views\View; use Drupal\views\View;
use ViewsSqlTest;
/** /**
* Tests basic user module integration into views. * Tests basic user module integration into views.
*/ */
class ViewsUserTestCase extends ViewsSqlTest { class UserTestCase extends ViewsSqlTest {
var $users = array(); var $users = array();
var $nodes = array(); var $nodes = array();
......
...@@ -249,8 +249,4 @@ files[] = tests/views_groupby.test ...@@ -249,8 +249,4 @@ files[] = tests/views_groupby.test
files[] = tests/views_plugin_localization_test.inc files[] = tests/views_plugin_localization_test.inc
files[] = tests/views_query.test files[] = tests/views_query.test
files[] = tests/views_test.views_default.inc files[] = tests/views_test.views_default.inc
files[] = tests/user/views_handler_field_user_name.test
files[] = tests/user/views_user_argument_default.test
files[] = tests/user/views_user_argument_validate.test
files[] = tests/user/views_user.test
files[] = tests/views_ui.test files[] = tests/views_ui.test
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment