* Test the specificity values returned from the
* InlineStyleSpecificityCalculator always exceed a standard Specificity
* Calculator
*/
public void testInlineCalculatorExceedsStandardCalculator() {
SpecificityCalculator standardCalculator =
new SpecificityCalculatorImpl();
checkCalculatorTakePresidence(standardCalculator);
calculator.addAttributeSelector();
standardCalculator.addAttributeSelector();
checkCalculatorTakePresidence(standardCalculator);
calculator.addClassSelector();
standardCalculator.addClassSelector();
checkCalculatorTakePresidence(standardCalculator);
calculator.addElementSelector();
standardCalculator.addElementSelector();
checkCalculatorTakePresidence(standardCalculator);
calculator.addIDSelector();
standardCalculator.addIDSelector();
checkCalculatorTakePresidence(standardCalculator);
calculator.addPseudoClassSelector();
standardCalculator.addPseudoClassSelector();
checkCalculatorTakePresidence(standardCalculator);
calculator.addPseudoElementSelector();
standardCalculator.addPseudoElementSelector();
checkCalculatorTakePresidence(standardCalculator);
calculator.reset();
standardCalculator.reset();
checkCalculatorTakePresidence(standardCalculator);
}