assertSame(barScript, found.last());
}
}
public void testStyleOrder() {
StandardStylesheetReference fooStyle = new StandardStylesheetReference(
"foo", 0);
StandardStylesheetReference barStyle = new StandardStylesheetReference(
"bar", 1);
assertTrue(fooStyle.compareTo(barStyle) < 0);
assertTrue(barStyle.compareTo(fooStyle) > 0);
assertTrue(fooStyle.compareTo(fooStyle) == 0);
assertTrue(barStyle.compareTo(barStyle) == 0);
{
ArtifactSet set = new ArtifactSet();
// Add in order.
set.add(fooStyle);