• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

moosetechnology / GitProjectHealth / 13453448420

21 Feb 2025 09:02AM UTC coverage: 62.262% (+0.009%) from 62.253%
13453448420

Pull #134

github

web-flow
Merge fc015d9c3 into ddb3b9f35
Pull Request #134: WIP: fix closedMoergeRequest first test

707 of 710 new or added lines in 29 files covered. (99.58%)

5 existing lines in 2 files now uncovered.

9787 of 15719 relevant lines covered (62.26%)

0.62 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

88.06
/src/GitLabHealth-Model-Analysis-Tests/GLPHImporterMock.class.st
1
Class {
2
        #name : #GLPHImporterMock,
3
        #superclass : #Object,
4
        #instVars : [
5
                'commits',
6
                'commitDiffs',
7
                'mergeRequests',
8
                'glhModel'
9
        ],
10
        #category : #'GitLabHealth-Model-Analysis-Tests'
11
}
12

13
{ #category : #commit }
14
GLPHImporterMock >> chainsCommitsFrom: fromCommits [
1✔
15
        ^self
1✔
16
         
1✔
17
]
1✔
18

19
{ #category : #accessing }
20
GLPHImporterMock >> commits [
1✔
21

1✔
22
        ^ commits
1✔
23
]
1✔
24

25
{ #category : #accessing }
26
GLPHImporterMock >> commits: anObject [
1✔
27

1✔
28
        commits := anObject
1✔
29
]
1✔
30

31
{ #category : #'as yet unclassified' }
32
GLPHImporterMock >> completeImportedCommit: commit [
1✔
33
        ^self
1✔
34
]
1✔
35

36
{ #category : #accessing }
37
GLPHImporterMock >> glhModel [
1✔
38

1✔
39
        ^ glhModel
1✔
40
]
1✔
41

42
{ #category : #accessing }
43
GLPHImporterMock >> glhModel: anObject [
×
44

×
45
        glhModel := anObject
×
46
]
×
47

48
{ #category : #commit }
49
GLPHImporterMock >> importCommitsOfProject: project since: since until: until [
1✔
50

1✔
51
        self flag: 'Adds commits regardless of their creation date !'.
1✔
52
        glhModel addAll: commits.
1✔
53
        ^ commits
1✔
54
]
1✔
55

56
{ #category : #'as yet unclassified' }
57
GLPHImporterMock >> importCreatorOfCommit: commit [
1✔
58

1✔
59
        ^self
1✔
60
]
1✔
61

62
{ #category : #'import - merge request' }
63
GLPHImporterMock >> importMergeRequestCommits: mergeRequest [
1✔
64

1✔
65
        mergeRequest commits: self commits
1✔
66
]
1✔
67

68
{ #category : #'import - merge request' }
69
GLPHImporterMock >> importMergeRequests: project since: since until: until [
1✔
70

1✔
71
        self flag: 'Adds MR regardless of their creation date !'.
1✔
72
        glhModel addAll: mergeRequests.
1✔
73
        ^ mergeRequests
1✔
74
]
1✔
75

76
{ #category : #'import - merge request' }
77
GLPHImporterMock >> importMergeResquestAuthor: mr [
1✔
78
        ^self
1✔
79
]
1✔
80

81
{ #category : #'import - merge request' }
82
GLPHImporterMock >> importMergeResquestMerger: mergeRequest [
1✔
83
        ^self
1✔
84
]
1✔
85

86
{ #category : #initialization }
87
GLPHImporterMock >> initialize [
1✔
88

1✔
89
        commits := OrderedCollection new.
1✔
90
        mergeRequests := OrderedCollection new.
1✔
91

1✔
92
        glhModel := GLHModel new name: 'model'
1✔
93
]
1✔
94

95
{ #category : #accessing }
UNCOV
96
GLPHImporterMock >> mergeRequests [
×
97

×
98
        ^ mergeRequests
×
99
]
×
100

101
{ #category : #accessing }
102
GLPHImporterMock >> mergeRequests: anObject [
1✔
103

1✔
104
        mergeRequests := anObject
1✔
105
]
1✔
106

107
{ #category : #accessing }
108
GLPHImporterMock >> withCommitDiffs: aCommitDiffs [
1✔
109
        commitDiffs := aCommitDiffs 
1✔
110
]
1✔
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc