Examples of computeUserAgent()


Examples of com.alibaba.druid.support.http.stat.WebAppStat.computeUserAgent()

        Assert.assertEquals(1, stat.getBotCount());
    }
   
    public void test_KaloogaBot() throws Exception {
        WebAppStat stat = new WebAppStat("");
        stat.computeUserAgent("Mozilla/5.0 (compatible; KaloogaBot; http://kalooga.com/crawler)");
       
        Assert.assertEquals(1, stat.getBotCount());
    }
   
    public void test_YandexBot() throws Exception {
View Full Code Here

Examples of com.alibaba.druid.support.http.stat.WebAppStat.computeUserAgent()

        Assert.assertEquals(1, stat.getBotCount());
    }
   
    public void test_YandexBot() throws Exception {
        WebAppStat stat = new WebAppStat("");
        stat.computeUserAgent("Mozilla/5.0 (compatible; YandexBot/3.0; +http://yandex.com/bots)");
       
        Assert.assertEquals(1, stat.getBotCount());
    }
   
    public void test_Ezooms() throws Exception {
View Full Code Here

Examples of com.alibaba.druid.support.http.stat.WebAppStat.computeUserAgent()

        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());
    }
   
    public void test_Exabot() throws Exception {
View Full Code Here

Examples of com.alibaba.druid.support.http.stat.WebAppStat.computeUserAgent()

        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());
    }
   
    public void test_mahonie() throws Exception {
View Full Code Here

Examples of com.alibaba.druid.support.http.stat.WebAppStat.computeUserAgent()

        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());
    }
   
    public void test_AhrefsBot() throws Exception {
View Full Code Here

Examples of com.alibaba.druid.support.http.stat.WebAppStat.computeUserAgent()

        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());
    }
   
    public void test_Crawler() throws Exception {
View Full Code Here

Examples of com.alibaba.druid.support.http.stat.WebAppStat.computeUserAgent()

        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());
    }
   
    public void test_yodao() throws Exception {
View Full Code Here

Examples of com.alibaba.druid.support.http.stat.WebAppStat.computeUserAgent()

        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());
    }
   
    public void test_BeetleBot() throws Exception {
View Full Code Here

Examples of com.alibaba.druid.support.http.stat.WebAppStat.computeUserAgent()

        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());
    }
   
    public void test_findlinks() throws Exception {
View Full Code Here

Examples of com.alibaba.druid.support.http.stat.WebAppStat.computeUserAgent()

        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());
    }
   
    public void test_Updownerbot() throws Exception {
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.