Assert.assertEquals(1, stat.getOSWindowsCount());
}
public void test_agent_ipad() throws Exception {
WebAppStat stat = new WebAppStat("");
stat.computeUserAgent("Mozilla/5.0 (iPad; U; CPU OS 4_2_1 like Mac OS X; zh-cn) AppleWebKit/533.17.9 (KHTML, like Gecko) ");
Assert.assertEquals(0, stat.getBrowserIECount());
Assert.assertEquals(1, stat.getOSMacOSXCount());
Assert.assertEquals(1, stat.getDeviceIpadCount());
}