public override void SetUp() { base.SetUp(); target = new ProgressCallbackTestTarget(); sync.Progress += new ProgressCallback(target.OnProgress); sync.Initialize(); sync.Update(); string topicname = "TwoTopic"; theTopic = sync.Namespaces["A"].Topics[topicname]; SetUpConflict(theTopic); sync.SyncToLocal(); sync.SyncToRemote(); Assert.AreEqual(Status.InConflict, theTopic.Status, "Checking that status is now 'InConflict'"); localContents = Utilities.GetTopicContent(theTopic); remoteContents = proxy.GetLatestText(theTopic.Namespace.Name, theTopic.Name); }
public override void SetUp() { base.SetUp(); target = new ProgressCallbackTestTarget(); sync.Progress += new ProgressCallback(target.OnProgress); }