Package com.alibaba.druid.support.http.stat

Examples of com.alibaba.druid.support.http.stat.WebAppStat


       
        Assert.assertEquals(1, stat.getBotCount());
    }
   
    public void test_Ezooms() throws Exception {
        WebAppStat stat = new WebAppStat("");
        stat.computeUserAgent("Mozilla/5.0 (compatible; Ezooms/1.0; ezooms.bot@gmail.com)");
       
        Assert.assertEquals(1, stat.getBotCount());
    }
View Full Code Here


       
        Assert.assertEquals(1, stat.getBotCount());
    }
   
    public void test_Exabot() throws Exception {
        WebAppStat stat = new WebAppStat("");
        stat.computeUserAgent("Mozilla/5.0 (compatible; Exabot/3.0; +http://www.exabot.com/go/robot)");
       
        Assert.assertEquals(1, stat.getBotCount());
    }
View Full Code Here

       
        Assert.assertEquals(1, stat.getBotCount());
    }
   
    public void test_mahonie() throws Exception {
        WebAppStat stat = new WebAppStat("");
        stat.computeUserAgent("mahonie, neofonie search:robot/search:robot/0.0.1 (This is the MIA Bot - crawling for mia research project. If you feel unhappy and do not want to be visited by our crawler send an email to spider@neofonie.de; http://spider.neofonie.de; spider@neofonie.de)");
       
        Assert.assertEquals(1, stat.getBotCount());
    }
View Full Code Here

       
        Assert.assertEquals(1, stat.getBotCount());
    }
   
    public void test_AhrefsBot() throws Exception {
        WebAppStat stat = new WebAppStat("");
        stat.computeUserAgent("Mozilla/5.0 (compatible; AhrefsBot/3.0; +http://ahrefs.com/robot/)");
       
        Assert.assertEquals(1, stat.getBotCount());
    }
View Full Code Here

       
        Assert.assertEquals(1, stat.getBotCount());
    }
   
    public void test_Crawler() throws Exception {
        WebAppStat stat = new WebAppStat("");
        stat.computeUserAgent("Mozilla/5.0 (compatible; SISTRIX Crawler; http://crawler.sistrix.net/)");
       
        Assert.assertEquals(1, stat.getBotCount());
    }
View Full Code Here

       
        Assert.assertEquals(1, stat.getBotCount());
    }
   
    public void test_yodao() throws Exception {
        WebAppStat stat = new WebAppStat("");
        stat.computeUserAgent("Mozilla/5.0 (compatible; YodaoBot/1.0; http://www.yodao.com/help/webmaster/spider/; )");
       
        Assert.assertEquals(1, stat.getBotCount());
    }
View Full Code Here

       
        Assert.assertEquals(1, stat.getBotCount());
    }
   
    public void test_BeetleBot() throws Exception {
        WebAppStat stat = new WebAppStat("");
        stat.computeUserAgent("Mozilla/5.0 (compatible; BeetleBot; )");
       
        Assert.assertEquals(1, stat.getBotCount());
    }
View Full Code Here

       
        Assert.assertEquals(1, stat.getBotCount());
    }
   
    public void test_findlinks() throws Exception {
        WebAppStat stat = new WebAppStat("");
        stat.computeUserAgent("findlinks/2.1.5 (+http://wortschatz.uni-leipzig.de/findlinks/)");
       
        Assert.assertEquals(1, stat.getBotCount());
    }
View Full Code Here

       
        Assert.assertEquals(1, stat.getBotCount());
    }
   
    public void test_Updownerbot() throws Exception {
        WebAppStat stat = new WebAppStat("");
        stat.computeUserAgent("Updownerbot (+http://www.updowner.com/bot)");
       
        Assert.assertEquals(1, stat.getBotCount());
    }
View Full Code Here

       
        Assert.assertEquals(1, stat.getBotCount());
    }
   
    public void test_archiveOrgBot() throws Exception {
        WebAppStat stat = new WebAppStat("");
        stat.computeUserAgent("Mozilla/5.0 (compatible; archive.org_bot +http://www.archive.org/details/archive.org_bot)");
       
        Assert.assertEquals(1, stat.getBotCount());
    }
View Full Code Here

TOP

Related Classes of com.alibaba.druid.support.http.stat.WebAppStat

Copyright © 2018 www.massapicom. 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.