Example #1
0
        private static void SpiderRun()
        {
            SpiderEventLog.WriteSourceLog("Spider 1010兼职网站爬取程序已启动", "Spider 1010兼职网站爬取程序已启动", EventLogEntryType.Warning);

            Start1010JobsSpider spider1010 = new Start1010JobsSpider();
            spider1010.Run();

            SpiderEventLog.WriteSourceLog("Spider 1010兼职网站爬取程序已结束", "Spider 1010兼职网站爬取程序已结束", EventLogEntryType.Warning);
        }
 public void RunTest()
 {
     Start1010JobsSpider target = new Start1010JobsSpider(); // TODO: 初始化为适当的值
     target.Run();
     Assert.Inconclusive("无法验证不返回值的方法。");
 }
Example #3
0
 static void Main(string[] args)
 {
     Start1010JobsSpider spider1010 = new Start1010JobsSpider();
     spider1010.Run();
 }