compiler/tests/extras/PPCompiledJavaResource.st
changeset 454 a9cd5ea7cc36
parent 452 9f4558b3be66
child 502 1e45d3c96ec5
equal deleted inserted replaced
453:bd5107faf4d6 454:a9cd5ea7cc36
     5 TestResource subclass:#PPCompiledJavaResource
     5 TestResource subclass:#PPCompiledJavaResource
     6 	instanceVariableNames:''
     6 	instanceVariableNames:''
     7 	classVariableNames:''
     7 	classVariableNames:''
     8 	poolDictionaries:''
     8 	poolDictionaries:''
     9 	category:'PetitCompiler-Extras-Tests-Java'
     9 	category:'PetitCompiler-Extras-Tests-Java'
    10 !
       
    11 
       
    12 PPCompiledJavaResource comment:''
       
    13 !
    10 !
    14 
    11 
    15 !PPCompiledJavaResource methodsFor:'as yet unclassified'!
    12 !PPCompiledJavaResource methodsFor:'as yet unclassified'!
    16 
    13 
    17 setUp
    14 setUp
    21     configuration arguments name:#PPCompiledJavaSyntax.
    18     configuration arguments name:#PPCompiledJavaSyntax.
    22     
    19     
    23     time := Time millisecondsToRun: [
    20     time := Time millisecondsToRun: [
    24         PPJavaSyntax new compileWithConfiguration: configuration.
    21         PPJavaSyntax new compileWithConfiguration: configuration.
    25     ].
    22     ].
    26     Transcript crShow: 'Java Syntax compiled in: ', time asString, 'ms'.
    23     Transcript show: 'Java Syntax compiled in: '; show: time asString; show: 'ms'; cr.
       
    24 
       
    25     "Modified: / 10-05-2015 / 07:45:47 / Jan Vrany <jan.vrany@fit.cvut.cz>"
    27 ! !
    26 ! !
    28 
    27