#DOCUMENTATION by cg
class: TestCase class
comment/format in: #shouldInheritSelectors
--- a/TestCase.st Wed May 09 19:38:40 2018 +0200
+++ b/TestCase.st Wed May 09 22:29:47 2018 +0200
@@ -512,11 +512,14 @@
!
shouldInheritSelectors
- "I should inherit from an Abstract superclass but not from a concrete one by default, unless I have no testSelectors in which case I must be expecting to inherit them from my superclass. If a test case with selectors wants to inherit selectors from a concrete superclass, override this to true in that subclass."
+ "I should inherit from an Abstract superclass but not from a concrete one by default,
+ unless I have no testSelectors in which case I must be expecting to inherit them from my superclass.
+ If a test case with selectors wants to inherit selectors from a concrete superclass,
+ override this to true in that subclass."
- ^self ~~ self lookupHierarchyRoot
- and: [self superclass isAbstract
- or: [self testSelectors isEmpty]]
+ ^self ~~ self lookupHierarchyRoot
+ and: [self superclass isAbstract
+ or: [self testSelectors isEmpty]]
! !
!TestCase methodsFor:'accessing'!