Hi Rory,

On Tue, Jan 13, 2009 at 6:35 PM, Rory Douglas <[email protected]> wrote:
> ...I was tracing through the code in debug yesterday, and I think the problem
> with not considering 2+ component selectors strings is in
> ResourceCollector.getWeightedResources (lines 174-247)....

Could you look at the tests in [1] to see if that clarifies your
question? There are a few testMultipleSelectors..() test methods that
do similar things than what you want to achieve.

Feel free to suggest more tests if that makes sense - I'd like that
test class to hold the Absolute Truth About Script Selection ;-)

-Bertrand

[1] 
http://svn.apache.org/repos/asf/incubator/sling/trunk/servlets/resolver/src/test/java/org/apache/sling/servlets/resolver/helper/ScriptSelectionTest.java

Reply via email to