author | vrany |
Mon, 16 Jan 2012 21:47:36 +0100 | |
changeset 440 | 4a544fda4bc8 |
parent 427 | 24632c550c74 |
child 457 | ae823abf01c0 |
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 |
440 | 13 |
^ '$Header: /cvs/stx/stx/goodies/sunit/stx_goodies_sunit.st,v 1.32 2012-01-16 20:47:36 vrany 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 |
^ #( |
343 | 50 |
"<className> or (<className> attributes...) in load order" |
51 |
(ExampleTestResource autoload) |
|
52 |
SUnitDelay |
|
53 |
SUnitNameResolver |
|
54 |
TestAsserter |
|
55 |
TestFailure |
|
56 |
TestResult |
|
57 |
(TestResultReporter autoload) |
|
58 |
TestRunner |
|
59 |
TestSuite |
|
60 |
(TestSuitesCompoundScriptTest autoload) |
|
61 |
(TestSuitesHierarchyScriptTest autoload) |
|
62 |
(TestSuitesScriptTest autoload) |
|
63 |
TestSuitesScripter |
|
64 |
#'stx_goodies_sunit' |
|
65 |
ResumableTestFailure |
|
66 |
TestCase |
|
67 |
TestCaseWithArguments |
|
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) |
|
349 | 84 |
TestCaseOutcome |
368 | 85 |
TestResultStX |
408 | 86 |
TestResultForRunWithDebug |
440 | 87 |
(SUnitTests2 autoload) |
149 | 88 |
) |
89 |
! |
|
90 |
||
91 |
extensionMethodNames |
|
222 | 92 |
"lists the extension methods which are to be included in the project. |
93 |
Entries are 2-element array literals, consisting of class-name and selector." |
|
94 |
||
149 | 95 |
^ #( |
427 | 96 |
Block sunitEnsure: |
97 |
Block sunitOn:do: |
|
98 |
GenericException sunitAnnounce:toResult: |
|
99 |
GenericException sunitExitWith: |
|
100 |
Object sunitAddDependent: |
|
101 |
Object sunitChanged: |
|
102 |
Object sunitRemoveDependent: |
|
103 |
String sunitAsSymbol |
|
104 |
String sunitMatch: |
|
105 |
String sunitSubStrings |
|
106 |
Symbol sunitAsClass |
|
107 |
'GenericException class' sunitSignalWith: |
|
149 | 108 |
) |
427 | 109 |
|
110 |
"Modified: / 21-08-2011 / 17:27:56 / cg" |
|
149 | 111 |
! ! |
112 |
||
113 |
!stx_goodies_sunit class methodsFor:'description - project information'! |
|
114 |
||
115 |
companyName |
|
116 |
"Return a companyname which will appear in <lib>.rc" |
|
117 |
||
118 |
^ 'eXept Software AG' |
|
119 |
! |
|
120 |
||
121 |
description |
|
122 |
"Return a description string which will appear in nt.def / bc.def" |
|
123 |
||
222 | 124 |
^ 'Smalltalk/X Class library' |
149 | 125 |
! |
126 |
||
127 |
legalCopyright |
|
128 |
"Return a copyright string which will appear in <lib>.rc" |
|
129 |
||
222 | 130 |
^ 'Copyright eXept Software AG 1998-2007' |
131 |
||
132 |
"Modified: / 08-11-2007 / 16:57:33 / cg" |
|
133 |
! ! |
|
177 | 134 |
|
222 | 135 |
!stx_goodies_sunit class methodsFor:'description - svn'! |
136 |
||
137 |
svnRevisionNr |
|
138 |
"Return a SVN revision number of myself. |
|
139 |
This number is updated after a commit" |
|
140 |
||
349 | 141 |
^ "$SVN-Revision:"'exported'"$" |
235 | 142 |
! ! |
143 |
||
251 | 144 |
!stx_goodies_sunit class methodsFor:'documentation'! |
235 | 145 |
|
356 | 146 |
version |
440 | 147 |
^ '$Header: /cvs/stx/stx/goodies/sunit/stx_goodies_sunit.st,v 1.32 2012-01-16 20:47:36 vrany Exp $' |
356 | 148 |
! |
149 |
||
235 | 150 |
version_CVS |
440 | 151 |
^ '$Header: /cvs/stx/stx/goodies/sunit/stx_goodies_sunit.st,v 1.32 2012-01-16 20:47:36 vrany Exp $' |
251 | 152 |
! |
149 | 153 |
|
222 | 154 |
version_SVN |
155 |
^ '§Id: stx_goodies_sunit.st 214 2011-03-14 12:22:21Z vranyj1 §' |
|
149 | 156 |
! ! |