This is a first pass of some of the base functionality for core aggregator.module. It incorporates feed adding, and feed item & feed updating and deleting. poetro has worked on the category areas and hopefully should be able to merge in those issues. Let us know if this seems to be moving in at least the right direction, and we can hopefully polish off the remainder. The more feedback you can provide the better. Thanks!
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | aggregator_module_test.txt | 8.83 KB | csevb10 |
| aggregator_module_test.txt | 8.83 KB | csevb10 |
Comments
Comment #1
alex_b commentedThere are plans revamp aggregator for D7 - I will announce more soon. I just wanted to deposit this here as it might matter.
Comment #2
boombatower commentedI get a lot of errors when I run the test. You may want to check it over. I'm not sure if there have been changes to aggregator or what.
As a note make sure you write your tests for Drupal HEAD modules.
Comment #3
csevb10 commented@alex_b: I've always been in favor of revamping aggregator, so I was a little reluctant to do aggregator testing as a result, but it was the first one to be handed out, so until we swap out, I figure we'll keep pushing this one as far forward as possible.
@boombatower: Ok, I'll pull down the code, add the test to my local env, and see why things are in an error state, and then post a new file.
Comment #4
alex_b commentedcsevb10: I agree. For the record, Aron's D7 proposal: http://groups.drupal.org/node/9857
Comment #5
csevb10 commentedalex_b: Yep. I read it already. No choice but to keep up on the aggregation world. :-)
Comment #6
csevb10 commentedboombatower: Ok, we did it for the latest DRUPAL-6 branch release of Drupal core. We'll revise/rewrite for Drupal HEAD (i.e. D7).
Comment #7
csevb10 commentedOk, here's an updated version that works on DRUPAL-6 & HEAD
Comment #8
boombatower commentedCommitted.
As a note it threw exceptions when trying to execute:
This is due to $prefix being defined as static:
When accessing static properties use the following syntax:
For more information: http://us3.php.net/manual/en/language.oop5.static.php.
Otherwise great test!
Thanks.
Comment #9
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.