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

Issue #1637624 by citlacom: Convert comment tests to PSR-0.

parent 405f011b
......@@ -2,15 +2,18 @@
/**
* @file
* Definition of viewsHandlerArgumentCommentUserUidTest.
* Definition of Drupal\views\Tests\Comment\ArgumentCommentUserUidTest.
*/
namespace Drupal\views\Tests\Comment;
use ViewsSqlTest;
use Drupal\views\View;
/**
* Tests the argument_comment_user_uid handler.
*/
class viewsHandlerArgumentCommentUserUidTest extends ViewsSqlTest {
class ArgumentCommentUserUidTest extends ViewsSqlTest {
protected $profile = 'standard';
public static function getInfo() {
......
......@@ -2,15 +2,19 @@
/**
* @file
* Definition of viewsHandlerFilterCommentUserUidTest.
* Definition of Drupal\views\Tests\Comment\FilterCommentUserUidTest.
*/
namespace Drupal\views\Tests\Comment;
use ViewsSqlTest;
/**
* Tests the filter_comment_user_uid handler.
*
* The actual stuff is done in the parent class.
*/
class viewsHandlerFilterCommentUserUidTest extends viewsHandlerArgumentCommentUserUidTest {
class FilterCommentUserUidTest extends ArgumentCommentUserUidTest {
public static function getInfo() {
return array(
'name' => 'Tests handler filter_comment_user_uid',
......
......@@ -2,15 +2,18 @@
/**
* @file
* Definition of ViewsPluginDisplayTestCase.
* Definition of Drupal\views\Tests\Plugins\DisplayTestCase.
*/
namespace Drupal\views\Tests\Plugins;
use ViewsSqlTest;
use Drupal\views\View;
/**
*
*/
class ViewsPluginDisplayTestCase extends ViewsSqlTest {
class DisplayTestCase extends ViewsSqlTest {
public static function getInfo() {
return array(
......
......@@ -245,13 +245,10 @@ files[] = plugins/views_plugin_style_table.inc
; Tests
files[] = tests/test_plugins/views_test_plugin_access_test_dynamic.inc
files[] = tests/test_plugins/views_test_plugin_access_test_static.inc
files[] = tests/plugins/views_plugin_display.test
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/comment/views_handler_argument_comment_user_uid.test
files[] = tests/comment/views_handler_filter_comment_user_uid.test
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
......
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