#DOCUMENTATION by cg
authorClaus Gittinger <cg@exept.de>
Wed, 09 May 2018 22:29:47 +0200
changeset 710 82df3be055a8
parent 709 bc89b620846e
child 711 a706a78dc0e2
#DOCUMENTATION by cg class: TestCase class comment/format in: #shouldInheritSelectors
TestCase.st
--- 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'!