예제 #1
0
 public void SetUp()
 {
     this.engine = EngineFactory.Twitter();
 }
예제 #2
0
 public void SetUp()
 {
     this.engine = EngineFactory.Bing();
 }
 public void SetUp()
 {
     this.engine = EngineFactory.GooglePlus("AIzaSyDazHELlbnIFLkH_3p9L5hPo70tJVk-vO4");
 }
예제 #4
0
 public void SetUp()
 {
     this.engine = EngineFactory.Twitter(new TwitterAuthorization());
 }
 public void SetUp()
 {
     this.engine = EngineFactory.GoogleSites();
 }
예제 #6
0
 public void SetUp()
 {
     this.engine = EngineFactory.Facebook();
 }
 public void SetUp()
 {
     this.engine = EngineFactory.GooglePlus(new GooglePlusAuthorization { ApiKey = "AIzaSyDazHELlbnIFLkH_3p9L5hPo70tJVk-vO4" });
 }
예제 #8
0
 public void SetUp()
 {
     this.engine = EngineFactory.Facebook(new FacebookAuthorization { Token = "Access_Token" });
 }
예제 #9
0
 public void SetUp()
 {
     this.engine = EngineFactory.Yahoo();
 }
예제 #10
0
        public void SetUp()
        {
            this.configuration = new Mock<IEngineConfiguration>();
            this.parser = new Mock<IParser>();
            this.urlBuilder = new Mock<IUrlBuilder>();
            this.spider = new Mock<Spider>();

            this.configuration.Setup(c => c.Parser).Returns(this.parser.Object);
            this.configuration.Setup(c => c.UrlBuilder).Returns(this.urlBuilder.Object);
            this.configuration.Setup(c => c.Spider).Returns(this.spider.Object);
            this.engine = new Engine(this.configuration.Object);
        }