Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
D
drupal
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Custom Issue Tracker
Custom Issue Tracker
Labels
Merge Requests
222
Merge Requests
222
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
project
drupal
Commits
bedbd0a2
Commit
bedbd0a2
authored
Sep 18, 2014
by
jhodgdon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue
#2329703
by maximpodorov: Fix spelling in varous files
parent
2a287f31
Changes
11
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
15 additions
and
15 deletions
+15
-15
core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php
...ests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php
+1
-1
core/tests/Drupal/Tests/Component/Utility/NumberTest.php
core/tests/Drupal/Tests/Component/Utility/NumberTest.php
+1
-1
core/tests/Drupal/Tests/Component/Utility/UnicodeTest.php
core/tests/Drupal/Tests/Component/Utility/UnicodeTest.php
+1
-1
core/tests/Drupal/Tests/Core/Ajax/AjaxCommandsTest.php
core/tests/Drupal/Tests/Core/Ajax/AjaxCommandsTest.php
+1
-1
core/tests/Drupal/Tests/Core/Asset/css_test_files/comment_hacks.css
.../Drupal/Tests/Core/Asset/css_test_files/comment_hacks.css
+1
-1
core/tests/Drupal/Tests/Core/Batch/PercentagesTest.php
core/tests/Drupal/Tests/Core/Batch/PercentagesTest.php
+1
-1
core/tests/Drupal/Tests/Core/Block/BlockBaseTest.php
core/tests/Drupal/Tests/Core/Block/BlockBaseTest.php
+3
-3
core/tests/Drupal/Tests/Core/Config/CachedStorageTest.php
core/tests/Drupal/Tests/Core/Config/CachedStorageTest.php
+1
-1
core/tests/Drupal/Tests/Core/Logger/LogMessageParserTest.php
core/tests/Drupal/Tests/Core/Logger/LogMessageParserTest.php
+2
-2
core/tests/Drupal/Tests/Core/Logger/LoggerChannelTest.php
core/tests/Drupal/Tests/Core/Logger/LoggerChannelTest.php
+2
-2
core/tests/Drupal/Tests/Core/Menu/LocalTaskIntegrationTest.php
...tests/Drupal/Tests/Core/Menu/LocalTaskIntegrationTest.php
+1
-1
No files found.
core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php
View file @
bedbd0a2
...
...
@@ -415,7 +415,7 @@ public function providerTestTimestamp() {
'expected_timezone'
=>
'UTC'
,
'expected_offset'
=>
0
,
),
'transorm'
=>
array
(
'trans
f
orm'
=>
array
(
'timezone'
=>
'America/Los_Angeles'
,
'format'
=>
'c'
,
'expected_date'
=>
'1969-12-31T16:00:00-08:00'
,
...
...
core/tests/Drupal/Tests/Component/Utility/NumberTest.php
View file @
bedbd0a2
...
...
@@ -87,7 +87,7 @@ public static function providerTestValidStep() {
array
(
6
,
5
/
7
,
FALSE
),
array
(
10.3
,
10.25
,
FALSE
),
// Step mismatches very close to be
e
ing valid.
// Step mismatches very close to being valid.
array
(
70
+
9
e
-
7
,
10
+
9
e
-
7
,
FALSE
),
array
(
1936.5
,
3
e
-
8
,
FALSE
),
);
...
...
core/tests/Drupal/Tests/Component/Utility/UnicodeTest.php
View file @
bedbd0a2
...
...
@@ -493,7 +493,7 @@ public function testConvertToUtf8($data, $encoding, $expected) {
* Provides data to self::testConvertToUtf8().
*
* @return array
* An array of arrays, each containg the parameters to
* An array of arrays, each contain
in
g the parameters to
* self::testConvertUtf8(). }
*/
public
function
providerTestConvertToUtf8
()
{
...
...
core/tests/Drupal/Tests/Core/Ajax/AjaxCommandsTest.php
View file @
bedbd0a2
...
...
@@ -54,7 +54,7 @@ public function testAddCssCommand() {
}
/**
* Tests that AfterCommand objec
st
can be constructed and rendered.
* Tests that AfterCommand objec
ts
can be constructed and rendered.
*/
public
function
testAfterCommand
()
{
$command
=
new
AfterCommand
(
'#page-title'
,
'<p>New Text!</p>'
,
array
(
'my-setting'
=>
'setting'
));
...
...
core/tests/Drupal/Tests/Core/Asset/css_test_files/comment_hacks.css
View file @
bedbd0a2
This diff is collapsed.
Click to expand it.
core/tests/Drupal/Tests/Core/Batch/PercentagesTest.php
View file @
bedbd0a2
...
...
@@ -61,7 +61,7 @@ public function providerTestPercentages() {
// The same logic holds for 1/200: we should get 0.5%.
array
(
200
,
1
,
'0.5'
),
// Numbers that come out evenly, such as 50/200, should be forced to have
// extra digits for consist
a
ncy.
// extra digits for consist
e
ncy.
array
(
200
,
50
,
'25.0'
),
// Regardless of number of digits we're using, 100% should always just be
// 100%.
...
...
core/tests/Drupal/Tests/Core/Block/BlockBaseTest.php
View file @
bedbd0a2
...
...
@@ -23,7 +23,7 @@ class BlockBaseTest extends UnitTestCase {
* @see \Drupal\Core\Block\BlockBase::getMachineNameSuggestion().
*/
public
function
testGetMachineNameSuggestion
()
{
$transliteraton
=
$this
->
getMockBuilder
(
'Drupal\Core\Transliteration\PHPTransliteration'
)
$transliterat
i
on
=
$this
->
getMockBuilder
(
'Drupal\Core\Transliteration\PHPTransliteration'
)
// @todo Inject the module handler into PHPTransliteration.
->
setMethods
(
array
(
'readLanguageOverrides'
))
->
getMock
();
...
...
@@ -42,7 +42,7 @@ public function testGetMachineNameSuggestion() {
'provider'
=>
'block_test'
,
);
$block_base
=
new
TestBlockInstantiation
(
$config
,
'test_block_instantiation'
,
$definition
);
$block_base
->
setTransliteration
(
$transliteraton
);
$block_base
->
setTransliteration
(
$transliterat
i
on
);
$this
->
assertEquals
(
'adminlabel'
,
$block_base
->
getMachineNameSuggestion
());
// Test with more unicodes.
...
...
@@ -51,7 +51,7 @@ public function testGetMachineNameSuggestion() {
'provider'
=>
'block_test'
,
);
$block_base
=
new
TestBlockInstantiation
(
$config
,
'test_block_instantiation'
,
$definition
);
$block_base
->
setTransliteration
(
$transliteraton
);
$block_base
->
setTransliteration
(
$transliterat
i
on
);
$this
->
assertEquals
(
'uberawesome'
,
$block_base
->
getMachineNameSuggestion
());
}
...
...
core/tests/Drupal/Tests/Core/Config/CachedStorageTest.php
View file @
bedbd0a2
...
...
@@ -83,7 +83,7 @@ public function testGetMultipleOnPrimedCache() {
}
/**
* Test fall through to file storage in CachedStorage::readMul
it
ple().
* Test fall through to file storage in CachedStorage::readMul
ti
ple().
*/
public
function
testGetMultipleOnPartiallyPrimedCache
()
{
$configNames
=
array
(
...
...
core/tests/Drupal/Tests/Core/Logger/LogMessageParserTest.php
View file @
bedbd0a2
...
...
@@ -64,12 +64,12 @@ public function providerTestParseMessagePlaceholders() {
array
(
'message'
=>
'User @username created'
,
'context'
=>
array
(
'@username'
=>
'Dries'
)),
array
(
'message'
=>
'User @username created'
,
'context'
=>
array
(
'@username'
=>
'Dries'
)),
),
// Mess
s
age without placeholders but wildcard characters.
// Message without placeholders but wildcard characters.
array
(
array
(
'message'
=>
'User W-\\};~{&! created @'
,
'context'
=>
array
(
''
=>
''
)),
array
(
'message'
=>
'User W-\\};~{&! created @'
,
'context'
=>
array
()),
),
// Mess
s
age with double PSR3 style messages.
// Message with double PSR3 style messages.
array
(
array
(
'message'
=>
'Test {with} two {encapsuled} strings'
,
'context'
=>
array
(
'with'
=>
'together'
,
'encapsuled'
=>
'awesome'
)),
array
(
'message'
=>
'Test @with two @encapsuled strings'
,
'context'
=>
array
(
'@with'
=>
'together'
,
'@encapsuled'
=>
'awesome'
)),
...
...
core/tests/Drupal/Tests/Core/Logger/LoggerChannelTest.php
View file @
bedbd0a2
...
...
@@ -116,7 +116,7 @@ public function providerTestLog() {
// No request or account.
$cases
[]
=
array
(
function
(
$context
)
{
return
$context
[
'channel'
]
==
'test'
&&
empty
(
$contex
[
'uid'
])
&&
empty
(
$context
[
'ip'
]);
return
$context
[
'channel'
]
==
'test'
&&
empty
(
$contex
t
[
'uid'
])
&&
empty
(
$context
[
'ip'
]);
},
);
// With account but not request. Since the request is not available the
...
...
@@ -131,7 +131,7 @@ function ($context) {
// With request but not account.
$cases
[]
=
array
(
function
(
$context
)
{
return
$context
[
'ip'
]
===
'127.0.0.1'
&&
empty
(
$contex
[
'uid'
]);
return
$context
[
'ip'
]
===
'127.0.0.1'
&&
empty
(
$contex
t
[
'uid'
]);
},
$request_mock
,
);
...
...
core/tests/Drupal/Tests/Core/Menu/LocalTaskIntegrationTest.php
View file @
bedbd0a2
...
...
@@ -96,7 +96,7 @@ protected function getLocalTaskManager($module_dirs, $route_name, $route_params)
$property
=
new
\
ReflectionProperty
(
'Drupal\Core\Menu\LocalTaskManager'
,
'moduleHandler'
);
$property
->
setAccessible
(
TRUE
);
$property
->
setValue
(
$manager
,
$module_handler
);
// Set all the modules as being exist
a
nt.
// Set all the modules as being exist
e
nt.
$module_handler
->
expects
(
$this
->
any
())
->
method
(
'moduleExists'
)
->
will
(
$this
->
returnCallback
(
function
(
$module
)
use
(
$module_dirs
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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