I've submitted a patch which uses this new method, local test fixtures, here: 
https://issues.apache.org/jira/browse/SHINDIG-1511

- Eric W.

On Feb 26, 2011, at 1:39 PM, Eric Woods wrote:

> Completely agree, Matt.  All comparisons will be deep comparisons between 
> DOMs or JSONObjects.  I've written a couple of utility methods to do the deep 
> comparisons, which ignores whitespace and element ordering.  So far, it's 
> made the whole testing process MUCH cleaner and maintainable for future 
> revisions to these data components.
> 
> One question: I'm loading the test fixtures using Shindig's ResourceLoader.  
> Unfortunately, this loader seems to require that the test data exist in a 
> subdirectory of "content."  I'd like to keep the fixture data within a 
> "fixture" folder alongside the actual Java test code.  Does anyone have a 
> preferred way of doing this?
> 
> Thanks,
> - Eric W.

Reply via email to