Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
41330889
Commit
41330889
authored
Jan 23, 2014
by
Jennifer Hodgdon
Browse files
Issue
#2169065
by nadja.jury, danmuzyka: Fix up docs for Search module test classes
parent
94fade95
Changes
6
Hide whitespace changes
Inline
Side-by-side
core/modules/search/lib/Drupal/search/Tests/SearchAdvancedSearchFormTest.php
View file @
41330889
...
...
@@ -7,6 +7,9 @@
namespace
Drupal\search\Tests
;
/**
* Indexes content and tests the advanced search form.
*/
class
SearchAdvancedSearchFormTest
extends
SearchTestBase
{
protected
$node
;
...
...
core/modules/search/lib/Drupal/search/Tests/SearchCommentTest.php
View file @
41330889
...
...
@@ -28,7 +28,7 @@ class SearchCommentTest extends SearchTestBase {
public
static
function
getInfo
()
{
return
array
(
'name'
=>
'Comment Search tests'
,
'description'
=>
'
Verify text formats and filters used elsewhere
.'
,
'description'
=>
'
Test integration searching comments
.'
,
'group'
=>
'Search'
,
);
}
...
...
core/modules/search/lib/Drupal/search/Tests/SearchMatchTest.php
View file @
41330889
...
...
@@ -15,6 +15,9 @@
const
SEARCH_TYPE_2
=
'_test2_'
;
const
SEARCH_TYPE_JPN
=
'_test3_'
;
/**
* Indexes content and queries it.
*/
class
SearchMatchTest
extends
SearchTestBase
{
public
static
function
getInfo
()
{
return
array
(
...
...
core/modules/search/lib/Drupal/search/Tests/SearchPreprocessLangcodeTest.php
View file @
41330889
...
...
@@ -7,7 +7,7 @@
namespace
Drupal\search\Tests
;
/**
* Test
search_simplify() on every Unicode character, and some other cases
.
* Test
s that the search prepocessing uses the correct language code
.
*/
class
SearchPreprocessLangcodeTest
extends
SearchTestBase
{
...
...
@@ -21,7 +21,7 @@ class SearchPreprocessLangcodeTest extends SearchTestBase {
public
static
function
getInfo
()
{
return
array
(
'name'
=>
'Search preprocess langcode'
,
'description'
=>
'
Check
that the
hook_
search
_
prep
r
ocess
pas
ses the correct lang
code from the entity
.'
,
'description'
=>
'
Tests
that the search
prepocess
ing u
ses the correct lang
uage code
.'
,
'group'
=>
'Search'
,
);
}
...
...
core/modules/search/lib/Drupal/search/Tests/SearchRankingTest.php
View file @
41330889
...
...
@@ -7,6 +7,9 @@
namespace
Drupal\search\Tests
;
/**
* Indexes content and tests ranking factors.
*/
class
SearchRankingTest
extends
SearchTestBase
{
/**
...
...
core/modules/search/lib/Drupal/search/Tests/SearchTestBase.php
View file @
41330889
...
...
@@ -9,6 +9,9 @@
use
Drupal\simpletest\WebTestBase
;
/**
* Defines the common search test code.
*/
abstract
class
SearchTestBase
extends
WebTestBase
{
/**
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment