Commit f63d35df authored by citlacom's avatar citlacom Committed by tim.plunkett
Browse files

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

parent 555bbe11
......@@ -2,17 +2,20 @@
/**
* @file
* Definition of viewsHandlerFieldUserNameTest.
* Definition of Drupal\views\Tests\User\HandlerFieldUserNameTest.
*/
namespace Drupal\views\Tests\User;
use Drupal\views\View;
use ViewsSqlTest;
/**
* Tests the field username handler.
*
* @see views_handler_field_user_name
*/
class viewsHandlerFieldUserNameTest extends ViewsSqlTest {
class HandlerFieldUserNameTest extends ViewsSqlTest {
public static function getInfo() {
return array(
'name' => 'Tests user: name field',
......
......@@ -2,15 +2,18 @@
/**
* @file
* Definition of ViewsUserArgumentDefault.
* Definition of Drupal\views\Tests\User\UserArgumentDefault.
*/
namespace Drupal\views\Tests\User;
use Drupal\views\View;
use ViewsSqlTest;
/**
* Tests views user argument default plugin.
*/
class ViewsUserArgumentDefault extends ViewsSqlTest {
class UserArgumentDefault extends ViewsSqlTest {
public static function getInfo() {
return array(
'name' => 'Tests user argument default plugin',
......
......@@ -2,15 +2,18 @@
/**
* @file
* Definition of ViewsUserArgumentValidate.
* Definition of Drupal\views\Tests\User\UserArgumentValidate.
*/
namespace Drupal\views\Tests\User;
use Drupal\views\View;
use ViewsSqlTest;
/**
* Tests views user argument argument handler.
*/
class ViewsUserArgumentValidate extends ViewsSqlTest {
class UserArgumentValidate extends ViewsSqlTest {
public static function getInfo() {
return array(
'name' => 'Tests user argument validator',
......
......@@ -2,15 +2,18 @@
/**
* @file
* Definition of ViewsUserTestCase.
* Definition of Drupal\views\Tests\User\UserTestCase.
*/
namespace Drupal\views\Tests\User;
use Drupal\views\View;
use ViewsSqlTest;
/**
* Tests basic user module integration into views.
*/
class ViewsUserTestCase extends ViewsSqlTest {
class UserTestCase extends ViewsSqlTest {
var $users = array();
var $nodes = array();
......
......@@ -249,8 +249,4 @@ files[] = tests/views_groupby.test
files[] = tests/views_plugin_localization_test.inc
files[] = tests/views_query.test
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
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