protected override void TearDown() { try { fileJira.Drop(); inMemoryJira.Drop(); } finally { base.TearDown(); } }
protected override void SetUp() { base.SetUp(); var metadataProvider = new JiraMetadataProvider(new Type[0]); var folderPath = Path.Combine(Path.GetTempPath(), "fileJiraStore"); fileJira = FakeJira.File(folderPath, "http://fake.jira.int", new JiraUser(), metadataProvider); inMemoryJira = FakeJira.InMemory("http://fake.jira.int", new JiraUser(), metadataProvider); fileJira.Drop(); inMemoryJira.Drop(); }
protected override void SetUp() { base.SetUp(); var metadataProvider = new JiraMetadataProvider(new[] { typeof(JiraCustomIssue) }); var folderPath = Path.Combine(Path.GetTempPath(), "fileJiraImplementation"); fileJira = FakeJira.File(folderPath, "http://fake.jira.int", TestMetadata.User, metadataProvider); memoryJira = FakeJira.InMemory("http://fake.jira.int", TestMetadata.User, metadataProvider); fileJira.Drop(); memoryJira.Drop(); }