src/LookupIntegrationTestsResource.st
author vranyj1
Sun, 01 Jan 2012 17:03:10 +0000
branchjk_new_structure
changeset 1332 a2e2c13b0ff6
parent 1281 b46adbe75503
permissions -rw-r--r--
Some testing methods
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
949
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
     1
"
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
     2
 COPYRIGHT (c) 1996-2011 by Claus Gittinger
1152
040cba55a7d2 Copyright fixes
vranyj1
parents: 974
diff changeset
     3
1155
vranyj1
parents: 1152
diff changeset
     4
 New code and modifications done at SWING Research Group [1]:
1152
040cba55a7d2 Copyright fixes
vranyj1
parents: 974
diff changeset
     5
949
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
     6
 COPYRIGHT (c) 2010-2011 by Jan Vrany, Jan Kurs and Marcel Hlopko
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
     7
                            SWING Research Group, Czech Technical University in Prague
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
     8
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
     9
 This software is furnished under a license and may be used
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
    10
 only in accordance with the terms of that license and with the
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
    11
 inclusion of the above copyright notice.   This software may not
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
    12
 be provided or otherwise made available to, or used by, any
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
    13
 other person.  No title to or ownership of the software is
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
    14
 hereby transferred.
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
    15
1155
vranyj1
parents: 1152
diff changeset
    16
 [1] Code written at SWING Research Group contains a signature
vranyj1
parents: 1152
diff changeset
    17
     of one of the above copright owners. For exact set of such code,
vranyj1
parents: 1152
diff changeset
    18
     see the differences between this version and version stx:libjava
1152
040cba55a7d2 Copyright fixes
vranyj1
parents: 974
diff changeset
    19
     as of 1.9.2010
949
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
    20
"
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
    21
"{ Package: 'stx:libjava' }"
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
    22
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
    23
TestResource subclass:#LookupIntegrationTestsResource
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
    24
	instanceVariableNames:''
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
    25
	classVariableNames:''
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
    26
	poolDictionaries:''
1281
b46adbe75503 Some cleanup
vranyj1
parents: 1155
diff changeset
    27
	category:'Languages-Java-Experiments-Tests'
949
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
    28
!
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
    29
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
    30
LookupIntegrationTestsResource class instanceVariableNames:'projectDir projectBuilded'
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
    31
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
    32
"
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
    33
 The following class instance variables are inherited by this class:
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
    34
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
    35
	TestResource - current
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
    36
	TestAsserter - 
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
    37
	Object - 
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
    38
"
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
    39
!
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
    40
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
    41
!LookupIntegrationTestsResource class methodsFor:'documentation'!
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
    42
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
    43
copyright
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
    44
"
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
    45
 COPYRIGHT (c) 1996-2011 by Claus Gittinger
1152
040cba55a7d2 Copyright fixes
vranyj1
parents: 974
diff changeset
    46
1155
vranyj1
parents: 1152
diff changeset
    47
 New code and modifications done at SWING Research Group [1]:
1152
040cba55a7d2 Copyright fixes
vranyj1
parents: 974
diff changeset
    48
949
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
    49
 COPYRIGHT (c) 2010-2011 by Jan Vrany, Jan Kurs and Marcel Hlopko
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
    50
                            SWING Research Group, Czech Technical University in Prague
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
    51
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
    52
 This software is furnished under a license and may be used
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
    53
 only in accordance with the terms of that license and with the
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
    54
 inclusion of the above copyright notice.   This software may not
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
    55
 be provided or otherwise made available to, or used by, any
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
    56
 other person.  No title to or ownership of the software is
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
    57
 hereby transferred.
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
    58
1155
vranyj1
parents: 1152
diff changeset
    59
 [1] Code written at SWING Research Group contains a signature
vranyj1
parents: 1152
diff changeset
    60
     of one of the above copright owners. For exact set of such code,
vranyj1
parents: 1152
diff changeset
    61
     see the differences between this version and version stx:libjava
1152
040cba55a7d2 Copyright fixes
vranyj1
parents: 974
diff changeset
    62
     as of 1.9.2010
949
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
    63
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
    64
"
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
    65
! !
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
    66
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
    67
!LookupIntegrationTestsResource class methodsFor:'initialization'!
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
    68
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
    69
initialize
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
    70
    "Invoked at system start or when the class is dynamically loaded."
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
    71
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
    72
    "/ please change as required (and remove this comment)
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
    73
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
    74
    projectDir := 
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
    75
        (Smalltalk packageDirectoryForPackageId: 'stx:libjava') asFilename
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
    76
            / 'java' / 'libjava-projects/MethodLookupTests' .
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
    77
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
    78
    projectBuilded := false.
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
    79
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
    80
    "Modified: / 16-03-2011 / 14:33:56 / Jan Vrany <jan.vrany@fit.cvut.cz>"
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
    81
    "Modified: / 11-04-2011 / 19:30:29 / kursjan <kursjan@fit.cvut.cz>"
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
    82
! !
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
    83
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
    84
!LookupIntegrationTestsResource class methodsFor:'accessing'!
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
    85
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
    86
projectBuilded:aBoolean
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
    87
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
    88
    "
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
    89
        JavaTestsResource projectBuilded: true.
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
    90
        JavaTestsResource projectBuilded: false.
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
    91
    "
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
    92
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
    93
    projectBuilded := aBoolean.
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
    94
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
    95
    "Modified: / 16-03-2011 / 15:20:46 / Jan Vrany <jan.vrany@fit.cvut.cz>"
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
    96
!
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
    97
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
    98
projectDir
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
    99
    ^ projectDir
1332
a2e2c13b0ff6 Some testing methods
vranyj1
parents: 1281
diff changeset
   100
!
a2e2c13b0ff6 Some testing methods
vranyj1
parents: 1281
diff changeset
   101
a2e2c13b0ff6 Some testing methods
vranyj1
parents: 1281
diff changeset
   102
resources
a2e2c13b0ff6 Some testing methods
vranyj1
parents: 1281
diff changeset
   103
a2e2c13b0ff6 Some testing methods
vranyj1
parents: 1281
diff changeset
   104
    ^ { JavaInitializedResource }
a2e2c13b0ff6 Some testing methods
vranyj1
parents: 1281
diff changeset
   105
a2e2c13b0ff6 Some testing methods
vranyj1
parents: 1281
diff changeset
   106
    "Created: / 01-01-2012 / 17:24:20 / Jan Vrany <jan.vrany@fit.cvut.cz>"
949
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
   107
! !
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
   108
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
   109
!LookupIntegrationTestsResource class methodsFor:'running'!
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
   110
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
   111
buildProject
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
   112
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
   113
    "
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
   114
        JavaTestsResource projectBuilded: true.
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
   115
        JavaTestsResource projectBuilded: false.
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
   116
    "
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
   117
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
   118
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
   119
    projectBuilded == true ifFalse:[ 
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
   120
        "Check for ant"
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
   121
        self assert: (OperatingSystem canExecuteCommand:'ant')
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
   122
             description: 'Cannot execute ant'.
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
   123
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
   124
        self assert: (self projectDir / 'build.xml') exists
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
   125
             description: 'No build.xml in ' , self projectDir asString.
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
   126
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
   127
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
   128
        "Launch ant"
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
   129
        Transcript show:'Running ant in '; showCR: self projectDir asString.
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
   130
        OperatingSystem
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
   131
                executeCommand:'ant -f build.xml' 
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
   132
                inputFrom:nil 
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
   133
                outputTo:Stdout 
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
   134
                errorTo:Stderr 
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
   135
                inDirectory: self projectDir
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
   136
                onError:
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
   137
                    [:status | 
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
   138
                    Transcript showCR:'ANT FAILED!!!!!!'.
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
   139
                    self error:'ant failed'.
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
   140
                    ^self].
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
   141
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
   142
        Transcript show:'Ant finished'].
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
   143
    ^ projectBuilded
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
   144
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
   145
    "Modified: / 16-03-2011 / 15:20:22 / Jan Vrany <jan.vrany@fit.cvut.cz>"
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
   146
! !
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
   147
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
   148
!LookupIntegrationTestsResource methodsFor:'running'!
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
   149
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
   150
setUp
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
   151
    self class buildProject.
974
1f459432f6f8 New tests for lookup according to the parameter count
kursjan
parents: 949
diff changeset
   152
1f459432f6f8 New tests for lookup according to the parameter count
kursjan
parents: 949
diff changeset
   153
"/    Java flushAllJavaResources.
1f459432f6f8 New tests for lookup according to the parameter count
kursjan
parents: 949
diff changeset
   154
"/    Java initialize.                                             "Initialize classPath and other stuff"
1f459432f6f8 New tests for lookup according to the parameter count
kursjan
parents: 949
diff changeset
   155
"/    JavaVM initializeVM. 
1f459432f6f8 New tests for lookup according to the parameter count
kursjan
parents: 949
diff changeset
   156
949
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
   157
    Java addToClassPath: (self class projectDir / 'bin') asString.
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
   158
    JavaLookup cleanup.
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
   159
"/    JavaObject lookupObject: JavaLookup instance.
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
   160
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
   161
    "Created: / 06-03-2011 / 14:50:58 / Jan Vrany <jan.vrany@fit.cvut.cz>"
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
   162
    "Modified: / 16-03-2011 / 14:38:55 / Jan Vrany <jan.vrany@fit.cvut.cz>"
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
   163
    "Modified: / 11-04-2011 / 20:15:15 / kursjan <kursjan@fit.cvut.cz>"
974
1f459432f6f8 New tests for lookup according to the parameter count
kursjan
parents: 949
diff changeset
   164
    "Modified: / 05-09-2011 / 20:15:27 / Jan Kurs <kursjan@fit.cvut.cz>"
949
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
   165
!
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
   166
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
   167
tearDown
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
   168
"/    JavaObject lookupObject: nil
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
   169
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
   170
    "Modified: / 16-03-2011 / 14:38:55 / Jan Vrany <jan.vrany@fit.cvut.cz>"
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
   171
    "Created: / 11-04-2011 / 20:15:28 / kursjan <kursjan@fit.cvut.cz>"
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
   172
! !
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
   173
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
   174
!LookupIntegrationTestsResource class methodsFor:'documentation'!
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
   175
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
   176
version_SVN
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
   177
    ^ '$Id$'
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
   178
! !
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
   179
8452984ed807 New Implementation of JavaLookup. Slow, no boxing, unboxing is old and needs to be rewritten.
kursjan
parents:
diff changeset
   180
LookupIntegrationTestsResource initialize!