author | Jan Vrany <jan.vrany@fit.cvut.cz> |
Thu, 21 Mar 2019 11:09:23 +0000 | |
branch | jv |
changeset 6607 | 1da320242101 |
parent 6349 | 4366b65a2c8a |
child 6856 | 98caa7f380f7 |
permissions | -rw-r--r-- |
6349 | 1 |
" |
2 |
COPYRIGHT (c) 2015 Jan Vrany |
|
3 |
COPYRIGHT (c) 2017 Jan Vrany |
|
4 |
All Rights Reserved |
|
5 |
||
6 |
This software is furnished under a license and may be used |
|
7 |
only in accordance with the terms of that license and with the |
|
8 |
inclusion of the above copyright notice. This software may not |
|
9 |
be provided or otherwise made available to, or used by, any |
|
10 |
other person. No title to or ownership of the software is |
|
11 |
hereby transferred. |
|
12 |
" |
|
5298
558eadf6190a
First shot on EditTextViewTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
13 |
"{ Package: 'stx:libwidg/tests' }" |
558eadf6190a
First shot on EditTextViewTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
14 |
|
558eadf6190a
First shot on EditTextViewTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
15 |
"{ NameSpace: Smalltalk }" |
558eadf6190a
First shot on EditTextViewTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
16 |
|
558eadf6190a
First shot on EditTextViewTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
17 |
LibraryDefinition subclass:#stx_libwidg_tests |
558eadf6190a
First shot on EditTextViewTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
18 |
instanceVariableNames:'' |
558eadf6190a
First shot on EditTextViewTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
19 |
classVariableNames:'' |
558eadf6190a
First shot on EditTextViewTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
20 |
poolDictionaries:'' |
558eadf6190a
First shot on EditTextViewTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
21 |
category:'* Projects & Packages *' |
558eadf6190a
First shot on EditTextViewTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
22 |
! |
558eadf6190a
First shot on EditTextViewTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
23 |
|
6349 | 24 |
!stx_libwidg_tests class methodsFor:'documentation'! |
25 |
||
26 |
copyright |
|
27 |
" |
|
28 |
COPYRIGHT (c) 2015 Jan Vrany |
|
29 |
COPYRIGHT (c) 2017 Jan Vrany |
|
30 |
All Rights Reserved |
|
31 |
||
32 |
This software is furnished under a license and may be used |
|
33 |
only in accordance with the terms of that license and with the |
|
34 |
inclusion of the above copyright notice. This software may not |
|
35 |
be provided or otherwise made available to, or used by, any |
|
36 |
other person. No title to or ownership of the software is |
|
37 |
hereby transferred. |
|
38 |
" |
|
39 |
! ! |
|
5298
558eadf6190a
First shot on EditTextViewTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
40 |
|
558eadf6190a
First shot on EditTextViewTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
41 |
!stx_libwidg_tests class methodsFor:'description'! |
558eadf6190a
First shot on EditTextViewTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
42 |
|
558eadf6190a
First shot on EditTextViewTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
43 |
excludedFromPreRequisites |
558eadf6190a
First shot on EditTextViewTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
44 |
"list packages which are to be explicitely excluded from the automatic constructed |
558eadf6190a
First shot on EditTextViewTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
45 |
prerequisites list. If empty, everything that is found along the inheritance of any of |
558eadf6190a
First shot on EditTextViewTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
46 |
my classes is considered to be a prerequisite package." |
558eadf6190a
First shot on EditTextViewTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
47 |
|
558eadf6190a
First shot on EditTextViewTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
48 |
^ #( |
558eadf6190a
First shot on EditTextViewTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
49 |
) |
558eadf6190a
First shot on EditTextViewTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
50 |
! |
558eadf6190a
First shot on EditTextViewTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
51 |
|
558eadf6190a
First shot on EditTextViewTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
52 |
mandatoryPreRequisites |
558eadf6190a
First shot on EditTextViewTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
53 |
"list packages which are mandatory as a prerequisite. |
558eadf6190a
First shot on EditTextViewTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
54 |
This are packages containing superclasses of my classes and classes which |
558eadf6190a
First shot on EditTextViewTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
55 |
are extended by myself. |
558eadf6190a
First shot on EditTextViewTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
56 |
They are mandatory, because we need these packages as a prerequisite for loading and compiling. |
558eadf6190a
First shot on EditTextViewTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
57 |
This method is generated automatically, |
6607 | 58 |
by searching along the inheritance chain of all of my classes. |
59 |
Please take a look at the #referencedPreRequisites method as well." |
|
5298
558eadf6190a
First shot on EditTextViewTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
60 |
|
558eadf6190a
First shot on EditTextViewTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
61 |
^ #( |
6607 | 62 |
#'stx:goodies/sunit' "TestAsserter - superclass of EditFieldTests" |
5298
558eadf6190a
First shot on EditTextViewTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
63 |
#'stx:libbasic' "LibraryDefinition - superclass of stx_libwidg_tests" |
558eadf6190a
First shot on EditTextViewTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
64 |
) |
558eadf6190a
First shot on EditTextViewTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
65 |
! |
558eadf6190a
First shot on EditTextViewTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
66 |
|
558eadf6190a
First shot on EditTextViewTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
67 |
referencedPreRequisites |
558eadf6190a
First shot on EditTextViewTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
68 |
"list packages which are a prerequisite, because they contain |
558eadf6190a
First shot on EditTextViewTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
69 |
classes which are referenced by my classes. |
6607 | 70 |
These packages are NOT needed as a prerequisite for compiling or loading, |
5298
558eadf6190a
First shot on EditTextViewTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
71 |
however, a class from it may be referenced during execution and having it |
558eadf6190a
First shot on EditTextViewTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
72 |
unloaded then may lead to a runtime doesNotUnderstand error, unless the caller |
558eadf6190a
First shot on EditTextViewTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
73 |
includes explicit checks for the package being present. |
558eadf6190a
First shot on EditTextViewTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
74 |
This method is generated automatically, |
6607 | 75 |
by searching all classes (and their packages) which are referenced by my classes. |
76 |
Please also take a look at the #mandatoryPreRequisites method" |
|
5298
558eadf6190a
First shot on EditTextViewTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
77 |
|
558eadf6190a
First shot on EditTextViewTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
78 |
^ #( |
6607 | 79 |
#'stx:libview' "Image - referenced by EditFieldTests>>test_issue_261a" |
80 |
#'stx:libwidg' "EditField - referenced by EditFieldTests>>setUp" |
|
5298
558eadf6190a
First shot on EditTextViewTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
81 |
) |
558eadf6190a
First shot on EditTextViewTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
82 |
! |
558eadf6190a
First shot on EditTextViewTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
83 |
|
558eadf6190a
First shot on EditTextViewTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
84 |
subProjects |
558eadf6190a
First shot on EditTextViewTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
85 |
"list packages which are known as subprojects. |
558eadf6190a
First shot on EditTextViewTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
86 |
The generated makefile will enter those and make there as well. |
558eadf6190a
First shot on EditTextViewTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
87 |
However: they are not forced to be loaded when a package is loaded; |
558eadf6190a
First shot on EditTextViewTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
88 |
for those, redefine requiredPrerequisites." |
558eadf6190a
First shot on EditTextViewTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
89 |
|
558eadf6190a
First shot on EditTextViewTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
90 |
^ #( |
558eadf6190a
First shot on EditTextViewTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
91 |
) |
558eadf6190a
First shot on EditTextViewTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
92 |
! ! |
558eadf6190a
First shot on EditTextViewTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
93 |
|
558eadf6190a
First shot on EditTextViewTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
94 |
!stx_libwidg_tests class methodsFor:'description - contents'! |
558eadf6190a
First shot on EditTextViewTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
95 |
|
558eadf6190a
First shot on EditTextViewTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
96 |
classNamesAndAttributes |
558eadf6190a
First shot on EditTextViewTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
97 |
"lists the classes which are to be included in the project. |
558eadf6190a
First shot on EditTextViewTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
98 |
Each entry in the list may be: a single class-name (symbol), |
558eadf6190a
First shot on EditTextViewTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
99 |
or an array-literal consisting of class name and attributes. |
558eadf6190a
First shot on EditTextViewTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
100 |
Attributes are: #autoload or #<os> where os is one of win32, unix,..." |
558eadf6190a
First shot on EditTextViewTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
101 |
|
558eadf6190a
First shot on EditTextViewTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
102 |
^ #( |
558eadf6190a
First shot on EditTextViewTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
103 |
"<className> or (<className> attributes...) in load order" |
6607 | 104 |
EditFieldTests |
105 |
#'stx_libwidg_tests' |
|
5298
558eadf6190a
First shot on EditTextViewTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
106 |
(EditTextViewTests autoload) |
558eadf6190a
First shot on EditTextViewTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
107 |
) |
558eadf6190a
First shot on EditTextViewTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
108 |
! |
558eadf6190a
First shot on EditTextViewTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
109 |
|
558eadf6190a
First shot on EditTextViewTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
110 |
extensionMethodNames |
6607 | 111 |
"lists the extension methods which are to be included in the project. |
112 |
Entries are 2-element array literals, consisting of class-name and selector. |
|
113 |
A correponding method with real names must be present in my concrete subclasses |
|
114 |
if it has extensions." |
|
5298
558eadf6190a
First shot on EditTextViewTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
115 |
|
558eadf6190a
First shot on EditTextViewTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
116 |
^ #( |
558eadf6190a
First shot on EditTextViewTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
117 |
) |
558eadf6190a
First shot on EditTextViewTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
118 |
! ! |
558eadf6190a
First shot on EditTextViewTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
119 |
|
558eadf6190a
First shot on EditTextViewTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
120 |
!stx_libwidg_tests class methodsFor:'description - project information'! |
558eadf6190a
First shot on EditTextViewTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
121 |
|
558eadf6190a
First shot on EditTextViewTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
122 |
companyName |
558eadf6190a
First shot on EditTextViewTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
123 |
"Returns a company string which will appear in <lib>.rc. |
558eadf6190a
First shot on EditTextViewTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
124 |
Under win32, this is placed into the dlls file-info" |
558eadf6190a
First shot on EditTextViewTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
125 |
|
558eadf6190a
First shot on EditTextViewTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
126 |
^ 'eXept Software AG' |
558eadf6190a
First shot on EditTextViewTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
127 |
! |
558eadf6190a
First shot on EditTextViewTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
128 |
|
558eadf6190a
First shot on EditTextViewTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
129 |
description |
558eadf6190a
First shot on EditTextViewTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
130 |
"Returns a description string which will appear in nt.def / bc.def" |
558eadf6190a
First shot on EditTextViewTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
131 |
|
558eadf6190a
First shot on EditTextViewTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
132 |
^ 'Smalltalk/X Class library' |
558eadf6190a
First shot on EditTextViewTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
133 |
! |
558eadf6190a
First shot on EditTextViewTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
134 |
|
558eadf6190a
First shot on EditTextViewTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
135 |
legalCopyright |
558eadf6190a
First shot on EditTextViewTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
136 |
"Returns a copyright string which will appear in <lib>.rc. |
558eadf6190a
First shot on EditTextViewTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
137 |
Under win32, this is placed into the dlls file-info" |
558eadf6190a
First shot on EditTextViewTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
138 |
|
558eadf6190a
First shot on EditTextViewTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
139 |
^ 'Copyright Claus Gittinger 1988-2015\nCopyright eXept Software AG 1998-2015' |
558eadf6190a
First shot on EditTextViewTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
140 |
! |
558eadf6190a
First shot on EditTextViewTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
141 |
|
558eadf6190a
First shot on EditTextViewTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
142 |
productName |
558eadf6190a
First shot on EditTextViewTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
143 |
"Returns a product name which will appear in <lib>.rc. |
558eadf6190a
First shot on EditTextViewTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
144 |
Under win32, this is placed into the dlls file-info. |
558eadf6190a
First shot on EditTextViewTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
145 |
This method is usually redefined in a concrete application definition" |
558eadf6190a
First shot on EditTextViewTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
146 |
|
558eadf6190a
First shot on EditTextViewTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
147 |
^ 'Smalltalk/X' |
558eadf6190a
First shot on EditTextViewTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
148 |
! ! |
558eadf6190a
First shot on EditTextViewTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
149 |
|
558eadf6190a
First shot on EditTextViewTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
150 |
!stx_libwidg_tests class methodsFor:'documentation'! |
558eadf6190a
First shot on EditTextViewTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
151 |
|
558eadf6190a
First shot on EditTextViewTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
152 |
version_HG |
558eadf6190a
First shot on EditTextViewTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
153 |
^ '$Changeset: <not expanded> $' |
558eadf6190a
First shot on EditTextViewTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
154 |
! ! |
558eadf6190a
First shot on EditTextViewTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
155 |