author | Claus Gittinger <cg@exept.de> |
Sat, 01 Sep 2018 17:33:15 +0200 | |
changeset 1092 | 8d0ea96a3d72 |
parent 838 | 4ebfd753931e |
child 1118 | 1cd9e0a3805b |
permissions | -rw-r--r-- |
181 | 1 |
"{ Package: 'stx:goodies/monticello/test' }" |
2 |
||
3 |
LibraryDefinition subclass:#stx_goodies_monticello_test |
|
4 |
instanceVariableNames:'' |
|
5 |
classVariableNames:'' |
|
6 |
poolDictionaries:'' |
|
7 |
category:'* Projects & Packages *' |
|
8 |
! |
|
9 |
||
10 |
||
11 |
!stx_goodies_monticello_test class methodsFor:'description'! |
|
12 |
||
13 |
excludedFromPreRequisites |
|
14 |
"list all packages which should be ignored in the automatic |
|
15 |
preRequisites scan. See #preRequisites for more." |
|
16 |
||
17 |
^ #( |
|
18 |
) |
|
19 |
! |
|
20 |
||
814
a1d60cadec92
Tests moved to category SCM-Monticello-Tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
181
diff
changeset
|
21 |
mandatoryPreRequisites |
a1d60cadec92
Tests moved to category SCM-Monticello-Tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
181
diff
changeset
|
22 |
"list all required mandatory packages. |
a1d60cadec92
Tests moved to category SCM-Monticello-Tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
181
diff
changeset
|
23 |
Packages are mandatory, if they contain superclasses of the package's classes |
a1d60cadec92
Tests moved to category SCM-Monticello-Tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
181
diff
changeset
|
24 |
or classes which are extended by this package. |
181 | 25 |
This list can be maintained manually or (better) generated and |
814
a1d60cadec92
Tests moved to category SCM-Monticello-Tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
181
diff
changeset
|
26 |
updated by scanning the superclass hierarchies |
a1d60cadec92
Tests moved to category SCM-Monticello-Tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
181
diff
changeset
|
27 |
(the browser has a menu function for that) |
a1d60cadec92
Tests moved to category SCM-Monticello-Tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
181
diff
changeset
|
28 |
However, often too much is found, and you may want to explicitely |
a1d60cadec92
Tests moved to category SCM-Monticello-Tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
181
diff
changeset
|
29 |
exclude individual packages in the #excludedFromPreRequisites method." |
181 | 30 |
|
31 |
^ #( |
|
814
a1d60cadec92
Tests moved to category SCM-Monticello-Tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
181
diff
changeset
|
32 |
#'stx:goodies/sunit' "TestAsserter - superclass of MCAncestryTest " |
a1d60cadec92
Tests moved to category SCM-Monticello-Tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
181
diff
changeset
|
33 |
#'stx:libbasic' "LibraryDefinition - superclass of stx_goodies_monticello_test " |
a1d60cadec92
Tests moved to category SCM-Monticello-Tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
181
diff
changeset
|
34 |
) |
a1d60cadec92
Tests moved to category SCM-Monticello-Tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
181
diff
changeset
|
35 |
! |
a1d60cadec92
Tests moved to category SCM-Monticello-Tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
181
diff
changeset
|
36 |
|
a1d60cadec92
Tests moved to category SCM-Monticello-Tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
181
diff
changeset
|
37 |
referencedPreRequisites |
a1d60cadec92
Tests moved to category SCM-Monticello-Tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
181
diff
changeset
|
38 |
"list all packages containing classes referenced by the packages's members. |
a1d60cadec92
Tests moved to category SCM-Monticello-Tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
181
diff
changeset
|
39 |
This list can be maintained manually or (better) generated and |
a1d60cadec92
Tests moved to category SCM-Monticello-Tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
181
diff
changeset
|
40 |
updated by looking for global variable accesses |
a1d60cadec92
Tests moved to category SCM-Monticello-Tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
181
diff
changeset
|
41 |
(the browser has a menu function for that) |
a1d60cadec92
Tests moved to category SCM-Monticello-Tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
181
diff
changeset
|
42 |
However, often too much is found, and you may want to explicitely |
a1d60cadec92
Tests moved to category SCM-Monticello-Tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
181
diff
changeset
|
43 |
exclude individual packages in the #excludedFromPreRequisites method." |
a1d60cadec92
Tests moved to category SCM-Monticello-Tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
181
diff
changeset
|
44 |
|
a1d60cadec92
Tests moved to category SCM-Monticello-Tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
181
diff
changeset
|
45 |
^ #( |
a1d60cadec92
Tests moved to category SCM-Monticello-Tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
181
diff
changeset
|
46 |
#'stx:goodies/monticello' "MCCacheRepository - referenced by MCWorkingCopyTest>>clearPackageCache " |
a1d60cadec92
Tests moved to category SCM-Monticello-Tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
181
diff
changeset
|
47 |
#'stx:libbasic2' "UUID - referenced by MCTestCase>>mockVersionInfo: " |
a1d60cadec92
Tests moved to category SCM-Monticello-Tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
181
diff
changeset
|
48 |
#'stx:libcomp' "Parser - referenced by MCStWriterTest>>assertChunkIsWellFormed: " |
a1d60cadec92
Tests moved to category SCM-Monticello-Tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
181
diff
changeset
|
49 |
#'stx:libcompat' "MczInstaller - referenced by MCInitializationTest>>testWorkingCopy " |
a1d60cadec92
Tests moved to category SCM-Monticello-Tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
181
diff
changeset
|
50 |
) |
a1d60cadec92
Tests moved to category SCM-Monticello-Tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
181
diff
changeset
|
51 |
! |
a1d60cadec92
Tests moved to category SCM-Monticello-Tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
181
diff
changeset
|
52 |
|
a1d60cadec92
Tests moved to category SCM-Monticello-Tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
181
diff
changeset
|
53 |
subProjects |
a1d60cadec92
Tests moved to category SCM-Monticello-Tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
181
diff
changeset
|
54 |
"list packages which are known as subprojects. |
a1d60cadec92
Tests moved to category SCM-Monticello-Tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
181
diff
changeset
|
55 |
The generated makefile will enter those and make there as well. |
a1d60cadec92
Tests moved to category SCM-Monticello-Tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
181
diff
changeset
|
56 |
However: they are not forced to be loaded when a package is loaded; |
a1d60cadec92
Tests moved to category SCM-Monticello-Tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
181
diff
changeset
|
57 |
for those, redefine requiredPrerequisites" |
a1d60cadec92
Tests moved to category SCM-Monticello-Tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
181
diff
changeset
|
58 |
|
a1d60cadec92
Tests moved to category SCM-Monticello-Tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
181
diff
changeset
|
59 |
^ #( |
181 | 60 |
) |
61 |
! ! |
|
62 |
||
63 |
!stx_goodies_monticello_test class methodsFor:'description - contents'! |
|
64 |
||
65 |
classNamesAndAttributes |
|
66 |
"lists the classes which are to be included in the project. |
|
67 |
Each entry in the list may be: a single class-name (symbol), |
|
68 |
or an array-literal consisting of class name and attributes. |
|
69 |
Attributes are: #autoload or #<os> where os is one of win32, unix,..." |
|
70 |
||
71 |
^ #( |
|
72 |
"<className> or (<className> attributes...) in load order" |
|
814
a1d60cadec92
Tests moved to category SCM-Monticello-Tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
181
diff
changeset
|
73 |
MCDependencySorterTest |
a1d60cadec92
Tests moved to category SCM-Monticello-Tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
181
diff
changeset
|
74 |
MCSnapshotResource |
a1d60cadec92
Tests moved to category SCM-Monticello-Tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
181
diff
changeset
|
75 |
MCSortingTest |
a1d60cadec92
Tests moved to category SCM-Monticello-Tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
181
diff
changeset
|
76 |
MCTestCase |
181 | 77 |
#'stx_goodies_monticello_test' |
814
a1d60cadec92
Tests moved to category SCM-Monticello-Tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
181
diff
changeset
|
78 |
MCAncestryTest |
a1d60cadec92
Tests moved to category SCM-Monticello-Tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
181
diff
changeset
|
79 |
MCChangeNotificationTest |
a1d60cadec92
Tests moved to category SCM-Monticello-Tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
181
diff
changeset
|
80 |
MCClassDefinitionTest |
a1d60cadec92
Tests moved to category SCM-Monticello-Tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
181
diff
changeset
|
81 |
MCFileInTest |
a1d60cadec92
Tests moved to category SCM-Monticello-Tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
181
diff
changeset
|
82 |
MCInitializationTest |
a1d60cadec92
Tests moved to category SCM-Monticello-Tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
181
diff
changeset
|
83 |
MCMczInstallerTest |
a1d60cadec92
Tests moved to category SCM-Monticello-Tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
181
diff
changeset
|
84 |
MCMergingTest |
a1d60cadec92
Tests moved to category SCM-Monticello-Tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
181
diff
changeset
|
85 |
MCMethodDefinitionTest |
a1d60cadec92
Tests moved to category SCM-Monticello-Tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
181
diff
changeset
|
86 |
MCOrganizationTest |
a1d60cadec92
Tests moved to category SCM-Monticello-Tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
181
diff
changeset
|
87 |
MCPackageTest |
a1d60cadec92
Tests moved to category SCM-Monticello-Tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
181
diff
changeset
|
88 |
MCPatchTest |
a1d60cadec92
Tests moved to category SCM-Monticello-Tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
181
diff
changeset
|
89 |
MCRepositoryTest |
a1d60cadec92
Tests moved to category SCM-Monticello-Tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
181
diff
changeset
|
90 |
MCScannerTest |
a1d60cadec92
Tests moved to category SCM-Monticello-Tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
181
diff
changeset
|
91 |
MCSerializationTest |
a1d60cadec92
Tests moved to category SCM-Monticello-Tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
181
diff
changeset
|
92 |
MCSnapshotBrowserTest |
a1d60cadec92
Tests moved to category SCM-Monticello-Tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
181
diff
changeset
|
93 |
MCSnapshotTest |
a1d60cadec92
Tests moved to category SCM-Monticello-Tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
181
diff
changeset
|
94 |
MCStReaderTest |
a1d60cadec92
Tests moved to category SCM-Monticello-Tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
181
diff
changeset
|
95 |
MCStWriterTest |
a1d60cadec92
Tests moved to category SCM-Monticello-Tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
181
diff
changeset
|
96 |
MCVersionTest |
a1d60cadec92
Tests moved to category SCM-Monticello-Tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
181
diff
changeset
|
97 |
MCWorkingCopyTest |
a1d60cadec92
Tests moved to category SCM-Monticello-Tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
181
diff
changeset
|
98 |
MCDictionaryRepositoryTest |
a1d60cadec92
Tests moved to category SCM-Monticello-Tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
181
diff
changeset
|
99 |
MCDirectoryRepositoryTest |
181 | 100 |
) |
101 |
! |
|
102 |
||
103 |
extensionMethodNames |
|
104 |
"lists the extension methods which are to be included in the project. |
|
105 |
Entries are 2-element array literals, consisting of class-name and selector." |
|
106 |
||
107 |
^ #( |
|
108 |
) |
|
109 |
! ! |
|
110 |
||
111 |
!stx_goodies_monticello_test class methodsFor:'description - project information'! |
|
112 |
||
113 |
applicationIconFileName |
|
114 |
"Return the name (without suffix) of an icon-file (the app's icon); will be included in the rc-resource file" |
|
115 |
||
116 |
^ nil |
|
117 |
"/ ^ self applicationName |
|
118 |
! |
|
119 |
||
120 |
companyName |
|
121 |
"Return a companyname which will appear in <lib>.rc" |
|
122 |
||
123 |
^ 'eXept Software AG' |
|
124 |
! |
|
125 |
||
126 |
description |
|
127 |
"Return a description string which will appear in vc.def / bc.def" |
|
128 |
||
129 |
^ 'Smalltalk/X Class library' |
|
130 |
! |
|
131 |
||
132 |
legalCopyright |
|
133 |
"Return a copyright string which will appear in <lib>.rc" |
|
134 |
||
135 |
^ 'Copyright Claus Gittinger 1988-2010\nCopyright eXept Software AG 1998-2010' |
|
136 |
! |
|
137 |
||
138 |
productName |
|
139 |
"Return a product name which will appear in <lib>.rc" |
|
140 |
||
141 |
^ 'Smalltalk/X' |
|
142 |
! ! |
|
143 |
||
144 |
!stx_goodies_monticello_test class methodsFor:'documentation'! |
|
145 |
||
838 | 146 |
version |
147 |
^ '$Header: /cvs/stx/stx/goodies/monticello/test/stx_goodies_monticello_test.st,v 1.3 2013-05-29 00:04:51 vrany Exp $' |
|
148 |
! |
|
149 |
||
181 | 150 |
version_CVS |
838 | 151 |
^ '$Header: /cvs/stx/stx/goodies/monticello/test/stx_goodies_monticello_test.st,v 1.3 2013-05-29 00:04:51 vrany Exp $' |
181 | 152 |
! ! |
814
a1d60cadec92
Tests moved to category SCM-Monticello-Tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
181
diff
changeset
|
153 |