summaryrefslogtreecommitdiff
path: root/modules/field/field.test
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-05-26 09:12:29 +0000
committerDries Buytaert <dries@buytaert.net>2009-05-26 09:12:29 +0000
commit3c4be3ab5581c0b53aeea20639f077e25324447f (patch)
treea9aa18888bffc256d8c9d93d39b0d1b53c5dce67 /modules/field/field.test
parent70546d29ff1a64633155e55d2973325164b01ba3 (diff)
downloadbrdo-3c4be3ab5581c0b53aeea20639f077e25324447f.tar.gz
brdo-3c4be3ab5581c0b53aeea20639f077e25324447f.tar.bz2
- Patch #472658 by agentrickard: clean up of inline code comments.
Diffstat (limited to 'modules/field/field.test')
-rw-r--r--modules/field/field.test18
1 files changed, 10 insertions, 8 deletions
diff --git a/modules/field/field.test b/modules/field/field.test
index 61f8009e4..429b8e77e 100644
--- a/modules/field/field.test
+++ b/modules/field/field.test
@@ -978,17 +978,19 @@ class FieldFormTestCase extends DrupalWebTestCase {
$field_values = array_values($field_values);
$this->assertIdentical($entity->{$this->field_name}, $field_values, 'Field values were saved in the correct order');
- // display edit form: check that the expected number of widgets is displayed, with correct values
- // change values, reorder, leave an empty value in the middle, submit: check that the entity is updated with correct values
- // re-submit: check that the field can be emptied.
+ // Display edit form: check that the expected number of widgets is
+ // displayed, with correct values change values, reorder, leave an empty
+ // value in the middle.
+ // Submit: check that the entity is updated with correct values
+ // Re-submit: check that the field can be emptied.
// Test with several multiple fields in a form
}
- // check with a multiple widget (implement a textfield with comma separated values)
+ // Check with a multiple widget (implement a textfield with comma separated values).
- // check inaccessible fields are preserved on update
- // check inaccessible fields get default value on insert (not implemented yet)
+ // Check inaccessible fields are preserved on update.
+ // Check inaccessible fields get default value on insert (not implemented yet).
function testFieldFormJSAddMore() {
$this->field = $this->field_unlimited;
@@ -1000,8 +1002,8 @@ class FieldFormTestCase extends DrupalWebTestCase {
// Display creation form -> 1 widget.
$this->drupalGet('test-entity/add/test-bundle');
- // Press 'add more' button a couple times -> 3 widgets
- // The drupalPostAhah() helper will not work iteratively, so we add those
+ // Press 'add more' button a couple times -> 3 widgets.
+ // The drupalPostAhah() helper will not work iteratively, so we add those.
// through non-'JS' submission.
$this->drupalPost(NULL, array(), t('Add another item'));
$this->drupalPost(NULL, array(), t('Add another item'));