protected override void SetUp() { base.SetUp(); var metadataProvider = new JiraMetadataProvider(GetIssueTypes()); jira = FakeJira.InMemory("http://fake.jira.int", new JiraUser(), metadataProvider); provider = new JiraQueryProvider(jira, metadataProvider, new LoggingSettings { Level = LogLevel.None, Logger = new ConsoleLogger() }); }
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(); }
protected override void SetUp() { base.SetUp(); jira = FakeJira.InMemory("http://fake.jira.int", User(), new JiraMetadataProvider(new[] { typeof(JiraCustomIssue) })); }
protected static IJira CreateJira() { return(FakeJira.InMemory("http://fake.jira.int", TestMetadata.User, new JiraMetadataProvider(new[] { typeof(JiraCustomIssue) }))); }