compiler/tests/PPCompiledSmalltalkGrammarResource.st
author Jan Vrany <jan.vrany@fit.cvut.cz>
Sat, 02 May 2015 06:29:04 +0200
changeset 443 2c87ed364404
parent 438 20598d7ce9fa
permissions -rw-r--r--
Portability: do not use Transcript>>crShow: ...use Transcript show: '...'; cr. which is more portable.

"{ Package: 'stx:goodies/petitparser/compiler/tests' }"

"{ NameSpace: Smalltalk }"

TestResource subclass:#PPCompiledSmalltalkGrammarResource
	instanceVariableNames:''
	classVariableNames:''
	poolDictionaries:''
	category:'PetitCompiler-Tests-Smalltalk'
!

!PPCompiledSmalltalkGrammarResource methodsFor:'as yet unclassified'!

setUp
	| time |
	time := Time millisecondsToRun: [
		PPSmalltalkGrammar new compileAs: #PPCompiledSmalltalkGrammar
	].
	Transcript show: 'Smalltalk Grammar compiled in: ', time asString, 'ms'; cr.
	
! !