Examples of resetHitCount()


Examples of org.apache.roller.business.WeblogManager.resetHitCount()

        assertEquals(20, testCount.getDailyHits());
        testCount = mgr.getHitCount(cnt3.getId());
        assertEquals(30, testCount.getDailyHits());
       
        // reset count for one weblog
        mgr.resetHitCount(blog1);
        TestUtils.endSession(true);
       
        // make sure it reset only one weblog
        testCount = mgr.getHitCount(cnt1.getId());
        assertEquals(0, testCount.getDailyHits());
View Full Code Here

Examples of org.apache.roller.weblogger.business.WeblogManager.resetHitCount()

            testCount = mgr.getHitCount(cnt3.getId());
            assertEquals(30, testCount.getDailyHits());

            // reset count for one weblog
            blog1 = TestUtils.getManagedWebsite(blog1);
            mgr.resetHitCount(blog1);
            TestUtils.endSession(true);

            // make sure it reset only one weblog
            testCount = mgr.getHitCount(cnt1.getId());
            assertEquals(0, testCount.getDailyHits());
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.