updated ctools, panels, date, diff

This commit is contained in:
Bachir Soussi Chiadmi
2017-05-24 19:22:50 +02:00
parent 542ac42fca
commit 9acef9d37e
189 changed files with 2928 additions and 1797 deletions

View File

@@ -5,7 +5,7 @@ class CtoolsContextKeywordsSubstitutionTestCase extends DrupalWebTestCase {
return array(
'name' => 'Keywords substitution',
'description' => 'Verify that keywords are properly replaced with data.',
'group' => 'Chaos Tools Suite',
'group' => 'ctools',
);
}
@@ -51,6 +51,30 @@ class CtoolsContextKeywordsSubstitutionTestCase extends DrupalWebTestCase {
"%{$node->title}",
t('Keyword after escaped and unescaped percent sign has been replaced.'),
),
'%%foo:bar' => array(
"%foo:bar",
t('Non-existant context ignored.'),
),
'There was about 20%-30% difference in price.' => array(
'There was about 20%-30% difference in price.',
t('Non-keyword percent sign left untouched.'),
),
'href="my%20file%2dname.pdf"' => array(
'href="my%20file%2dname.pdf"',
t('HTTP URL escape left untouched.'),
),
'href="my%a0file%fdname.pdf"' => array(
'href="my%a0file%fdname.pdf"',
t('HTTP URL escape (high-chars) left untouched.'),
),
'<a href="http://www.example.com/here%20is%20a%20pdf.pdf">Click here!</a>' => array(
'<a href="http://www.example.com/here%20is%20a%20pdf.pdf">Click here!</a>',
t('HTTP URL escape percent sign left untouched in HTML.'),
),
'SELECT * FROM {table} WHERE field = "%s"' => array(
'SELECT * FROM {table} WHERE field = "%s"',
t('SQL percent sign left untouched.'),
),
);
foreach ($checks as $string => $expectations) {
list($expected_result, $message) = $expectations;

View File

@@ -12,7 +12,7 @@ class CtoolsCssTestCase extends DrupalWebTestCase {
return array(
'name' => 'CSS Tools tests',
'description' => '...',
'group' => 'Chaos Tools Suite',
'group' => 'ctools',
);
}

View File

@@ -16,7 +16,7 @@ class CtoolsObjectCache extends DrupalWebTestCase {
return array(
'name' => 'Ctools CSS cache',
'description' => 'Tests the custom CSS cache handler.',
'group' => 'Chaos Tools Suite',
'group' => 'ctools',
);
}

View File

@@ -12,7 +12,7 @@ class CtoolsPluginsGetInfoTestCase extends DrupalWebTestCase {
return array(
'name' => 'Get plugin info',
'description' => 'Verify that plugin type definitions can properly set and overide values.',
'group' => 'Chaos Tools Suite',
'group' => 'ctools',
);
}

View File

@@ -14,7 +14,7 @@ class CtoolsExportCrudTestCase extends DrupalWebTestCase {
return array(
'name' => 'CTools export CRUD tests',
'description' => 'Test the CRUD functionality for the ctools export system.',
'group' => 'Chaos Tools Suite',
'group' => 'ctools',
);
}

View File

@@ -8,9 +8,9 @@ hidden = TRUE
files[] = ctools_export.test
; Information added by Drupal.org packaging script on 2016-10-16
version = "7.x-1.11"
; Information added by Drupal.org packaging script on 2016-11-22
version = "7.x-1.12"
core = "7.x"
project = "ctools"
datestamp = "1476581654"
datestamp = "1479787162"

View File

@@ -12,9 +12,9 @@ files[] = math_expression.test
files[] = math_expression_stack.test
hidden = TRUE
; Information added by Drupal.org packaging script on 2016-10-16
version = "7.x-1.11"
; Information added by Drupal.org packaging script on 2016-11-22
version = "7.x-1.12"
core = "7.x"
project = "ctools"
datestamp = "1476581654"
datestamp = "1479787162"

View File

@@ -13,7 +13,7 @@ class CtoolsMathExpressionTestCase extends DrupalWebTestCase {
return array(
'name' => 'CTools math expression tests',
'description' => 'Test the math expression library of ctools.',
'group' => 'Chaos Tools Suite',
'group' => 'ctools',
);
}

View File

@@ -13,7 +13,7 @@ class CtoolsMathExpressionStackTestCase extends DrupalWebTestCase {
return array(
'name' => 'CTools math expression stack tests',
'description' => 'Test the stack class of the math expression library.',
'group' => 'Chaos Tools Suite',
'group' => 'ctools',
);
}

View File

@@ -12,7 +12,7 @@ class CtoolsObjectCache extends DrupalWebTestCase {
return array(
'name' => 'Ctools object cache storage',
'description' => 'Verify that objects are written, readable and lockable.',
'group' => 'Chaos Tools Suite',
'group' => 'ctools',
);
}