@@ -0,0 +1,1300 @@
+package net.sf.clirr.checks;%0A%0Aimport net.sf.clirr.framework.ClassChangeCheck;%0Aimport net.sf.clirr.event.ApiDifference;%0Aimport net.sf.clirr.event.Severity;%0Aimport net.sf.clirr.event.ScopeSelector;%0Aimport net.sf.clirr.framework.ClassSelector;%0A%0A/**%0A * Tests for the ClassModifierCheck class.%0A */%0Apublic class ClassModifierCheckTest extends AbstractCheckTestCase%0A%7B%0A    public void testAll()%0A    %7B%0A        ApiDifference%5B%5D expected = new ApiDifference%5B%5D %7B%0A            new ApiDifference(%22Added final modifier in class testlib.modifiers.NonFinalBecomesFinal%22, Severity.ERROR, %22testlib.modifiers.NonFinalBecomesFinal%22, null, null),%0A            new ApiDifference(%22Added final modifier in class testlib.modifiers.EffectivelyFinal (but class was effectively final anyway)%22, Severity.INFO, %22testlib.modifiers.EffectivelyFinal%22, null, null),%0A        %7D;%0A        verify(expected);%0A    %7D%0A%0A    protected ClassChangeCheck createCheck(TestDiffListener tdl)%0A    %7B%0A        return new ClassModifierCheck(tdl);%0A    %7D%0A%0A    protected ClassSelector createClassSelector()%0A    %7B%0A        // only apply the check to classes in the testlib.modifiers package.%0A        ClassSelector classSelector = new ClassSelector(ClassSelector.MODE_IF);%0A        classSelector.addPackage(%22testlib.modifiers%22);%0A        return classSelector;%0A    %7D%0A%7D%0A

Add tests for ClassModifierCheck.