예제 #1
0
        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()
            });
        }
예제 #2
0
        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();
        }
예제 #3
0
        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();
        }
예제 #4
0
 protected override void SetUp()
 {
     base.SetUp();
     jira = FakeJira.InMemory("http://fake.jira.int", User(),
                              new JiraMetadataProvider(new[] { typeof(JiraCustomIssue) }));
 }
예제 #5
0
 protected static IJira CreateJira()
 {
     return(FakeJira.InMemory("http://fake.jira.int", TestMetadata.User,
                              new JiraMetadataProvider(new[] { typeof(JiraCustomIssue) })));
 }