author | Jan Vrany <jan.vrany@fit.cvut.cz> |
Thu, 18 Jun 2015 06:40:15 +0100 | |
changeset 495 | 555f59e60886 |
parent 427 | a7f5e6de19d2 |
permissions | -rw-r--r-- |
256 | 1 |
"{ Package: 'stx:goodies/petitparser/tests' }" |
2 |
||
426
2a65c972b937
Tell stc to NOT to inline #not as it has different meaning in PetitParser...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
405
diff
changeset
|
3 |
"{ NameSpace: Smalltalk }" |
2a65c972b937
Tell stc to NOT to inline #not as it has different meaning in PetitParser...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
405
diff
changeset
|
4 |
|
256 | 5 |
LibraryDefinition subclass:#stx_goodies_petitparser_tests |
6 |
instanceVariableNames:'' |
|
7 |
classVariableNames:'' |
|
8 |
poolDictionaries:'' |
|
9 |
category:'* Projects & Packages *' |
|
10 |
! |
|
11 |
||
12 |
||
376
a2656b27cace
Added monticelloName to package definition to ease export to .mcz
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
375
diff
changeset
|
13 |
!stx_goodies_petitparser_tests class methodsFor:'accessing - monticello'! |
a2656b27cace
Added monticelloName to package definition to ease export to .mcz
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
375
diff
changeset
|
14 |
|
377
6112a403a52d
Updated to latest version from Moose repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
376
diff
changeset
|
15 |
monticelloLastMergedVersionInfo |
6112a403a52d
Updated to latest version from Moose repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
376
diff
changeset
|
16 |
"The last merged version is: " |
6112a403a52d
Updated to latest version from Moose repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
376
diff
changeset
|
17 |
|
6112a403a52d
Updated to latest version from Moose repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
376
diff
changeset
|
18 |
^ ' |
405
0470a5e6e712
Merged PetitParser and PetitTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
404
diff
changeset
|
19 |
Name: PetitTests-JanKurs.63 |
377
6112a403a52d
Updated to latest version from Moose repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
376
diff
changeset
|
20 |
Author: JanKurs |
405
0470a5e6e712
Merged PetitParser and PetitTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
404
diff
changeset
|
21 |
Time: 30-10-2014, 12:54:37 PM |
0470a5e6e712
Merged PetitParser and PetitTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
404
diff
changeset
|
22 |
UUID: 7afbeef7-eadf-4d65-bce5-7204e2727edb |
377
6112a403a52d
Updated to latest version from Moose repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
376
diff
changeset
|
23 |
Repository: http://smalltalkhub.com/mc/Moose/PetitParser/main |
6112a403a52d
Updated to latest version from Moose repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
376
diff
changeset
|
24 |
' |
6112a403a52d
Updated to latest version from Moose repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
376
diff
changeset
|
25 |
|
6112a403a52d
Updated to latest version from Moose repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
376
diff
changeset
|
26 |
"Created: / 03-10-2014 / 02:28:16 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
405
0470a5e6e712
Merged PetitParser and PetitTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
404
diff
changeset
|
27 |
"Modified: / 03-11-2014 / 08:26:31 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
377
6112a403a52d
Updated to latest version from Moose repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
376
diff
changeset
|
28 |
! |
6112a403a52d
Updated to latest version from Moose repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
376
diff
changeset
|
29 |
|
376
a2656b27cace
Added monticelloName to package definition to ease export to .mcz
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
375
diff
changeset
|
30 |
monticelloName |
a2656b27cace
Added monticelloName to package definition to ease export to .mcz
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
375
diff
changeset
|
31 |
"Return name of the package for Monticello. This is used when package is exported" |
a2656b27cace
Added monticelloName to package definition to ease export to .mcz
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
375
diff
changeset
|
32 |
|
a2656b27cace
Added monticelloName to package definition to ease export to .mcz
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
375
diff
changeset
|
33 |
^ 'PetitTests' |
a2656b27cace
Added monticelloName to package definition to ease export to .mcz
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
375
diff
changeset
|
34 |
|
a2656b27cace
Added monticelloName to package definition to ease export to .mcz
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
375
diff
changeset
|
35 |
"Created: / 03-10-2014 / 01:48:05 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
a2656b27cace
Added monticelloName to package definition to ease export to .mcz
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
375
diff
changeset
|
36 |
! ! |
a2656b27cace
Added monticelloName to package definition to ease export to .mcz
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
375
diff
changeset
|
37 |
|
256 | 38 |
!stx_goodies_petitparser_tests class methodsFor:'description'! |
39 |
||
40 |
excludedFromPreRequisites |
|
41 |
"list all packages which should be ignored in the automatic |
|
42 |
preRequisites scan. See #preRequisites for more." |
|
43 |
||
44 |
^ #( |
|
45 |
) |
|
46 |
! |
|
47 |
||
48 |
mandatoryPreRequisites |
|
377
6112a403a52d
Updated to latest version from Moose repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
376
diff
changeset
|
49 |
"list packages which are mandatory as a prerequisite. |
6112a403a52d
Updated to latest version from Moose repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
376
diff
changeset
|
50 |
This are packages containing superclasses of my classes and classes which |
6112a403a52d
Updated to latest version from Moose repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
376
diff
changeset
|
51 |
are extended by myself. |
6112a403a52d
Updated to latest version from Moose repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
376
diff
changeset
|
52 |
They are mandatory, because we need these packages as a prerequisite for loading and compiling. |
6112a403a52d
Updated to latest version from Moose repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
376
diff
changeset
|
53 |
This method is generated automatically, |
6112a403a52d
Updated to latest version from Moose repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
376
diff
changeset
|
54 |
by searching along the inheritance chain of all of my classes." |
256 | 55 |
|
56 |
^ #( |
|
377
6112a403a52d
Updated to latest version from Moose repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
376
diff
changeset
|
57 |
#'stx:goodies/petitparser' "PPCompositeParser - superclass of PPArithmeticParser" |
405
0470a5e6e712
Merged PetitParser and PetitTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
404
diff
changeset
|
58 |
#'stx:goodies/sunit' "TestAsserter - superclass of PPAbstractParserTest" |
377
6112a403a52d
Updated to latest version from Moose repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
376
diff
changeset
|
59 |
#'stx:libbasic' "LibraryDefinition - superclass of stx_goodies_petitparser_tests" |
256 | 60 |
) |
61 |
! |
|
62 |
||
63 |
referencedPreRequisites |
|
377
6112a403a52d
Updated to latest version from Moose repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
376
diff
changeset
|
64 |
"list packages which are a prerequisite, because they contain |
6112a403a52d
Updated to latest version from Moose repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
376
diff
changeset
|
65 |
classes which are referenced by my classes. |
427
a7f5e6de19d2
Merged JK's version from Monticello
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
426
diff
changeset
|
66 |
We do not need these packages as a prerequisite for compiling or loading, |
a7f5e6de19d2
Merged JK's version from Monticello
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
426
diff
changeset
|
67 |
however, a class from it may be referenced during execution and having it |
a7f5e6de19d2
Merged JK's version from Monticello
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
426
diff
changeset
|
68 |
unloaded then may lead to a runtime doesNotUnderstand error, unless the caller |
a7f5e6de19d2
Merged JK's version from Monticello
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
426
diff
changeset
|
69 |
includes explicit checks for the package being present. |
377
6112a403a52d
Updated to latest version from Moose repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
376
diff
changeset
|
70 |
This method is generated automatically, |
6112a403a52d
Updated to latest version from Moose repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
376
diff
changeset
|
71 |
by searching all classes (and their packages) which are referenced by my classes." |
256 | 72 |
|
73 |
^ #( |
|
74 |
) |
|
75 |
! |
|
76 |
||
426
2a65c972b937
Tell stc to NOT to inline #not as it has different meaning in PetitParser...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
405
diff
changeset
|
77 |
stcOptimizationOptions |
2a65c972b937
Tell stc to NOT to inline #not as it has different meaning in PetitParser...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
405
diff
changeset
|
78 |
"do not inline the not operation here - it is overwritten" |
2a65c972b937
Tell stc to NOT to inline #not as it has different meaning in PetitParser...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
405
diff
changeset
|
79 |
|
2a65c972b937
Tell stc to NOT to inline #not as it has different meaning in PetitParser...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
405
diff
changeset
|
80 |
^ super stcOptimizationOptions , ' -inlinenot' |
2a65c972b937
Tell stc to NOT to inline #not as it has different meaning in PetitParser...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
405
diff
changeset
|
81 |
|
2a65c972b937
Tell stc to NOT to inline #not as it has different meaning in PetitParser...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
405
diff
changeset
|
82 |
"Created: / 13-04-2015 / 14:18:37 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
2a65c972b937
Tell stc to NOT to inline #not as it has different meaning in PetitParser...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
405
diff
changeset
|
83 |
! |
2a65c972b937
Tell stc to NOT to inline #not as it has different meaning in PetitParser...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
405
diff
changeset
|
84 |
|
256 | 85 |
subProjects |
86 |
"list packages which are known as subprojects. |
|
87 |
The generated makefile will enter those and make there as well. |
|
88 |
However: they are not forced to be loaded when a package is loaded; |
|
89 |
for those, redefine requiredPrerequisites" |
|
90 |
||
91 |
^ #( |
|
92 |
) |
|
93 |
! ! |
|
94 |
||
95 |
!stx_goodies_petitparser_tests class methodsFor:'description - contents'! |
|
96 |
||
97 |
classNamesAndAttributes |
|
98 |
"lists the classes which are to be included in the project. |
|
99 |
Each entry in the list may be: a single class-name (symbol), |
|
100 |
or an array-literal consisting of class name and attributes. |
|
101 |
Attributes are: #autoload or #<os> where os is one of win32, unix,..." |
|
102 |
||
103 |
^ #( |
|
104 |
"<className> or (<className> attributes...) in load order" |
|
403
7063d523b064
Removed autoload attribut for tests.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
377
diff
changeset
|
105 |
PPAbstractParserTest |
7063d523b064
Removed autoload attribut for tests.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
377
diff
changeset
|
106 |
PPArithmeticParser |
377
6112a403a52d
Updated to latest version from Moose repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
376
diff
changeset
|
107 |
PPContextMementoTest |
6112a403a52d
Updated to latest version from Moose repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
376
diff
changeset
|
108 |
PPContextTest |
403
7063d523b064
Removed autoload attribut for tests.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
377
diff
changeset
|
109 |
PPLambdaParser |
7063d523b064
Removed autoload attribut for tests.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
377
diff
changeset
|
110 |
PPParserResource |
256 | 111 |
#'stx_goodies_petitparser_tests' |
403
7063d523b064
Removed autoload attribut for tests.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
377
diff
changeset
|
112 |
PPComposedTest |
7063d523b064
Removed autoload attribut for tests.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
377
diff
changeset
|
113 |
PPCompositeParserTest |
427
a7f5e6de19d2
Merged JK's version from Monticello
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
426
diff
changeset
|
114 |
PPConditionalParserTest |
a7f5e6de19d2
Merged JK's version from Monticello
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
426
diff
changeset
|
115 |
PPConditionalParserTests |
403
7063d523b064
Removed autoload attribut for tests.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
377
diff
changeset
|
116 |
PPExtensionTest |
7063d523b064
Removed autoload attribut for tests.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
377
diff
changeset
|
117 |
PPMappingTest |
7063d523b064
Removed autoload attribut for tests.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
377
diff
changeset
|
118 |
PPObjectTest |
7063d523b064
Removed autoload attribut for tests.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
377
diff
changeset
|
119 |
PPParserTest |
7063d523b064
Removed autoload attribut for tests.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
377
diff
changeset
|
120 |
PPPredicateTest |
7063d523b064
Removed autoload attribut for tests.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
377
diff
changeset
|
121 |
PPScriptingTest |
7063d523b064
Removed autoload attribut for tests.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
377
diff
changeset
|
122 |
PPTokenTest |
7063d523b064
Removed autoload attribut for tests.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
377
diff
changeset
|
123 |
PPArithmeticParserTest |
7063d523b064
Removed autoload attribut for tests.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
377
diff
changeset
|
124 |
PPLambdaParserTest |
7063d523b064
Removed autoload attribut for tests.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
377
diff
changeset
|
125 |
PPExpressionParserTest |
256 | 126 |
) |
127 |
! |
|
128 |
||
129 |
extensionMethodNames |
|
377
6112a403a52d
Updated to latest version from Moose repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
376
diff
changeset
|
130 |
"list class/selector pairs of extensions. |
6112a403a52d
Updated to latest version from Moose repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
376
diff
changeset
|
131 |
A correponding method with real names must be present in my concrete subclasses" |
256 | 132 |
|
133 |
^ #( |
|
134 |
) |
|
135 |
! ! |
|
136 |
||
137 |
!stx_goodies_petitparser_tests class methodsFor:'description - project information'! |
|
138 |
||
139 |
companyName |
|
140 |
"Return a companyname which will appear in <lib>.rc" |
|
141 |
||
142 |
^ 'eXept Software AG' |
|
143 |
! |
|
144 |
||
145 |
description |
|
146 |
"Return a description string which will appear in vc.def / bc.def" |
|
147 |
||
148 |
^ 'Smalltalk/X Class library' |
|
149 |
! |
|
150 |
||
151 |
legalCopyright |
|
152 |
"Return a copyright string which will appear in <lib>.rc" |
|
153 |
||
154 |
^ 'Copyright Claus Gittinger 1988-2014\nCopyright eXept Software AG 1998-2014' |
|
155 |
! |
|
156 |
||
157 |
productName |
|
158 |
"Return a product name which will appear in <lib>.rc" |
|
159 |
||
160 |
^ 'Smalltalk/X' |
|
161 |
! ! |
|
162 |
||
163 |
!stx_goodies_petitparser_tests class methodsFor:'documentation'! |
|
164 |
||
165 |
version |
|
324 | 166 |
^ '$Header: /cvs/stx/stx/goodies/petitparser/tests/stx_goodies_petitparser_tests.st,v 1.3 2014-03-04 20:32:06 cg Exp $' |
256 | 167 |
! |
168 |
||
169 |
version_CVS |
|
324 | 170 |
^ '$Header: /cvs/stx/stx/goodies/petitparser/tests/stx_goodies_petitparser_tests.st,v 1.3 2014-03-04 20:32:06 cg Exp $' |
376
a2656b27cace
Added monticelloName to package definition to ease export to .mcz
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
375
diff
changeset
|
171 |
! |
a2656b27cace
Added monticelloName to package definition to ease export to .mcz
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
375
diff
changeset
|
172 |
|
a2656b27cace
Added monticelloName to package definition to ease export to .mcz
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
375
diff
changeset
|
173 |
version_HG |
a2656b27cace
Added monticelloName to package definition to ease export to .mcz
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
375
diff
changeset
|
174 |
^ '$Changeset: <not expanded> $' |
256 | 175 |
! ! |
176 |