@@ -62,7 +62,7 @@ FamixTMethod >> isCalledInHierarchyOnly [
6262
6363 invokingTypes := (self incomingInvocations collect: [ :each |
6464 each source parentType ]) reject: [ :each |
65- each isCBTestCase ].
65+ each isTestCase ].
6666
6767 invokingTypes ifEmpty: [ ^ false ].
6868
@@ -73,10 +73,9 @@ FamixTMethod >> isCalledInHierarchyOnly [
7373FamixTMethod >> isCalledInternallyOnly [
7474
7575 | incoInvocSources |
76-
7776 incoInvocSources := (self incomingInvocations collect: [ :each |
7877 each source ]) reject: [ :each |
79- each parentType isCBTestCase ].
78+ each parentType isTestCase ].
8079
8180 ^ incoInvocSources isNotEmpty and : [
8281 incoInvocSources allSatisfy: [ :i |
@@ -129,12 +128,10 @@ FamixTMethod >> isTestCaseMethod [
129128
130129{ #category : ' *Moose-Blueprint-Models' }
131130FamixTMethod >> isTestExternalImplementation [
132-
133131 " Here we do not care if it is called by other test methods"
134132
135133 | invocationSources |
136-
137- self parentType isCBTestCase ifFalse: [ ^ false ].
134+ self parentType isTestCase ifFalse: [ ^ false ].
138135 invocationSources := self incomingInvocations collect: [ :each |
139136 each source ].
140137
@@ -151,12 +148,10 @@ FamixTMethod >> isTestInternal [
151148
152149{ #category : ' *Moose-Blueprint-Models' }
153150FamixTMethod >> isTestInternalImplementation [
154-
155151 " theinconveince is that it might be called by another internal test implementation of another test class"
156152
157153 | invocationSources |
158-
159- self parentType isCBTestCase ifFalse: [ ^ false ].
154+ self parentType isTestCase ifFalse: [ ^ false ].
160155 invocationSources := self incomingInvocations collect: [ :each |
161156 each source ].
162157
@@ -168,15 +163,15 @@ FamixTMethod >> isTestInternalImplementation [
168163{ #category : ' *Moose-Blueprint-Models' }
169164FamixTMethod >> isTestMethod [
170165
171- ^ self parentType isCBTestCase and : [
166+ ^ self parentType isTestCase and : [
172167 (self name beginsWith: #test ) and : [ self name fifth isUppercase ] ]
173168]
174169
175170{ #category : ' *Moose-Blueprint-Models' }
176171FamixTMethod >> isTested [
177172
178173 ^ (self incomingInvocations collect: #sender ) anySatisfy: [ :each |
179- each parentType isCBTestCase ]
174+ each parentType isTestCase ]
180175]
181176
182177{ #category : ' *Moose-Blueprint-Models' }
0 commit comments