Skip to content

Commit

Permalink
Merge pull request #772 from moosetechnology/testing-on-namedEntity
Browse files Browse the repository at this point in the history
Add test method on TNamedEntity
  • Loading branch information
jecisc authored May 15, 2024
2 parents 0baedaa + cea5635 commit 50ab554
Show file tree
Hide file tree
Showing 22 changed files with 148 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ FamixBasicInfrastructureGenerator >> defineClasses [
sourcedEntity := builder newAbstractClassNamed: #SourcedEntity.
comment := builder newClassNamed: #Comment.
namedEntity := builder newAbstractClassNamed: #NamedEntity.
namedEntity withTesting.
sourceTextAnchor := builder newClassNamed: #SourceTextAnchor
]

Expand Down
7 changes: 7 additions & 0 deletions src/Famix-Java-Entities/FamixJavaEntity.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,13 @@ FamixJavaEntity >> isMethod [
^ false
]

{ #category : #testing }
FamixJavaEntity >> isNamedEntity [

<generated>
^ false
]

{ #category : #testing }
FamixJavaEntity >> isPackage [

Expand Down
7 changes: 7 additions & 0 deletions src/Famix-Java-Entities/FamixJavaNamedEntity.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,13 @@ FamixJavaNamedEntity class >> isAbstract [
^ self == FamixJavaNamedEntity
]

{ #category : #testing }
FamixJavaNamedEntity >> isNamedEntity [

<generated>
^ true
]

{ #category : #'Famix-Extensions' }
FamixJavaNamedEntity >> stubFormattedName [
^ self isStub
Expand Down
7 changes: 7 additions & 0 deletions src/Famix-PharoSmalltalk-Entities/FamixStEntity.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,13 @@ FamixStEntity >> isMethod [
^ false
]

{ #category : #testing }
FamixStEntity >> isNamedEntity [

<generated>
^ false
]

{ #category : #testing }
FamixStEntity >> isNamespace [

Expand Down
7 changes: 7 additions & 0 deletions src/Famix-PharoSmalltalk-Entities/FamixStNamedEntity.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,13 @@ FamixStNamedEntity class >> isAbstract [
^ self == FamixStNamedEntity
]

{ #category : #testing }
FamixStNamedEntity >> isNamedEntity [

<generated>
^ true
]

{ #category : #'Famix-Extensions' }
FamixStNamedEntity >> stubFormattedName [
^ self isStub
Expand Down
7 changes: 7 additions & 0 deletions src/Famix-Test1-Entities/FamixTest1Entity.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,13 @@ FamixTest1Entity >> isMethod [
^ false
]

{ #category : #testing }
FamixTest1Entity >> isNamedEntity [

<generated>
^ false
]

{ #category : #testing }
FamixTest1Entity >> isQueryable [

Expand Down
7 changes: 7 additions & 0 deletions src/Famix-Test1-Entities/FamixTest1NamedEntity.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,10 @@ FamixTest1NamedEntity class >> isAbstract [
<generated>
^ self == FamixTest1NamedEntity
]

{ #category : #testing }
FamixTest1NamedEntity >> isNamedEntity [

<generated>
^ true
]
7 changes: 7 additions & 0 deletions src/Famix-Test2-Entities/FamixTest2Entity.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,13 @@ FamixTest2Entity >> isInheritance [
^ false
]

{ #category : #testing }
FamixTest2Entity >> isNamedEntity [

<generated>
^ false
]

{ #category : #testing }
FamixTest2Entity >> isQueryable [

Expand Down
7 changes: 7 additions & 0 deletions src/Famix-Test2-Entities/FamixTest2NamedEntity.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,10 @@ FamixTest2NamedEntity class >> isAbstract [
<generated>
^ self == FamixTest2NamedEntity
]

{ #category : #testing }
FamixTest2NamedEntity >> isNamedEntity [

<generated>
^ true
]
7 changes: 7 additions & 0 deletions src/Famix-Test3-Entities/FamixTest3Entity.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,13 @@ FamixTest3Entity >> isMethod [
^ false
]

{ #category : #testing }
FamixTest3Entity >> isNamedEntity [

<generated>
^ false
]

{ #category : #testing }
FamixTest3Entity >> isPackage [

Expand Down
7 changes: 7 additions & 0 deletions src/Famix-Test3-Entities/FamixTest3NamedEntity.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,10 @@ FamixTest3NamedEntity class >> isAbstract [
<generated>
^ self == FamixTest3NamedEntity
]

{ #category : #testing }
FamixTest3NamedEntity >> isNamedEntity [

<generated>
^ true
]
7 changes: 7 additions & 0 deletions src/Famix-Test3-Entities/FamixTest3TypeGroup.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,13 @@ FamixTest3TypeGroup >> isMethod [
^ false
]

{ #category : #testing }
FamixTest3TypeGroup >> isNamedEntity [

<generated>
^ false
]

{ #category : #testing }
FamixTest3TypeGroup >> isPackage [

Expand Down
7 changes: 7 additions & 0 deletions src/Famix-Test6-Entities/FamixTest6Entity.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,13 @@ FamixTest6Entity class >> metamodel [
^ FamixTest6Model metamodel
]

{ #category : #testing }
FamixTest6Entity >> isNamedEntity [

<generated>
^ false
]

{ #category : #testing }
FamixTest6Entity >> isQueryable [

Expand Down
7 changes: 7 additions & 0 deletions src/Famix-Test6-Entities/FamixTest6NamedEntity.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,10 @@ FamixTest6NamedEntity class >> isAbstract [
<generated>
^ self == FamixTest6NamedEntity
]

{ #category : #testing }
FamixTest6NamedEntity >> isNamedEntity [

<generated>
^ true
]
7 changes: 7 additions & 0 deletions src/Famix-Test7-Entities/FamixTest7Entity.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,13 @@ FamixTest7Entity >> isMethod [
^ false
]

{ #category : #testing }
FamixTest7Entity >> isNamedEntity [

<generated>
^ false
]

{ #category : #testing }
FamixTest7Entity >> isQueryable [

Expand Down
7 changes: 7 additions & 0 deletions src/Famix-Test7-Entities/FamixTest7NamedEntity.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,10 @@ FamixTest7NamedEntity class >> isAbstract [
<generated>
^ self == FamixTest7NamedEntity
]

{ #category : #testing }
FamixTest7NamedEntity >> isNamedEntity [

<generated>
^ true
]
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,13 @@ FamixTestComposed1Entity >> isMethod [
^ false
]

{ #category : #testing }
FamixTestComposed1Entity >> isNamedEntity [

<generated>
^ false
]

{ #category : #testing }
FamixTestComposed1Entity >> isQueryable [

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,10 @@ FamixTestComposed1NamedEntity class >> isAbstract [
<generated>
^ self == FamixTestComposed1NamedEntity
]

{ #category : #testing }
FamixTestComposed1NamedEntity >> isNamedEntity [

<generated>
^ true
]
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,13 @@ FamixTestComposed2Entity >> isMethod [
^ false
]

{ #category : #testing }
FamixTestComposed2Entity >> isNamedEntity [

<generated>
^ false
]

{ #category : #testing }
FamixTestComposed2Entity >> isQueryable [

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,10 @@ FamixTestComposed2NamedEntity class >> isAbstract [
<generated>
^ self == FamixTestComposed2NamedEntity
]

{ #category : #testing }
FamixTestComposed2NamedEntity >> isNamedEntity [

<generated>
^ true
]
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,13 @@ MooseMSEImporterTestEntity >> isMethod [
^ false
]

{ #category : #testing }
MooseMSEImporterTestEntity >> isNamedEntity [

<generated>
^ false
]

{ #category : #testing }
MooseMSEImporterTestEntity >> isNamespace [

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,10 @@ MooseMSEImporterTestNamedEntity class >> isAbstract [
<generated>
^ self == MooseMSEImporterTestNamedEntity
]

{ #category : #testing }
MooseMSEImporterTestNamedEntity >> isNamedEntity [

<generated>
^ true
]

0 comments on commit 50ab554

Please sign in to comment.