forked from pharo-project/pharo
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fe2815c
commit 0197c5a
Showing
12 changed files
with
52 additions
and
52 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
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
14 changes: 7 additions & 7 deletions
14
...estShouldBePackagedInManifestTag.class.st → ...houldBePackagedInManifestTagRule.class.st
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,40 +1,40 @@ | ||
Class { | ||
#name : #RePackageManifestShouldBePackagedInManifestTag, | ||
#name : #RePackageManifestShouldBePackagedInManifestTagRule, | ||
#superclass : #ReAbstractRule, | ||
#category : #'Renraku-Rules' | ||
} | ||
|
||
{ #category : #'testing - interest' } | ||
RePackageManifestShouldBePackagedInManifestTag class >> checksClass [ | ||
RePackageManifestShouldBePackagedInManifestTagRule class >> checksClass [ | ||
|
||
^ true | ||
] | ||
|
||
{ #category : #running } | ||
RePackageManifestShouldBePackagedInManifestTag >> basicCheck: aClass [ | ||
RePackageManifestShouldBePackagedInManifestTagRule >> basicCheck: aClass [ | ||
|
||
^ (aClass inheritsFrom: PackageManifest) and: [ | ||
((aClass package classesForClassTag: 'Manifest') includes: aClass) not ] | ||
] | ||
|
||
{ #category : #accessing } | ||
RePackageManifestShouldBePackagedInManifestTag >> group [ | ||
RePackageManifestShouldBePackagedInManifestTagRule >> group [ | ||
|
||
^ 'Coding Idiom Violation' | ||
] | ||
|
||
{ #category : #accessing } | ||
RePackageManifestShouldBePackagedInManifestTag >> name [ | ||
RePackageManifestShouldBePackagedInManifestTagRule >> name [ | ||
^ 'A package manifest should be tagged using ''Manifest'' class tag' | ||
] | ||
|
||
{ #category : #accessing } | ||
RePackageManifestShouldBePackagedInManifestTag >> rationale [ | ||
RePackageManifestShouldBePackagedInManifestTagRule >> rationale [ | ||
^ 'Check if the package manifest is tagged in class category ''Manifest'' to align with other packages and fulfil common expectations.' | ||
] | ||
|
||
{ #category : #accessing } | ||
RePackageManifestShouldBePackagedInManifestTag >> severity [ | ||
RePackageManifestShouldBePackagedInManifestTagRule >> severity [ | ||
|
||
^ #warning | ||
] |
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