Portability: fixes for Smalltalk/X
* Do not use detect:ifFound: - not present in Smalltalk/X
* Removed leftover debugging code (Halt if:, ...)
* Do not use `aClass methods`, use `aClass methodDictionary values`
* Do not use #allPairsDo; - not present in Smalltalk/X
* Do not use #crShow: - not present in Smalltalk/X
* On Smalltalk?X use Filename - there's no FileReference in Smalltalk/X
* Do not use CharacterSet, use String
"{ Package: 'stx:goodies/petitparser/compiler/tests/extras' }"
"{ NameSpace: Smalltalk }"
TestResource subclass:#PPCompiledJavaResource
instanceVariableNames:''
classVariableNames:''
poolDictionaries:''
category:'PetitCompiler-Extras-Tests-Java'
!
!PPCompiledJavaResource methodsFor:'as yet unclassified'!
setUp
| time configuration |
configuration := PPCConfiguration universal.
configuration arguments name:#PPCompiledJavaSyntax.
time := Time millisecondsToRun: [
PPJavaSyntax new compileWithConfiguration: configuration.
].
Transcript show: 'Java Syntax compiled in: '; show: time asString; show: 'ms'; cr.
"Modified: / 10-05-2015 / 07:45:47 / Jan Vrany <jan.vrany@fit.cvut.cz>"
! !