author | Jan Vrany <jan.vrany@fit.cvut.cz> |
Mon, 04 Feb 2019 00:24:10 +0000 | |
changeset 3886 | 292b73957757 |
parent 3538 | 437fc55b3eed |
permissions | -rw-r--r-- |
749 | 1 |
" |
3324
a58245c0e83a
Updated copyright notices.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2731
diff
changeset
|
2 |
COPYRIGHT (c) 1996-2015 by Claus Gittinger |
2353
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2152
diff
changeset
|
3 |
|
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2152
diff
changeset
|
4 |
New code and modifications done at SWING Research Group [1]: |
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2152
diff
changeset
|
5 |
|
3324
a58245c0e83a
Updated copyright notices.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2731
diff
changeset
|
6 |
COPYRIGHT (c) 2010-2015 by Jan Vrany, Jan Kurs and Marcel Hlopko |
749 | 7 |
SWING Research Group, Czech Technical University in Prague |
8 |
||
9 |
This software is furnished under a license and may be used |
|
10 |
only in accordance with the terms of that license and with the |
|
11 |
inclusion of the above copyright notice. This software may not |
|
12 |
be provided or otherwise made available to, or used by, any |
|
13 |
other person. No title to or ownership of the software is |
|
14 |
hereby transferred. |
|
15 |
||
2353
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2152
diff
changeset
|
16 |
[1] Code written at SWING Research Group contains a signature |
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2152
diff
changeset
|
17 |
of one of the above copright owners. For exact set of such code, |
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2152
diff
changeset
|
18 |
see the differences between this version and version stx:libjava |
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2152
diff
changeset
|
19 |
as of 1.9.2010 |
749 | 20 |
" |
21 |
"{ Package: 'stx:libjava' }" |
|
22 |
||
3330
b14c58b2876c
Oops, moved stray reloading-related methods from stx:libjava/experiments to stx:libjava.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3324
diff
changeset
|
23 |
"{ NameSpace: Smalltalk }" |
b14c58b2876c
Oops, moved stray reloading-related methods from stx:libjava/experiments to stx:libjava.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3324
diff
changeset
|
24 |
|
749 | 25 |
JavaAntProjectResource subclass:#JavaTestsResource |
26 |
instanceVariableNames:'' |
|
27 |
classVariableNames:'' |
|
28 |
poolDictionaries:'' |
|
29 |
category:'Languages-Java-Tests' |
|
30 |
! |
|
31 |
||
32 |
!JavaTestsResource class methodsFor:'documentation'! |
|
33 |
||
34 |
copyright |
|
35 |
" |
|
3324
a58245c0e83a
Updated copyright notices.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2731
diff
changeset
|
36 |
COPYRIGHT (c) 1996-2015 by Claus Gittinger |
2353
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2152
diff
changeset
|
37 |
|
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2152
diff
changeset
|
38 |
New code and modifications done at SWING Research Group [1]: |
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2152
diff
changeset
|
39 |
|
3324
a58245c0e83a
Updated copyright notices.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2731
diff
changeset
|
40 |
COPYRIGHT (c) 2010-2015 by Jan Vrany, Jan Kurs and Marcel Hlopko |
749 | 41 |
SWING Research Group, Czech Technical University in Prague |
42 |
||
43 |
This software is furnished under a license and may be used |
|
44 |
only in accordance with the terms of that license and with the |
|
45 |
inclusion of the above copyright notice. This software may not |
|
46 |
be provided or otherwise made available to, or used by, any |
|
47 |
other person. No title to or ownership of the software is |
|
48 |
hereby transferred. |
|
49 |
||
2353
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2152
diff
changeset
|
50 |
[1] Code written at SWING Research Group contains a signature |
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2152
diff
changeset
|
51 |
of one of the above copright owners. For exact set of such code, |
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2152
diff
changeset
|
52 |
see the differences between this version and version stx:libjava |
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2152
diff
changeset
|
53 |
as of 1.9.2010 |
749 | 54 |
|
55 |
" |
|
56 |
! ! |
|
57 |
||
58 |
!JavaTestsResource class methodsFor:'accessing'! |
|
59 |
||
60 |
classpath |
|
61 |
|cp| |
|
62 |
||
63 |
cp := OrderedCollection new. |
|
64 |
self antProjectDir |
|
2353
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2152
diff
changeset
|
65 |
directoryContentsDo:[:dir | |
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2152
diff
changeset
|
66 |
(self shouldIncludeProject: dir) ifTrue:[ |
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2152
diff
changeset
|
67 |
cp := cp , (self classpathFor:dir) |
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2152
diff
changeset
|
68 |
]]. |
749 | 69 |
^ cp |
70 |
||
71 |
" |
|
3538
437fc55b3eed
Added tests for INVOKE? instruction when invoked method is missing
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3412
diff
changeset
|
72 |
JavaTestsResource classpath |
437fc55b3eed
Added tests for INVOKE? instruction when invoked method is missing
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3412
diff
changeset
|
73 |
" |
2353
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2152
diff
changeset
|
74 |
|
749 | 75 |
"Created: / 07-05-2011 / 18:15:16 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
2353
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2152
diff
changeset
|
76 |
"Modified: / 28-03-2012 / 12:28:59 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
3538
437fc55b3eed
Added tests for INVOKE? instruction when invoked method is missing
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3412
diff
changeset
|
77 |
"Modified (comment): / 21-03-2016 / 00:07:34 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
749 | 78 |
! |
79 |
||
80 |
classpathFor:testProject |
|
81 |
|cp dir| |
|
82 |
||
83 |
cp := OrderedCollection new. |
|
84 |
dir := self antProjectDir / testProject. |
|
3538
437fc55b3eed
Added tests for INVOKE? instruction when invoked method is missing
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3412
diff
changeset
|
85 |
dir isDirectory ifTrue: [ |
437fc55b3eed
Added tests for INVOKE? instruction when invoked method is missing
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3412
diff
changeset
|
86 |
(dir / 'bin') exists ifTrue:[ |
437fc55b3eed
Added tests for INVOKE? instruction when invoked method is missing
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3412
diff
changeset
|
87 |
cp add:(dir / 'bin') asString |
437fc55b3eed
Added tests for INVOKE? instruction when invoked method is missing
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3412
diff
changeset
|
88 |
]. |
437fc55b3eed
Added tests for INVOKE? instruction when invoked method is missing
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3412
diff
changeset
|
89 |
(dir / 'lib') exists ifTrue: [ |
437fc55b3eed
Added tests for INVOKE? instruction when invoked method is missing
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3412
diff
changeset
|
90 |
cp addAll:((dir / 'lib') directoryContentsAsFilenames select:[:jar | jar suffix = 'jar' ]) |
437fc55b3eed
Added tests for INVOKE? instruction when invoked method is missing
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3412
diff
changeset
|
91 |
]. |
437fc55b3eed
Added tests for INVOKE? instruction when invoked method is missing
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3412
diff
changeset
|
92 |
(dir / 'bin-tests') exists ifTrue:[ |
437fc55b3eed
Added tests for INVOKE? instruction when invoked method is missing
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3412
diff
changeset
|
93 |
cp add:(dir / 'bin-tests') asString |
437fc55b3eed
Added tests for INVOKE? instruction when invoked method is missing
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3412
diff
changeset
|
94 |
]. |
437fc55b3eed
Added tests for INVOKE? instruction when invoked method is missing
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3412
diff
changeset
|
95 |
"/ Argh...hack for stx:libjava/tests. We should get rid of this ancient |
437fc55b3eed
Added tests for INVOKE? instruction when invoked method is missing
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3412
diff
changeset
|
96 |
"/ code!! |
437fc55b3eed
Added tests for INVOKE? instruction when invoked method is missing
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3412
diff
changeset
|
97 |
(dir / 'bin-tests-INVOKEX') exists ifTrue:[ |
437fc55b3eed
Added tests for INVOKE? instruction when invoked method is missing
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3412
diff
changeset
|
98 |
cp add:(dir / 'bin-tests-INVOKEX') asString |
437fc55b3eed
Added tests for INVOKE? instruction when invoked method is missing
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3412
diff
changeset
|
99 |
]. |
437fc55b3eed
Added tests for INVOKE? instruction when invoked method is missing
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3412
diff
changeset
|
100 |
]. |
749 | 101 |
^ cp |
102 |
||
103 |
" |
|
104 |
JavaTestsResource testsClasspath" |
|
2353
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2152
diff
changeset
|
105 |
|
749 | 106 |
"Created: / 11-06-2011 / 15:58:00 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
3538
437fc55b3eed
Added tests for INVOKE? instruction when invoked method is missing
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3412
diff
changeset
|
107 |
"Modified: / 21-03-2016 / 00:19:33 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
749 | 108 |
! |
109 |
||
110 |
classpathForLibjava |
|
111 |
^ self classpathFor:'libjava' |
|
112 |
||
113 |
" |
|
114 |
JavaTestsResource classpathForLibjava |
|
115 |
" |
|
116 |
||
117 |
"Created: / 21-06-2011 / 17:34:41 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
118 |
! |
|
119 |
||
120 |
classpathForMauve |
|
3335
acdda45271f7
Repository cleanup (4/7): moved mauve source to stx:libjava/mauve/java where it belongs
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3330
diff
changeset
|
121 |
| def | |
acdda45271f7
Repository cleanup (4/7): moved mauve source to stx:libjava/mauve/java where it belongs
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3330
diff
changeset
|
122 |
|
3337
fd5013aca049
Repository cleanup (6/7): moved Mauve test suite under stx:libjava/tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3335
diff
changeset
|
123 |
def := Smalltalk at: #stx_libjava_tests_mauve. |
3335
acdda45271f7
Repository cleanup (4/7): moved mauve source to stx:libjava/mauve/java where it belongs
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3330
diff
changeset
|
124 |
def isNil ifTrue:[ |
3337
fd5013aca049
Repository cleanup (6/7): moved Mauve test suite under stx:libjava/tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3335
diff
changeset
|
125 |
Smalltalk loadPackage: #'stx:libjava/tests/mauve' . |
fd5013aca049
Repository cleanup (6/7): moved Mauve test suite under stx:libjava/tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3335
diff
changeset
|
126 |
def := Smalltalk at: #stx_libjava_tests_mauve. |
3335
acdda45271f7
Repository cleanup (4/7): moved mauve source to stx:libjava/mauve/java where it belongs
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3330
diff
changeset
|
127 |
]. |
acdda45271f7
Repository cleanup (4/7): moved mauve source to stx:libjava/mauve/java where it belongs
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3330
diff
changeset
|
128 |
^ def javaClassPath |
749 | 129 |
|
130 |
" |
|
2353
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2152
diff
changeset
|
131 |
JavaTestsResource classpathForMauve |
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2152
diff
changeset
|
132 |
" |
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2152
diff
changeset
|
133 |
|
749 | 134 |
"Created: / 11-06-2011 / 15:59:31 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
3335
acdda45271f7
Repository cleanup (4/7): moved mauve source to stx:libjava/mauve/java where it belongs
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3330
diff
changeset
|
135 |
"Modified: / 21-01-2015 / 11:13:23 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
2353
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2152
diff
changeset
|
136 |
! |
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2152
diff
changeset
|
137 |
|
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2152
diff
changeset
|
138 |
properties |
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2152
diff
changeset
|
139 |
|
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2152
diff
changeset
|
140 |
^{ |
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2152
diff
changeset
|
141 |
{ 'dir.libs' . (JavaLibraries directory / 'libs') pathName } |
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2152
diff
changeset
|
142 |
} |
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2152
diff
changeset
|
143 |
|
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2152
diff
changeset
|
144 |
"Created: / 02-09-2011 / 09:37:08 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2152
diff
changeset
|
145 |
! |
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2152
diff
changeset
|
146 |
|
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2152
diff
changeset
|
147 |
resources |
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2152
diff
changeset
|
148 |
|
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2152
diff
changeset
|
149 |
^Array with: JavaLibrariesResource |
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2152
diff
changeset
|
150 |
|
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2152
diff
changeset
|
151 |
"Created: / 02-09-2011 / 09:13:03 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2152
diff
changeset
|
152 |
! |
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2152
diff
changeset
|
153 |
|
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2152
diff
changeset
|
154 |
shouldIncludeProject: testProject |
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2152
diff
changeset
|
155 |
|
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2152
diff
changeset
|
156 |
^ (testProject ~= 'libjava-mauve') |
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2152
diff
changeset
|
157 |
|
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2152
diff
changeset
|
158 |
"Created: / 10-03-2012 / 11:03:10 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
749 | 159 |
! ! |
160 |
||
161 |
!JavaTestsResource class methodsFor:'accessing - ant project'! |
|
162 |
||
163 |
antProjectDir |
|
2353
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2152
diff
changeset
|
164 |
| base | |
749 | 165 |
|
2353
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2152
diff
changeset
|
166 |
base := (Smalltalk getPackageDirectoryForPackage: #'stx:libjava'). |
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2152
diff
changeset
|
167 |
base isNil ifTrue:[ ^ nil ]. |
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2152
diff
changeset
|
168 |
^ base / 'tests' |
749 | 169 |
|
2353
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2152
diff
changeset
|
170 |
" |
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2152
diff
changeset
|
171 |
JavaTestsResource antProjectDir |
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2152
diff
changeset
|
172 |
" |
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2152
diff
changeset
|
173 |
|
749 | 174 |
"Created: / 18-07-2011 / 18:15:15 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
2353
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2152
diff
changeset
|
175 |
"Modified (comment): / 16-11-2012 / 00:21:23 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
749 | 176 |
! ! |
177 |
||
178 |
!JavaTestsResource class methodsFor:'documentation'! |
|
179 |
||
2353
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2152
diff
changeset
|
180 |
version_CVS |
3412
df11bb428463
Merged with mercurial revision 4f3cc813be4 (8 changesets total)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3360
diff
changeset
|
181 |
^ '$Header: /cvs/stx/stx/libjava/JavaTestsResource.st,v 1.6 2015-03-20 12:08:00 vrany Exp $' |
2353
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2152
diff
changeset
|
182 |
! |
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2152
diff
changeset
|
183 |
|
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2152
diff
changeset
|
184 |
version_HG |
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2152
diff
changeset
|
185 |
|
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2152
diff
changeset
|
186 |
^ '$Changeset: <not expanded> $' |
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2152
diff
changeset
|
187 |
! |
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2152
diff
changeset
|
188 |
|
749 | 189 |
version_SVN |
2731
13f5be2bf83b
Merged d87e89dd5276 and fe83a843a7bf (branch default - CVS HEAD)
Jan Vrany <jan.vrany@fit.cvut.cz>
diff
changeset
|
190 |
^ 'Id' |
2152 | 191 |
! ! |
2353
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2152
diff
changeset
|
192 |