author | Claus Gittinger <cg@exept.de> |
Wed, 24 Oct 2012 20:22:40 +0200 | |
changeset 476 | 700cd1a9964c |
parent 457 | ae823abf01c0 |
child 518 | 9af19c20c2d6 |
permissions | -rw-r--r-- |
149 | 1 |
"{ Package: 'stx:goodies/sunit' }" |
2 |
||
3 |
LibraryDefinition subclass:#stx_goodies_sunit |
|
4 |
instanceVariableNames:'' |
|
5 |
classVariableNames:'' |
|
6 |
poolDictionaries:'' |
|
173 | 7 |
category:'* Projects & Packages *' |
149 | 8 |
! |
9 |
||
245
49ef4f1295cd
changed: #extensionsVersion_CVS
Claus Gittinger <cg@exept.de>
parents:
235
diff
changeset
|
10 |
!stx_goodies_sunit class methodsFor:'documentation'! |
49ef4f1295cd
changed: #extensionsVersion_CVS
Claus Gittinger <cg@exept.de>
parents:
235
diff
changeset
|
11 |
|
457 | 12 |
documentation |
13 |
" |
|
14 |
Build- and package information for creation of the st/x standard library: stx_goodies_sunit |
|
15 |
This library contains the sunit test framework. |
|
16 |
" |
|
245
49ef4f1295cd
changed: #extensionsVersion_CVS
Claus Gittinger <cg@exept.de>
parents:
235
diff
changeset
|
17 |
! ! |
149 | 18 |
|
156 | 19 |
!stx_goodies_sunit class methodsFor:'description'! |
20 |
||
222 | 21 |
excludedFromPreRequisites |
22 |
"list all packages which should be ignored in the automatic |
|
23 |
preRequisites scan. See #preRequisites for more." |
|
24 |
||
156 | 25 |
^ #( |
222 | 26 |
) |
27 |
! |
|
28 |
||
29 |
preRequisites |
|
30 |
"list all required packages. |
|
31 |
This list can be maintained manually or (better) generated and |
|
32 |
updated by scanning the superclass hierarchies and looking for |
|
33 |
global variable accesses. (the browser has a menu function for that) |
|
34 |
Howevery, often too much is found, and you may want to explicitely |
|
35 |
exclude individual packages in the #excludedFromPrerequisites method." |
|
36 |
||
37 |
^ #( |
|
38 |
#'stx:libbasic' "Object - superclass of SimpleTestResourceB1 " |
|
39 |
#'stx:libview' "Color - referenced by TestRunner>>displayNormalColorInProgress " |
|
40 |
#'stx:libview2' "Model - superclass of TestRunner " |
|
156 | 41 |
) |
42 |
! ! |
|
43 |
||
149 | 44 |
!stx_goodies_sunit class methodsFor:'description - contents'! |
45 |
||
46 |
classNamesAndAttributes |
|
213
f40a88c5ec53
changed: #classNamesAndAttributes
Claus Gittinger <cg@exept.de>
parents:
193
diff
changeset
|
47 |
"lists the classes which are to be included in the project. |
f40a88c5ec53
changed: #classNamesAndAttributes
Claus Gittinger <cg@exept.de>
parents:
193
diff
changeset
|
48 |
Each entry in the list may be: a single class-name (symbol), |
f40a88c5ec53
changed: #classNamesAndAttributes
Claus Gittinger <cg@exept.de>
parents:
193
diff
changeset
|
49 |
or an array-literal consisting of class name and attributes. |
f40a88c5ec53
changed: #classNamesAndAttributes
Claus Gittinger <cg@exept.de>
parents:
193
diff
changeset
|
50 |
Attributes are: #autoload or #<os> where os is one of win32, unix,..." |
f40a88c5ec53
changed: #classNamesAndAttributes
Claus Gittinger <cg@exept.de>
parents:
193
diff
changeset
|
51 |
|
149 | 52 |
^ #( |
343 | 53 |
"<className> or (<className> attributes...) in load order" |
54 |
(ExampleTestResource autoload) |
|
55 |
SUnitDelay |
|
56 |
SUnitNameResolver |
|
57 |
TestAsserter |
|
58 |
TestFailure |
|
59 |
TestResult |
|
476 | 60 |
TestResultReporter |
343 | 61 |
TestRunner |
62 |
TestSuite |
|
63 |
(TestSuitesCompoundScriptTest autoload) |
|
64 |
(TestSuitesHierarchyScriptTest autoload) |
|
65 |
(TestSuitesScriptTest autoload) |
|
66 |
TestSuitesScripter |
|
67 |
#'stx_goodies_sunit' |
|
68 |
ResumableTestFailure |
|
69 |
TestCase |
|
70 |
TestCaseWithArguments |
|
71 |
TestResource |
|
72 |
(ExampleSetTest autoload) |
|
73 |
(ResumableTestFailureTestCase autoload) |
|
74 |
(SUnitTest autoload) |
|
75 |
(SimpleTestResource autoload) |
|
76 |
(SimpleTestResourceTestCase autoload) |
|
77 |
(FailingTestResourceTestCase autoload) |
|
78 |
(ManyTestResourceTestCase autoload) |
|
79 |
(SimpleTestResourceA autoload) |
|
80 |
(SimpleTestResourceA1 autoload) |
|
81 |
(SimpleTestResourceA2 autoload) |
|
82 |
(SimpleTestResourceB autoload) |
|
83 |
(SimpleTestResourceB1 autoload) |
|
84 |
(SimpleTestResourceCircular autoload) |
|
85 |
(SimpleTestResourceCircular1 autoload) |
|
86 |
(CircularTestResourceTestCase autoload) |
|
349 | 87 |
TestCaseOutcome |
368 | 88 |
TestResultStX |
408 | 89 |
TestResultForRunWithDebug |
440 | 90 |
(SUnitTests2 autoload) |
149 | 91 |
) |
92 |
! |
|
93 |
||
94 |
extensionMethodNames |
|
222 | 95 |
"lists the extension methods which are to be included in the project. |
96 |
Entries are 2-element array literals, consisting of class-name and selector." |
|
97 |
||
149 | 98 |
^ #( |
427 | 99 |
Block sunitEnsure: |
100 |
Block sunitOn:do: |
|
101 |
GenericException sunitAnnounce:toResult: |
|
102 |
GenericException sunitExitWith: |
|
103 |
Object sunitAddDependent: |
|
104 |
Object sunitChanged: |
|
105 |
Object sunitRemoveDependent: |
|
106 |
String sunitAsSymbol |
|
107 |
String sunitMatch: |
|
108 |
String sunitSubStrings |
|
109 |
Symbol sunitAsClass |
|
110 |
'GenericException class' sunitSignalWith: |
|
149 | 111 |
) |
427 | 112 |
|
113 |
"Modified: / 21-08-2011 / 17:27:56 / cg" |
|
149 | 114 |
! ! |
115 |
||
116 |
!stx_goodies_sunit class methodsFor:'description - project information'! |
|
117 |
||
118 |
companyName |
|
119 |
"Return a companyname which will appear in <lib>.rc" |
|
120 |
||
121 |
^ 'eXept Software AG' |
|
122 |
! |
|
123 |
||
124 |
description |
|
125 |
"Return a description string which will appear in nt.def / bc.def" |
|
126 |
||
222 | 127 |
^ 'Smalltalk/X Class library' |
149 | 128 |
! |
129 |
||
130 |
legalCopyright |
|
131 |
"Return a copyright string which will appear in <lib>.rc" |
|
132 |
||
222 | 133 |
^ 'Copyright eXept Software AG 1998-2007' |
134 |
||
135 |
"Modified: / 08-11-2007 / 16:57:33 / cg" |
|
136 |
! ! |
|
177 | 137 |
|
222 | 138 |
!stx_goodies_sunit class methodsFor:'description - svn'! |
139 |
||
140 |
svnRevisionNr |
|
141 |
"Return a SVN revision number of myself. |
|
142 |
This number is updated after a commit" |
|
143 |
||
349 | 144 |
^ "$SVN-Revision:"'exported'"$" |
235 | 145 |
! ! |
146 |
||
251 | 147 |
!stx_goodies_sunit class methodsFor:'documentation'! |
235 | 148 |
|
356 | 149 |
version |
476 | 150 |
^ '$Header: /cvs/stx/stx/goodies/sunit/stx_goodies_sunit.st,v 1.34 2012-10-24 18:22:40 cg Exp $' |
356 | 151 |
! |
152 |
||
235 | 153 |
version_CVS |
476 | 154 |
^ '$Header: /cvs/stx/stx/goodies/sunit/stx_goodies_sunit.st,v 1.34 2012-10-24 18:22:40 cg Exp $' |
251 | 155 |
! |
149 | 156 |
|
222 | 157 |
version_SVN |
158 |
^ '§Id: stx_goodies_sunit.st 214 2011-03-14 12:22:21Z vranyj1 §' |
|
149 | 159 |
! ! |