compiler/tests/extras/PPCompiledJavaResource.st
author Jan Vrany <jan.vrany@fit.cvut.cz>
Mon, 24 Aug 2015 23:42:53 +0100
changeset 529 439c4057517f
parent 502 1e45d3c96ec5
child 537 fb212e14d1f4
permissions -rw-r--r--
PPCConfiguration refactoring [1/10]: renamed PPCArguments to PPCCompilationOptions Renamed PPCConfiguration>>#arguments/#arguments: to #options/#options:

"{ 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 options parserName:#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>"
! !