author | Jan Vrany <jan.vrany@fit.cvut.cz> |
Thu, 30 Oct 2014 22:27:09 +0000 | |
changeset 44 | 840c68a91cdd |
permissions | -rw-r--r-- |
44
840c68a91cdd
Tests moved to separate subpackage to follow St/X conventions.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
1 |
"{ Package: 'ctu:ircompiler/tests' }" |
840c68a91cdd
Tests moved to separate subpackage to follow St/X conventions.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
2 |
|
840c68a91cdd
Tests moved to separate subpackage to follow St/X conventions.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
3 |
LibraryDefinition subclass:#ctu_ircompiler_tests |
840c68a91cdd
Tests moved to separate subpackage to follow St/X conventions.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
4 |
instanceVariableNames:'' |
840c68a91cdd
Tests moved to separate subpackage to follow St/X conventions.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
5 |
classVariableNames:'' |
840c68a91cdd
Tests moved to separate subpackage to follow St/X conventions.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
6 |
poolDictionaries:'' |
840c68a91cdd
Tests moved to separate subpackage to follow St/X conventions.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
7 |
category:'* Projects & Packages *' |
840c68a91cdd
Tests moved to separate subpackage to follow St/X conventions.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
8 |
! |
840c68a91cdd
Tests moved to separate subpackage to follow St/X conventions.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
9 |
|
840c68a91cdd
Tests moved to separate subpackage to follow St/X conventions.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
10 |
|
840c68a91cdd
Tests moved to separate subpackage to follow St/X conventions.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
11 |
!ctu_ircompiler_tests class methodsFor:'description'! |
840c68a91cdd
Tests moved to separate subpackage to follow St/X conventions.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
12 |
|
840c68a91cdd
Tests moved to separate subpackage to follow St/X conventions.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
13 |
excludedFromPreRequisites |
840c68a91cdd
Tests moved to separate subpackage to follow St/X conventions.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
14 |
"list packages which are to be explicitely excluded from the automatic constructed |
840c68a91cdd
Tests moved to separate subpackage to follow St/X conventions.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
15 |
prerequisites list. If empty, everything that is found along the inheritance of any of |
840c68a91cdd
Tests moved to separate subpackage to follow St/X conventions.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
16 |
my classes is considered to be a prerequisite package." |
840c68a91cdd
Tests moved to separate subpackage to follow St/X conventions.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
17 |
|
840c68a91cdd
Tests moved to separate subpackage to follow St/X conventions.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
18 |
^ #( |
840c68a91cdd
Tests moved to separate subpackage to follow St/X conventions.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
19 |
) |
840c68a91cdd
Tests moved to separate subpackage to follow St/X conventions.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
20 |
! |
840c68a91cdd
Tests moved to separate subpackage to follow St/X conventions.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
21 |
|
840c68a91cdd
Tests moved to separate subpackage to follow St/X conventions.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
22 |
mandatoryPreRequisites |
840c68a91cdd
Tests moved to separate subpackage to follow St/X conventions.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
23 |
"list packages which are mandatory as a prerequisite. |
840c68a91cdd
Tests moved to separate subpackage to follow St/X conventions.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
24 |
This are packages containing superclasses of my classes and classes which |
840c68a91cdd
Tests moved to separate subpackage to follow St/X conventions.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
25 |
are extended by myself. |
840c68a91cdd
Tests moved to separate subpackage to follow St/X conventions.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
26 |
They are mandatory, because we need these packages as a prerequisite for loading and compiling. |
840c68a91cdd
Tests moved to separate subpackage to follow St/X conventions.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
27 |
This method is generated automatically, |
840c68a91cdd
Tests moved to separate subpackage to follow St/X conventions.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
28 |
by searching along the inheritance chain of all of my classes." |
840c68a91cdd
Tests moved to separate subpackage to follow St/X conventions.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
29 |
|
840c68a91cdd
Tests moved to separate subpackage to follow St/X conventions.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
30 |
^ #( |
840c68a91cdd
Tests moved to separate subpackage to follow St/X conventions.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
31 |
#'stx:goodies/sunit' "TestAsserter - superclass of IRBuilderTest" |
840c68a91cdd
Tests moved to separate subpackage to follow St/X conventions.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
32 |
#'stx:libbasic' "LibraryDefinition - superclass of ctu_ircompiler_tests" |
840c68a91cdd
Tests moved to separate subpackage to follow St/X conventions.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
33 |
) |
840c68a91cdd
Tests moved to separate subpackage to follow St/X conventions.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
34 |
! |
840c68a91cdd
Tests moved to separate subpackage to follow St/X conventions.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
35 |
|
840c68a91cdd
Tests moved to separate subpackage to follow St/X conventions.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
36 |
referencedPreRequisites |
840c68a91cdd
Tests moved to separate subpackage to follow St/X conventions.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
37 |
"list packages which are a prerequisite, because they contain |
840c68a91cdd
Tests moved to separate subpackage to follow St/X conventions.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
38 |
classes which are referenced by my classes. |
840c68a91cdd
Tests moved to separate subpackage to follow St/X conventions.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
39 |
We do not need these packages as a prerequisite for loading or compiling. |
840c68a91cdd
Tests moved to separate subpackage to follow St/X conventions.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
40 |
This method is generated automatically, |
840c68a91cdd
Tests moved to separate subpackage to follow St/X conventions.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
41 |
by searching all classes (and their packages) which are referenced by my classes." |
840c68a91cdd
Tests moved to separate subpackage to follow St/X conventions.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
42 |
|
840c68a91cdd
Tests moved to separate subpackage to follow St/X conventions.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
43 |
^ #( |
840c68a91cdd
Tests moved to separate subpackage to follow St/X conventions.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
44 |
#'ctu:ircompiler' "IRBuilder - referenced by IRBuilderTest>>testBlock_blockNesting_1" |
840c68a91cdd
Tests moved to separate subpackage to follow St/X conventions.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
45 |
) |
840c68a91cdd
Tests moved to separate subpackage to follow St/X conventions.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
46 |
! |
840c68a91cdd
Tests moved to separate subpackage to follow St/X conventions.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
47 |
|
840c68a91cdd
Tests moved to separate subpackage to follow St/X conventions.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
48 |
subProjects |
840c68a91cdd
Tests moved to separate subpackage to follow St/X conventions.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
49 |
"list packages which are known as subprojects. |
840c68a91cdd
Tests moved to separate subpackage to follow St/X conventions.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
50 |
The generated makefile will enter those and make there as well. |
840c68a91cdd
Tests moved to separate subpackage to follow St/X conventions.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
51 |
However: they are not forced to be loaded when a package is loaded; |
840c68a91cdd
Tests moved to separate subpackage to follow St/X conventions.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
52 |
for those, redefine requiredPrerequisites." |
840c68a91cdd
Tests moved to separate subpackage to follow St/X conventions.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
53 |
|
840c68a91cdd
Tests moved to separate subpackage to follow St/X conventions.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
54 |
^ #( |
840c68a91cdd
Tests moved to separate subpackage to follow St/X conventions.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
55 |
) |
840c68a91cdd
Tests moved to separate subpackage to follow St/X conventions.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
56 |
! ! |
840c68a91cdd
Tests moved to separate subpackage to follow St/X conventions.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
57 |
|
840c68a91cdd
Tests moved to separate subpackage to follow St/X conventions.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
58 |
!ctu_ircompiler_tests class methodsFor:'description - contents'! |
840c68a91cdd
Tests moved to separate subpackage to follow St/X conventions.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
59 |
|
840c68a91cdd
Tests moved to separate subpackage to follow St/X conventions.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
60 |
classNamesAndAttributes |
840c68a91cdd
Tests moved to separate subpackage to follow St/X conventions.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
61 |
"lists the classes which are to be included in the project. |
840c68a91cdd
Tests moved to separate subpackage to follow St/X conventions.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
62 |
Each entry in the list may be: a single class-name (symbol), |
840c68a91cdd
Tests moved to separate subpackage to follow St/X conventions.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
63 |
or an array-literal consisting of class name and attributes. |
840c68a91cdd
Tests moved to separate subpackage to follow St/X conventions.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
64 |
Attributes are: #autoload or #<os> where os is one of win32, unix,..." |
840c68a91cdd
Tests moved to separate subpackage to follow St/X conventions.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
65 |
|
840c68a91cdd
Tests moved to separate subpackage to follow St/X conventions.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
66 |
^ #( |
840c68a91cdd
Tests moved to separate subpackage to follow St/X conventions.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
67 |
"<className> or (<className> attributes...) in load order" |
840c68a91cdd
Tests moved to separate subpackage to follow St/X conventions.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
68 |
IRBuilderTest |
840c68a91cdd
Tests moved to separate subpackage to follow St/X conventions.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
69 |
IRTransformTest |
840c68a91cdd
Tests moved to separate subpackage to follow St/X conventions.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
70 |
#'ctu_ircompiler_tests' |
840c68a91cdd
Tests moved to separate subpackage to follow St/X conventions.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
71 |
) |
840c68a91cdd
Tests moved to separate subpackage to follow St/X conventions.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
72 |
! |
840c68a91cdd
Tests moved to separate subpackage to follow St/X conventions.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
73 |
|
840c68a91cdd
Tests moved to separate subpackage to follow St/X conventions.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
74 |
extensionMethodNames |
840c68a91cdd
Tests moved to separate subpackage to follow St/X conventions.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
75 |
"list class/selector pairs of extensions. |
840c68a91cdd
Tests moved to separate subpackage to follow St/X conventions.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
76 |
A correponding method with real names must be present in my concrete subclasses" |
840c68a91cdd
Tests moved to separate subpackage to follow St/X conventions.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
77 |
|
840c68a91cdd
Tests moved to separate subpackage to follow St/X conventions.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
78 |
^ #( |
840c68a91cdd
Tests moved to separate subpackage to follow St/X conventions.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
79 |
) |
840c68a91cdd
Tests moved to separate subpackage to follow St/X conventions.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
80 |
! ! |
840c68a91cdd
Tests moved to separate subpackage to follow St/X conventions.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
81 |
|
840c68a91cdd
Tests moved to separate subpackage to follow St/X conventions.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
82 |
!ctu_ircompiler_tests class methodsFor:'description - project information'! |
840c68a91cdd
Tests moved to separate subpackage to follow St/X conventions.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
83 |
|
840c68a91cdd
Tests moved to separate subpackage to follow St/X conventions.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
84 |
companyName |
840c68a91cdd
Tests moved to separate subpackage to follow St/X conventions.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
85 |
"Returns a company string which will appear in <lib>.rc. |
840c68a91cdd
Tests moved to separate subpackage to follow St/X conventions.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
86 |
Under win32, this is placed into the dlls file-info" |
840c68a91cdd
Tests moved to separate subpackage to follow St/X conventions.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
87 |
|
840c68a91cdd
Tests moved to separate subpackage to follow St/X conventions.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
88 |
^ 'My Company' |
840c68a91cdd
Tests moved to separate subpackage to follow St/X conventions.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
89 |
! |
840c68a91cdd
Tests moved to separate subpackage to follow St/X conventions.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
90 |
|
840c68a91cdd
Tests moved to separate subpackage to follow St/X conventions.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
91 |
description |
840c68a91cdd
Tests moved to separate subpackage to follow St/X conventions.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
92 |
"Returns a description string which will appear in nt.def / bc.def" |
840c68a91cdd
Tests moved to separate subpackage to follow St/X conventions.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
93 |
|
840c68a91cdd
Tests moved to separate subpackage to follow St/X conventions.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
94 |
^ 'Class Library' |
840c68a91cdd
Tests moved to separate subpackage to follow St/X conventions.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
95 |
! |
840c68a91cdd
Tests moved to separate subpackage to follow St/X conventions.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
96 |
|
840c68a91cdd
Tests moved to separate subpackage to follow St/X conventions.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
97 |
legalCopyright |
840c68a91cdd
Tests moved to separate subpackage to follow St/X conventions.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
98 |
"Returns a copyright string which will appear in <lib>.rc. |
840c68a91cdd
Tests moved to separate subpackage to follow St/X conventions.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
99 |
Under win32, this is placed into the dlls file-info" |
840c68a91cdd
Tests moved to separate subpackage to follow St/X conventions.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
100 |
|
840c68a91cdd
Tests moved to separate subpackage to follow St/X conventions.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
101 |
^ 'My CopyRight or CopyLeft' |
840c68a91cdd
Tests moved to separate subpackage to follow St/X conventions.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
102 |
! |
840c68a91cdd
Tests moved to separate subpackage to follow St/X conventions.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
103 |
|
840c68a91cdd
Tests moved to separate subpackage to follow St/X conventions.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
104 |
productName |
840c68a91cdd
Tests moved to separate subpackage to follow St/X conventions.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
105 |
"Returns a product name which will appear in <lib>.rc. |
840c68a91cdd
Tests moved to separate subpackage to follow St/X conventions.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
106 |
Under win32, this is placed into the dlls file-info. |
840c68a91cdd
Tests moved to separate subpackage to follow St/X conventions.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
107 |
This method is usually redefined in a concrete application definition" |
840c68a91cdd
Tests moved to separate subpackage to follow St/X conventions.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
108 |
|
840c68a91cdd
Tests moved to separate subpackage to follow St/X conventions.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
109 |
^ 'LibraryName' |
840c68a91cdd
Tests moved to separate subpackage to follow St/X conventions.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
110 |
! ! |
840c68a91cdd
Tests moved to separate subpackage to follow St/X conventions.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
111 |
|
840c68a91cdd
Tests moved to separate subpackage to follow St/X conventions.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
112 |
!ctu_ircompiler_tests class methodsFor:'documentation'! |
840c68a91cdd
Tests moved to separate subpackage to follow St/X conventions.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
113 |
|
840c68a91cdd
Tests moved to separate subpackage to follow St/X conventions.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
114 |
version_HG |
840c68a91cdd
Tests moved to separate subpackage to follow St/X conventions.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
115 |
^ '$Changeset: <not expanded> $' |
840c68a91cdd
Tests moved to separate subpackage to follow St/X conventions.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
116 |
! ! |
840c68a91cdd
Tests moved to separate subpackage to follow St/X conventions.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
117 |