-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #16 from moosetechnology/main
rebase develop from main
- Loading branch information
Showing
26 changed files
with
378 additions
and
123 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
Package { #name : #BaselineOfGitLabHealth } | ||
Package { #name : 'BaselineOfGitLabHealth' } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
" | ||
A GLPHEChangeTest is a test class for testing the behavior of GLPHEChange | ||
" | ||
Class { | ||
#name : #GLPHEChangeTest, | ||
#superclass : #TestCase, | ||
#category : #'GLPHExtended-Model-Tests-Entities' | ||
} | ||
|
||
{ #category : #tests } | ||
GLPHEChangeTest >> testNewEntityFromString [ | ||
|
||
| change | | ||
change := GLPHEChange newFrom: '+ helloWorld'. | ||
self assert: change class equals: GLPHEAddition. | ||
self assert: change sourceCode equals: '+ helloWorld' | ||
] | ||
|
||
{ #category : #tests } | ||
GLPHEChangeTest >> testNewEntityFromStringDeletion [ | ||
|
||
| change | | ||
change := GLPHEChange newFrom: '- helloWorld'. | ||
self assert: change class equals: GLPHEDeletion. | ||
self assert: change sourceCode equals: '- helloWorld' | ||
] | ||
|
||
{ #category : #tests } | ||
GLPHEChangeTest >> testNewEntityFromStringLOC [ | ||
|
||
| change | | ||
change := GLPHEChange newFrom: 'helloWorld'. | ||
self assert: change class equals: GLPHELineOfCode. | ||
self assert: change sourceCode equals: 'helloWorld' | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
" | ||
A GLPHEDiffRangeTest is a test class for testing the behavior of GLPHEDiffRange | ||
" | ||
Class { | ||
#name : #GLPHEDiffRangeTest, | ||
#superclass : #TestCase, | ||
#category : 'GLPHExtended-Model-Tests-Entities' | ||
} | ||
|
||
{ #category : #tests } | ||
GLPHEDiffRangeTest >> testNewEntityFromString [ | ||
|
||
| diffRange | | ||
diffRange := GLPHEDiffRange newFrom: | ||
'@@ -15,9 +15,9 @@ LLMModifierTest >> testGetViolationsMessage ['. | ||
self assert: diffRange originalLineRange equals: '-15,9'. | ||
self assert: diffRange newLineRange equals: '+15,9' | ||
] | ||
|
||
{ #category : #tests } | ||
GLPHEDiffRangeTest >> testNewEntityFromStringWithDifferentValues [ | ||
|
||
| diffRange | | ||
diffRange := GLPHEDiffRange newFrom: | ||
'@@ -15,7 +15,8 @@ LLMModifier >> getViolationsMessage: violations ['. | ||
self assert: diffRange originalLineRange equals: '-15,7'. | ||
self assert: diffRange newLineRange equals: '+15,8' | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Package { #name : #'GLPHExtended-Model-Tests' } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.