Ejemplo n.º 1
0
		public virtual void Setup()
		{
			// Back up the wiki configuration
			OldWikiState = TestUtilities.BackupWikiState(); 

			// Recreate the wiki each time so we start from a known state
			string path = System.Guid.NewGuid().ToString();
			TheFederation = TestUtilities.CreateFederation(path, FederationContent); 

			// Establish a link maker
			TheLinkMaker = new LinkMaker(TestUtilities.BaseUrl);

			// And a browser
			TheBrowser = new Browser();
		}
Ejemplo n.º 2
0
		public DocumentElement(IHTMLDocument3 d, Browser b)
		{
			_Element = d;
			_Browser = b;
		}