author | Jan Vrany <jan.vrany@fit.cvut.cz> |
Thu, 28 May 2015 21:57:29 +0100 | |
branch | working_v5_0 |
changeset 618 | ba4de33722d8 |
parent 614 | 3003097506c9 |
permissions | -rw-r--r-- |
149 | 1 |
"{ Package: 'stx:goodies/sunit' }" |
2 |
||
618
ba4de33722d8
Moved MethodDefinitionChange>>changeMethod back to stx:libbasic3
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
614
diff
changeset
|
3 |
"{ NameSpace: Smalltalk }" |
ba4de33722d8
Moved MethodDefinitionChange>>changeMethod back to stx:libbasic3
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
614
diff
changeset
|
4 |
|
149 | 5 |
LibraryDefinition subclass:#stx_goodies_sunit |
6 |
instanceVariableNames:'' |
|
7 |
classVariableNames:'' |
|
8 |
poolDictionaries:'' |
|
173 | 9 |
category:'* Projects & Packages *' |
149 | 10 |
! |
11 |
||
245
49ef4f1295cd
changed: #extensionsVersion_CVS
Claus Gittinger <cg@exept.de>
parents:
235
diff
changeset
|
12 |
!stx_goodies_sunit class methodsFor:'documentation'! |
49ef4f1295cd
changed: #extensionsVersion_CVS
Claus Gittinger <cg@exept.de>
parents:
235
diff
changeset
|
13 |
|
457 | 14 |
documentation |
15 |
" |
|
16 |
Build- and package information for creation of the st/x standard library: stx_goodies_sunit |
|
17 |
This library contains the sunit test framework. |
|
18 |
" |
|
245
49ef4f1295cd
changed: #extensionsVersion_CVS
Claus Gittinger <cg@exept.de>
parents:
235
diff
changeset
|
19 |
! ! |
149 | 20 |
|
611
1eecc860f4a5
Project definition fixed and HG configured as for CVS mirror repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
588
diff
changeset
|
21 |
!stx_goodies_sunit class methodsFor:'accessing - hg - settings'! |
1eecc860f4a5
Project definition fixed and HG configured as for CVS mirror repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
588
diff
changeset
|
22 |
|
1eecc860f4a5
Project definition fixed and HG configured as for CVS mirror repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
588
diff
changeset
|
23 |
hgEnsureCopyrightMethod |
1eecc860f4a5
Project definition fixed and HG configured as for CVS mirror repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
588
diff
changeset
|
24 |
"If true, then #copyright method is automatically compiled in each class |
1eecc860f4a5
Project definition fixed and HG configured as for CVS mirror repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
588
diff
changeset
|
25 |
(but iff project definition defines it) |
1eecc860f4a5
Project definition fixed and HG configured as for CVS mirror repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
588
diff
changeset
|
26 |
|
1eecc860f4a5
Project definition fixed and HG configured as for CVS mirror repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
588
diff
changeset
|
27 |
Default is true (compile such method) but if the repository is mirror of CVS and |
1eecc860f4a5
Project definition fixed and HG configured as for CVS mirror repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
588
diff
changeset
|
28 |
you want to merge back to CVS at some point, you may want to not compile them |
1eecc860f4a5
Project definition fixed and HG configured as for CVS mirror repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
588
diff
changeset
|
29 |
to keep changes against CVS minimal" |
1eecc860f4a5
Project definition fixed and HG configured as for CVS mirror repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
588
diff
changeset
|
30 |
|
1eecc860f4a5
Project definition fixed and HG configured as for CVS mirror repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
588
diff
changeset
|
31 |
^false |
1eecc860f4a5
Project definition fixed and HG configured as for CVS mirror repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
588
diff
changeset
|
32 |
|
1eecc860f4a5
Project definition fixed and HG configured as for CVS mirror repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
588
diff
changeset
|
33 |
"Created: / 09-07-2014 / 21:30:33 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
1eecc860f4a5
Project definition fixed and HG configured as for CVS mirror repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
588
diff
changeset
|
34 |
! |
1eecc860f4a5
Project definition fixed and HG configured as for CVS mirror repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
588
diff
changeset
|
35 |
|
1eecc860f4a5
Project definition fixed and HG configured as for CVS mirror repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
588
diff
changeset
|
36 |
hgEnsureVersion_HGMethod |
1eecc860f4a5
Project definition fixed and HG configured as for CVS mirror repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
588
diff
changeset
|
37 |
"If true, then #version_HG method is automatically compiled in each class. |
1eecc860f4a5
Project definition fixed and HG configured as for CVS mirror repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
588
diff
changeset
|
38 |
|
1eecc860f4a5
Project definition fixed and HG configured as for CVS mirror repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
588
diff
changeset
|
39 |
Default is true (compile such method) but if the repository is mirror of CVS and |
1eecc860f4a5
Project definition fixed and HG configured as for CVS mirror repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
588
diff
changeset
|
40 |
you want to merge back to CVS at some point, you may want to not compile them |
1eecc860f4a5
Project definition fixed and HG configured as for CVS mirror repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
588
diff
changeset
|
41 |
to keep changes against CVS minimal. |
1eecc860f4a5
Project definition fixed and HG configured as for CVS mirror repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
588
diff
changeset
|
42 |
|
1eecc860f4a5
Project definition fixed and HG configured as for CVS mirror repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
588
diff
changeset
|
43 |
If false, version_HG is compiled only in classes that has been modified |
1eecc860f4a5
Project definition fixed and HG configured as for CVS mirror repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
588
diff
changeset
|
44 |
and commited. |
1eecc860f4a5
Project definition fixed and HG configured as for CVS mirror repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
588
diff
changeset
|
45 |
|
1eecc860f4a5
Project definition fixed and HG configured as for CVS mirror repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
588
diff
changeset
|
46 |
Note that Mercurial can live without them |
1eecc860f4a5
Project definition fixed and HG configured as for CVS mirror repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
588
diff
changeset
|
47 |
just fine" |
1eecc860f4a5
Project definition fixed and HG configured as for CVS mirror repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
588
diff
changeset
|
48 |
|
1eecc860f4a5
Project definition fixed and HG configured as for CVS mirror repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
588
diff
changeset
|
49 |
^false |
1eecc860f4a5
Project definition fixed and HG configured as for CVS mirror repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
588
diff
changeset
|
50 |
|
1eecc860f4a5
Project definition fixed and HG configured as for CVS mirror repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
588
diff
changeset
|
51 |
"Created: / 09-07-2014 / 21:30:43 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
1eecc860f4a5
Project definition fixed and HG configured as for CVS mirror repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
588
diff
changeset
|
52 |
! |
1eecc860f4a5
Project definition fixed and HG configured as for CVS mirror repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
588
diff
changeset
|
53 |
|
1eecc860f4a5
Project definition fixed and HG configured as for CVS mirror repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
588
diff
changeset
|
54 |
hgRemoveContainesForDeletedClasses |
1eecc860f4a5
Project definition fixed and HG configured as for CVS mirror repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
588
diff
changeset
|
55 |
"If true, then containers for removed classes are __AUTOMATICALLY__ removed from the |
1eecc860f4a5
Project definition fixed and HG configured as for CVS mirror repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
588
diff
changeset
|
56 |
repositoru. If false, obsolete containes are kept. |
1eecc860f4a5
Project definition fixed and HG configured as for CVS mirror repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
588
diff
changeset
|
57 |
|
1eecc860f4a5
Project definition fixed and HG configured as for CVS mirror repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
588
diff
changeset
|
58 |
Default is true (remove obsolete containers) but if the repository is mirror of CVS and |
1eecc860f4a5
Project definition fixed and HG configured as for CVS mirror repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
588
diff
changeset
|
59 |
you want to merge back to CVS at some point, you may want to return false to avoid deletions |
1eecc860f4a5
Project definition fixed and HG configured as for CVS mirror repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
588
diff
changeset
|
60 |
of obsolete files. Usefull when branching off an old CVS repo with loads of mess." |
1eecc860f4a5
Project definition fixed and HG configured as for CVS mirror repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
588
diff
changeset
|
61 |
|
1eecc860f4a5
Project definition fixed and HG configured as for CVS mirror repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
588
diff
changeset
|
62 |
^false |
1eecc860f4a5
Project definition fixed and HG configured as for CVS mirror repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
588
diff
changeset
|
63 |
|
1eecc860f4a5
Project definition fixed and HG configured as for CVS mirror repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
588
diff
changeset
|
64 |
"Created: / 09-07-2014 / 21:30:54 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
1eecc860f4a5
Project definition fixed and HG configured as for CVS mirror repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
588
diff
changeset
|
65 |
! ! |
1eecc860f4a5
Project definition fixed and HG configured as for CVS mirror repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
588
diff
changeset
|
66 |
|
156 | 67 |
!stx_goodies_sunit class methodsFor:'description'! |
68 |
||
222 | 69 |
excludedFromPreRequisites |
70 |
"list all packages which should be ignored in the automatic |
|
71 |
preRequisites scan. See #preRequisites for more." |
|
72 |
||
156 | 73 |
^ #( |
222 | 74 |
) |
75 |
! |
|
76 |
||
544
9e6bee79a390
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
543
diff
changeset
|
77 |
mandatoryPreRequisites |
614
3003097506c9
Refactored remembering of TestCaseOutcomes.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
611
diff
changeset
|
78 |
"list packages which are mandatory as a prerequisite. |
3003097506c9
Refactored remembering of TestCaseOutcomes.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
611
diff
changeset
|
79 |
This are packages containing superclasses of my classes and classes which |
3003097506c9
Refactored remembering of TestCaseOutcomes.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
611
diff
changeset
|
80 |
are extended by myself. |
3003097506c9
Refactored remembering of TestCaseOutcomes.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
611
diff
changeset
|
81 |
They are mandatory, because we need these packages as a prerequisite for loading and compiling. |
3003097506c9
Refactored remembering of TestCaseOutcomes.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
611
diff
changeset
|
82 |
This method is generated automatically, |
3003097506c9
Refactored remembering of TestCaseOutcomes.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
611
diff
changeset
|
83 |
by searching along the inheritance chain of all of my classes." |
222 | 84 |
|
85 |
^ #( |
|
614
3003097506c9
Refactored remembering of TestCaseOutcomes.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
611
diff
changeset
|
86 |
#'stx:libbasic' "ArrayedCollection - extended" |
3003097506c9
Refactored remembering of TestCaseOutcomes.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
611
diff
changeset
|
87 |
#'stx:libview2' "ApplicationModel - superclass of TestRunner" |
544
9e6bee79a390
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
543
diff
changeset
|
88 |
) |
9e6bee79a390
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
543
diff
changeset
|
89 |
! |
9e6bee79a390
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
543
diff
changeset
|
90 |
|
9e6bee79a390
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
543
diff
changeset
|
91 |
referencedPreRequisites |
614
3003097506c9
Refactored remembering of TestCaseOutcomes.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
611
diff
changeset
|
92 |
"list packages which are a prerequisite, because they contain |
3003097506c9
Refactored remembering of TestCaseOutcomes.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
611
diff
changeset
|
93 |
classes which are referenced by my classes. |
618
ba4de33722d8
Moved MethodDefinitionChange>>changeMethod back to stx:libbasic3
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
614
diff
changeset
|
94 |
We do not need these packages as a prerequisite for compiling or loading, |
ba4de33722d8
Moved MethodDefinitionChange>>changeMethod back to stx:libbasic3
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
614
diff
changeset
|
95 |
however, a class from it may be referenced during execution and having it |
ba4de33722d8
Moved MethodDefinitionChange>>changeMethod back to stx:libbasic3
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
614
diff
changeset
|
96 |
unloaded then may lead to a runtime doesNotUnderstand error, unless the caller |
ba4de33722d8
Moved MethodDefinitionChange>>changeMethod back to stx:libbasic3
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
614
diff
changeset
|
97 |
includes explicit checks for the package being present. |
614
3003097506c9
Refactored remembering of TestCaseOutcomes.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
611
diff
changeset
|
98 |
This method is generated automatically, |
3003097506c9
Refactored remembering of TestCaseOutcomes.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
611
diff
changeset
|
99 |
by searching all classes (and their packages) which are referenced by my classes." |
544
9e6bee79a390
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
543
diff
changeset
|
100 |
|
9e6bee79a390
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
543
diff
changeset
|
101 |
^ #( |
614
3003097506c9
Refactored remembering of TestCaseOutcomes.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
611
diff
changeset
|
102 |
#'stx:libbasic2' "LineNumberReadStream - referenced by TestResultStX>>printLineForContextForJavaCompatibleStackTrace:on:" |
3003097506c9
Refactored remembering of TestCaseOutcomes.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
611
diff
changeset
|
103 |
#'stx:libview' "Color - referenced by TestRunner class>>colorForFailedTests" |
3003097506c9
Refactored remembering of TestCaseOutcomes.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
611
diff
changeset
|
104 |
) |
3003097506c9
Refactored remembering of TestCaseOutcomes.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
611
diff
changeset
|
105 |
! |
3003097506c9
Refactored remembering of TestCaseOutcomes.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
611
diff
changeset
|
106 |
|
3003097506c9
Refactored remembering of TestCaseOutcomes.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
611
diff
changeset
|
107 |
subProjects |
3003097506c9
Refactored remembering of TestCaseOutcomes.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
611
diff
changeset
|
108 |
"list packages which are known as subprojects. |
3003097506c9
Refactored remembering of TestCaseOutcomes.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
611
diff
changeset
|
109 |
The generated makefile will enter those and make there as well. |
3003097506c9
Refactored remembering of TestCaseOutcomes.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
611
diff
changeset
|
110 |
However: they are not forced to be loaded when a package is loaded; |
3003097506c9
Refactored remembering of TestCaseOutcomes.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
611
diff
changeset
|
111 |
for those, redefine requiredPrerequisites." |
3003097506c9
Refactored remembering of TestCaseOutcomes.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
611
diff
changeset
|
112 |
|
3003097506c9
Refactored remembering of TestCaseOutcomes.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
611
diff
changeset
|
113 |
^ #( |
156 | 114 |
) |
115 |
! ! |
|
116 |
||
149 | 117 |
!stx_goodies_sunit class methodsFor:'description - contents'! |
118 |
||
119 |
classNamesAndAttributes |
|
213
f40a88c5ec53
changed: #classNamesAndAttributes
Claus Gittinger <cg@exept.de>
parents:
193
diff
changeset
|
120 |
"lists the classes which are to be included in the project. |
f40a88c5ec53
changed: #classNamesAndAttributes
Claus Gittinger <cg@exept.de>
parents:
193
diff
changeset
|
121 |
Each entry in the list may be: a single class-name (symbol), |
f40a88c5ec53
changed: #classNamesAndAttributes
Claus Gittinger <cg@exept.de>
parents:
193
diff
changeset
|
122 |
or an array-literal consisting of class name and attributes. |
f40a88c5ec53
changed: #classNamesAndAttributes
Claus Gittinger <cg@exept.de>
parents:
193
diff
changeset
|
123 |
Attributes are: #autoload or #<os> where os is one of win32, unix,..." |
f40a88c5ec53
changed: #classNamesAndAttributes
Claus Gittinger <cg@exept.de>
parents:
193
diff
changeset
|
124 |
|
149 | 125 |
^ #( |
343 | 126 |
"<className> or (<className> attributes...) in load order" |
614
3003097506c9
Refactored remembering of TestCaseOutcomes.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
611
diff
changeset
|
127 |
MetricsReporter |
343 | 128 |
SUnitDelay |
129 |
SUnitNameResolver |
|
130 |
TestAsserter |
|
614
3003097506c9
Refactored remembering of TestCaseOutcomes.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
611
diff
changeset
|
131 |
TestCaseOutcome |
3003097506c9
Refactored remembering of TestCaseOutcomes.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
611
diff
changeset
|
132 |
TestCaseOutcomeWeakIdentityDictionary |
3003097506c9
Refactored remembering of TestCaseOutcomes.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
611
diff
changeset
|
133 |
TestCoverageReporter |
343 | 134 |
TestFailure |
135 |
TestResult |
|
476 | 136 |
TestResultReporter |
343 | 137 |
TestRunner |
138 |
TestSuite |
|
139 |
TestSuitesScripter |
|
140 |
#'stx_goodies_sunit' |
|
141 |
ResumableTestFailure |
|
142 |
TestCase |
|
143 |
TestResource |
|
614
3003097506c9
Refactored remembering of TestCaseOutcomes.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
611
diff
changeset
|
144 |
TestResultStX |
3003097506c9
Refactored remembering of TestCaseOutcomes.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
611
diff
changeset
|
145 |
TestSkipped |
618
ba4de33722d8
Moved MethodDefinitionChange>>changeMethod back to stx:libbasic3
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
614
diff
changeset
|
146 |
TestResultForRunWithDebug |
ba4de33722d8
Moved MethodDefinitionChange>>changeMethod back to stx:libbasic3
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
614
diff
changeset
|
147 |
(CircularTestResourceTestCase autoload) |
343 | 148 |
(ExampleSetTest autoload) |
614
3003097506c9
Refactored remembering of TestCaseOutcomes.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
611
diff
changeset
|
149 |
(ExampleTestResource autoload) |
618
ba4de33722d8
Moved MethodDefinitionChange>>changeMethod back to stx:libbasic3
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
614
diff
changeset
|
150 |
(FailingTestResourceTestCase autoload) |
ba4de33722d8
Moved MethodDefinitionChange>>changeMethod back to stx:libbasic3
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
614
diff
changeset
|
151 |
(ManyTestResourceTestCase autoload) |
343 | 152 |
(ResumableTestFailureTestCase autoload) |
153 |
(SUnitTest autoload) |
|
614
3003097506c9
Refactored remembering of TestCaseOutcomes.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
611
diff
changeset
|
154 |
(SUnitTests2 autoload) |
343 | 155 |
(SimpleTestResource autoload) |
156 |
(SimpleTestResourceA autoload) |
|
157 |
(SimpleTestResourceA1 autoload) |
|
158 |
(SimpleTestResourceA2 autoload) |
|
159 |
(SimpleTestResourceB autoload) |
|
160 |
(SimpleTestResourceB1 autoload) |
|
161 |
(SimpleTestResourceCircular autoload) |
|
162 |
(SimpleTestResourceCircular1 autoload) |
|
618
ba4de33722d8
Moved MethodDefinitionChange>>changeMethod back to stx:libbasic3
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
614
diff
changeset
|
163 |
(SimpleTestResourceTestCase autoload) |
ba4de33722d8
Moved MethodDefinitionChange>>changeMethod back to stx:libbasic3
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
614
diff
changeset
|
164 |
(TestCaseWithArguments autoload) |
ba4de33722d8
Moved MethodDefinitionChange>>changeMethod back to stx:libbasic3
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
614
diff
changeset
|
165 |
(TestSuitesCompoundScriptTest autoload) |
614
3003097506c9
Refactored remembering of TestCaseOutcomes.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
611
diff
changeset
|
166 |
(TestSuitesHierarchyScriptTest autoload) |
3003097506c9
Refactored remembering of TestCaseOutcomes.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
611
diff
changeset
|
167 |
(TestSuitesScriptTest autoload) |
149 | 168 |
) |
169 |
! |
|
170 |
||
171 |
extensionMethodNames |
|
614
3003097506c9
Refactored remembering of TestCaseOutcomes.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
611
diff
changeset
|
172 |
"list class/selector pairs of extensions. |
3003097506c9
Refactored remembering of TestCaseOutcomes.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
611
diff
changeset
|
173 |
A correponding method with real names must be present in my concrete subclasses" |
222 | 174 |
|
149 | 175 |
^ #( |
427 | 176 |
Block sunitEnsure: |
177 |
Block sunitOn:do: |
|
178 |
GenericException sunitAnnounce:toResult: |
|
179 |
GenericException sunitExitWith: |
|
180 |
Object sunitAddDependent: |
|
181 |
Object sunitChanged: |
|
182 |
Object sunitRemoveDependent: |
|
183 |
String sunitAsSymbol |
|
184 |
String sunitMatch: |
|
185 |
String sunitSubStrings |
|
186 |
Symbol sunitAsClass |
|
187 |
'GenericException class' sunitSignalWith: |
|
544
9e6bee79a390
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
543
diff
changeset
|
188 |
Behavior sunitSelectors |
9e6bee79a390
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
543
diff
changeset
|
189 |
Class sunitName |
149 | 190 |
) |
191 |
! ! |
|
192 |
||
193 |
!stx_goodies_sunit class methodsFor:'description - project information'! |
|
194 |
||
544
9e6bee79a390
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
543
diff
changeset
|
195 |
applicationIconFileName |
9e6bee79a390
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
543
diff
changeset
|
196 |
"Return the name (without suffix) of an icon-file (the app's icon); will be included in the rc-resource file" |
9e6bee79a390
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
543
diff
changeset
|
197 |
|
9e6bee79a390
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
543
diff
changeset
|
198 |
^ nil |
9e6bee79a390
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
543
diff
changeset
|
199 |
"/ ^ self applicationName |
9e6bee79a390
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
543
diff
changeset
|
200 |
! |
9e6bee79a390
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
543
diff
changeset
|
201 |
|
149 | 202 |
companyName |
203 |
"Return a companyname which will appear in <lib>.rc" |
|
204 |
||
205 |
^ 'eXept Software AG' |
|
206 |
! |
|
207 |
||
208 |
description |
|
209 |
"Return a description string which will appear in nt.def / bc.def" |
|
210 |
||
585 | 211 |
^ 'Smalltalk/X Unit Testing' |
149 | 212 |
! |
213 |
||
214 |
legalCopyright |
|
215 |
"Return a copyright string which will appear in <lib>.rc" |
|
216 |
||
222 | 217 |
^ 'Copyright eXept Software AG 1998-2007' |
218 |
||
219 |
"Modified: / 08-11-2007 / 16:57:33 / cg" |
|
544
9e6bee79a390
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
543
diff
changeset
|
220 |
! |
9e6bee79a390
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
543
diff
changeset
|
221 |
|
9e6bee79a390
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
543
diff
changeset
|
222 |
productName |
9e6bee79a390
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
543
diff
changeset
|
223 |
"Return a product name which will appear in <lib>.rc" |
9e6bee79a390
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
543
diff
changeset
|
224 |
|
9e6bee79a390
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
543
diff
changeset
|
225 |
^ 'Smalltalk/X' |
222 | 226 |
! ! |
177 | 227 |
|
222 | 228 |
!stx_goodies_sunit class methodsFor:'description - svn'! |
229 |
||
230 |
svnRevisionNr |
|
231 |
"Return a SVN revision number of myself. |
|
232 |
This number is updated after a commit" |
|
233 |
||
543 | 234 |
^ "$SVN-Revision:"'Nicht versioniertes Verzeichnis'"$" |
235 | 235 |
! ! |
236 |
||
251 | 237 |
!stx_goodies_sunit class methodsFor:'documentation'! |
235 | 238 |
|
356 | 239 |
version |
588 | 240 |
^ '$Header: /cvs/stx/stx/goodies/sunit/stx_goodies_sunit.st,v 1.41 2014-03-23 21:08:48 cg Exp $' |
356 | 241 |
! |
242 |
||
235 | 243 |
version_CVS |
588 | 244 |
^ '$Header: /cvs/stx/stx/goodies/sunit/stx_goodies_sunit.st,v 1.41 2014-03-23 21:08:48 cg Exp $' |
251 | 245 |
! |
149 | 246 |
|
611
1eecc860f4a5
Project definition fixed and HG configured as for CVS mirror repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
588
diff
changeset
|
247 |
version_HG |
1eecc860f4a5
Project definition fixed and HG configured as for CVS mirror repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
588
diff
changeset
|
248 |
^ '$Changeset: <not expanded> $' |
1eecc860f4a5
Project definition fixed and HG configured as for CVS mirror repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
588
diff
changeset
|
249 |
! |
1eecc860f4a5
Project definition fixed and HG configured as for CVS mirror repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
588
diff
changeset
|
250 |
|
222 | 251 |
version_SVN |
588 | 252 |
^ '$Id: stx_goodies_sunit.st,v 1.41 2014-03-23 21:08:48 cg Exp $' |
149 | 253 |
! ! |
543 | 254 |