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