0
|
1 |
"{ Package: 'stx:goodies/ring/tests' }"
|
|
2 |
|
|
3 |
"{ NameSpace: Smalltalk }"
|
|
4 |
|
|
5 |
LibraryDefinition subclass:#stx_goodies_ring_tests
|
|
6 |
instanceVariableNames:''
|
|
7 |
classVariableNames:''
|
|
8 |
poolDictionaries:''
|
|
9 |
category:'* Projects & Packages *'
|
|
10 |
!
|
|
11 |
|
|
12 |
|
|
13 |
!stx_goodies_ring_tests class methodsFor:'description'!
|
|
14 |
|
|
15 |
excludedFromPreRequisites
|
|
16 |
"list packages which are to be explicitely excluded from the automatic constructed
|
|
17 |
prerequisites list. If empty, everything that is found along the inheritance of any of
|
|
18 |
my classes is considered to be a prerequisite package."
|
|
19 |
|
|
20 |
^ #(
|
|
21 |
)
|
|
22 |
!
|
|
23 |
|
|
24 |
mandatoryPreRequisites
|
|
25 |
"list packages which are mandatory as a prerequisite.
|
|
26 |
This are packages containing superclasses of my classes and classes which
|
|
27 |
are extended by myself.
|
|
28 |
They are mandatory, because we need these packages as a prerequisite for loading and compiling.
|
|
29 |
This method is generated automatically,
|
|
30 |
by searching along the inheritance chain of all of my classes."
|
|
31 |
|
|
32 |
^ #(
|
|
33 |
#'stx:goodies/sunit' "TestAsserter - superclass of RGClassDefinitionTest"
|
|
34 |
#'stx:libbasic' "LibraryDefinition - superclass of stx_goodies_ring_tests"
|
|
35 |
)
|
|
36 |
!
|
|
37 |
|
|
38 |
referencedPreRequisites
|
|
39 |
"list packages which are a prerequisite, because they contain
|
|
40 |
classes which are referenced by my classes.
|
|
41 |
We do not need these packages as a prerequisite for compiling or loading,
|
|
42 |
however, a class from it may be referenced during execution and having it
|
|
43 |
unloaded then may lead to a runtime doesNotUnderstand error, unless the caller
|
|
44 |
includes explicit checks for the package being present.
|
|
45 |
This method is generated automatically,
|
|
46 |
by searching all classes (and their packages) which are referenced by my classes."
|
|
47 |
|
|
48 |
^ #(
|
|
49 |
#'stx:goodies/ring' "RGClassDefinition - referenced by RGClassDefinitionTest>>testAddingMethods"
|
|
50 |
#'stx:libbasic2' "Text - referenced by RGClassDefinitionTest>>testWithPoolDictionaries"
|
|
51 |
)
|
|
52 |
!
|
|
53 |
|
|
54 |
subProjects
|
|
55 |
"list packages which are known as subprojects.
|
|
56 |
The generated makefile will enter those and make there as well.
|
|
57 |
However: they are not forced to be loaded when a package is loaded;
|
|
58 |
for those, redefine requiredPrerequisites."
|
|
59 |
|
|
60 |
^ #(
|
|
61 |
)
|
|
62 |
! !
|
|
63 |
|
|
64 |
!stx_goodies_ring_tests class methodsFor:'description - contents'!
|
|
65 |
|
|
66 |
classNamesAndAttributes
|
|
67 |
"lists the classes which are to be included in the project.
|
|
68 |
Each entry in the list may be: a single class-name (symbol),
|
|
69 |
or an array-literal consisting of class name and attributes.
|
|
70 |
Attributes are: #autoload or #<os> where os is one of win32, unix,..."
|
|
71 |
|
|
72 |
^ #(
|
|
73 |
"<className> or (<className> attributes...) in load order"
|
|
74 |
RGClassDefinitionTest
|
|
75 |
RGCommentDefinitionTest
|
|
76 |
RGContainerTest
|
|
77 |
RGGlobalDefinitionTest
|
|
78 |
RGMetaclassDefinitionTest
|
|
79 |
RGMetatraitDefinitionTest
|
|
80 |
RGMethodDefinitionTest
|
|
81 |
RGNamespaceTest
|
|
82 |
RGPackageTest
|
|
83 |
RGSliceTest
|
|
84 |
RGTraitDefinitionTest
|
|
85 |
RGVariableDefinitionTest
|
|
86 |
#'stx_goodies_ring_tests'
|
|
87 |
)
|
|
88 |
!
|
|
89 |
|
|
90 |
extensionMethodNames
|
|
91 |
"list class/selector pairs of extensions.
|
|
92 |
A correponding method with real names must be present in my concrete subclasses"
|
|
93 |
|
|
94 |
^ #(
|
|
95 |
)
|
|
96 |
! !
|
|
97 |
|
|
98 |
!stx_goodies_ring_tests class methodsFor:'description - project information'!
|
|
99 |
|
|
100 |
companyName
|
|
101 |
"Returns a company string which will appear in <lib>.rc.
|
|
102 |
Under win32, this is placed into the dlls file-info"
|
|
103 |
|
|
104 |
^ 'eXept Software AG'
|
|
105 |
!
|
|
106 |
|
|
107 |
description
|
|
108 |
"Returns a description string which will appear in nt.def / bc.def"
|
|
109 |
|
|
110 |
^ 'Smalltalk/X Class library'
|
|
111 |
!
|
|
112 |
|
|
113 |
legalCopyright
|
|
114 |
"Returns a copyright string which will appear in <lib>.rc.
|
|
115 |
Under win32, this is placed into the dlls file-info"
|
|
116 |
|
|
117 |
^ 'Copyright Claus Gittinger 1988-2015\nCopyright eXept Software AG 2015'
|
|
118 |
!
|
|
119 |
|
|
120 |
productName
|
|
121 |
"Returns a product name which will appear in <lib>.rc.
|
|
122 |
Under win32, this is placed into the dlls file-info.
|
|
123 |
This method is usually redefined in a concrete application definition"
|
|
124 |
|
|
125 |
^ 'Smalltalk/X'
|
|
126 |
! !
|
|
127 |
|
|
128 |
!stx_goodies_ring_tests class methodsFor:'documentation'!
|
|
129 |
|
|
130 |
version_HG
|
|
131 |
^ '$Changeset: <not expanded> $'
|
|
132 |
! !
|
|
133 |
|