Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
field system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
13 Nov 2012 at 05:56 UTC
Updated:
29 Jul 2014 at 21:30 UTC
Jump to comment: Most recent file
Comments
Comment #1
berdirNo test coverage yet, not really sure how much use that actually is. I't just a copy & paste of other tests.
What might be interesting would be to test shape as that does not use ->value but shape and color.
Comment #3
berdir#1: field-test-1839082-1.patch queued for re-testing.
Comment #4
fagoThis should reference the class now, for both field types. Else it looks good to me, so let's add basic test coverages and move on?
Comment #5
berdirAdded test for both field types, including a base test class for all field type item tests with a faster setup (less full module installs) and converted existing tests to that base class.
Comment #6
fagoGreat work on the tests!
shape field?
again, field field.
ouch. Can we rename the function instead?
Comment #7
berdirWill re-roll for the other two changes. I'd like to keep changes to the test_entity related code as minimal as possible. I am working on completely replacing it over in #1822000: Remove Drupal\field_test\Plugin\Entity\Type\TestEntity in favor of EntityTest. The function is references quite a bit from other files that I would have to change as well.
Comment #8
berdirFixed the comments.
Comment #9
fagoThanks, new comments read good.
Sounds good!
Comment #10
webchickCommitted and pushed to 8.x. Thanks!